aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2017-03-25Ms. writer: links: use footnote only for absolute URIs.John MacFarlane1-1/+3
2017-03-25Ms writer: Got figures with ps and eps images working.John MacFarlane1-5/+23
2017-03-24Ms writer: Use indented paragraphs after first in section.John MacFarlane1-11/+37
Note that the current indentation setting is 0; see the settings in the template.
2017-03-24Ensure compatibility with hslua 0.5.*Albert Krewinkel1-1/+2
The 0.5.0 release of hslua fixes problems with lua C modules on linux. The signature of the `loadstring` function changed, so a compatibility wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
2017-03-24Ms writer: support --toc, date, abstract.John MacFarlane1-21/+11
2017-03-24Markdown writer: don't emit a simple table if `simple_tables` disabled.John MacFarlane1-9/+9
Closes #3529.
2017-03-24Ms writer: changed some names and comments, man -> ms.John MacFarlane1-10/+10
2017-03-24Ms writer: fixed rawblock/inline to accept "ms" format.John MacFarlane1-4/+4
2017-03-24Recognize .roff extension as ms format.John MacFarlane1-0/+9
2017-03-24Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane1-1/+2
2017-03-24Ms writer: warning for non-rendered raw content.John MacFarlane1-6/+10
2017-03-23Allow creation of pdf via groff ms and pdfroff.John MacFarlane1-20/+3
pandoc -t ms -o output.pdf input.txt
2017-03-23Ms writer: improved definition lists.John MacFarlane1-1/+3
Use standard .IP macro. Also properly escape ".
2017-03-23Ms writer: use .IP for more standard definition lists.John MacFarlane1-2/+1
2017-03-23Pipe tables: impose minimum cell size.John MacFarlane1-5/+7
This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
2017-03-23Grid tables: remove unnecessary extra space in cells.John MacFarlane1-1/+1
2017-03-23Ms writer: fixed hard line breaks.John MacFarlane1-2/+1
2017-03-23Writers.Shared.gridTable: defensive coding around 'maximum'.John MacFarlane1-1/+2
2017-03-23MS writer: updated TODO comment.John MacFarlane1-1/+0
2017-03-23Ms writer: Super/subscript support.John MacFarlane1-2/+2
Also added some macro definitions to default template to support subscripts + better superscripts.
2017-03-23Ms writer: support for fake smallcaps.John MacFarlane1-28/+52
2017-03-23Ms. writer: don't render links in footnotes as footnotes.John MacFarlane1-5/+15
2017-03-23Ms writer: Improved footnotes.John MacFarlane1-2/+7
2017-03-23Ms writer: fixed strong/emph combination.John MacFarlane1-13/+54
Perhaps something similar is needed in the man writer.
2017-03-23Initial addition of groff ms writer.John MacFarlane1-0/+426
* New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
2017-03-21Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane1-24/+31
...unless unicode super/subscripted characters are available.
2017-03-21Improve rendering of superscript in plain output.John MacFarlane1-13/+29
We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
2017-03-21RST writer: improve grid table output, fix bug with empty rows.John MacFarlane2-49/+40
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
2017-03-21Reuse Writers.Shared.gridTable in Haddock writer.John MacFarlane1-31/+3
2017-03-21Moved more gridTable calculations to Writers.Shared.John MacFarlane2-29/+33
2017-03-21Moved gridTable from Markdown writer to Writers.Shared.John MacFarlane3-43/+43
2017-03-20docx writer: lang meta, see #1667 (#3515)Mauro Bieg1-1/+24
2017-03-16LaTeX/Beamer writer: allow hyperlinks to frames.John MacFarlane1-4/+13
Previously you could link to a header above or below slide level but not TO slide level. This commit changes that. Hypertargets are inserted inside frame titles; technically the reference is to just after the title, but in normal use (where slides are viewed full screen in a slide show), this does not matter. Closes #3220.
2017-03-15OpenDocument writer: use more widely available bullet characters.John MacFarlane1-1/+1
The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.
2017-03-13Removed unused symbol.John MacFarlane1-1/+0
2017-03-13RST writer: convert to PandocMonad, report on unrendered raw items.John MacFarlane1-31/+39
2017-03-13Highlighting: highlighting now returns an Either rather than Maybe.John MacFarlane3-15/+29
This allows us to display error information returned by the skylighting library. Display a warning if the highlighting library throws an error.
2017-03-13Put TEI writer inside PandocMonad. Added warnings for omitted raw elements.John MacFarlane1-118/+135
Also added identifiers on `<div>` elements. These were commented out before, not sure why?
2017-03-12Converted DokuWiki writer to use PandocMonad.John MacFarlane1-25/+34
2017-03-12MediaWiki writer: use PandocMonad.John MacFarlane1-23/+29
2017-03-11Markdown writer: fixed bugs in simple/multiline list output.John MacFarlane1-10/+9
* Previously we got overlong lists with `--wrap=none`. This is fixed. * Previously a multiline list could become a simple list (and would always become one with `--wrap=none`). Closes #3384.
2017-03-10ConTeXt writer: converted to use PandocMonad.John MacFarlane1-19/+28
2017-03-10Removed normalizeSpaces from Text.Pandoc.Shared.John MacFarlane1-3/+3
Rewrote functions in RST reader and writer to avoid the need for it. Closes #1530.
2017-03-10Add Muse writer (#3489)Alexander Krotov1-0/+336
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
2017-03-09HTML writer: info message if 'lang' is unspecified.John MacFarlane1-1/+4
Closes #3486.
2017-03-09HTML writer: fallback to basename rather than Untitled.John MacFarlane1-4/+5
2017-03-08Remove space at beginning/end of RST code span.John MacFarlane1-1/+4
Otherwise we get invalid RST. There seems to be no way to escape the space. Closes #3496.
2017-03-08Markdown writer: Avoid spurious blanklines at end of document...John MacFarlane1-1/+1
after tables and list, for example.
2017-03-08Markdown writer: ensure space before list at top level.John MacFarlane1-22/+31
Closes #3487.
2017-03-08Markdown writer: escape unordered list markers at beginning of paragraphJohn MacFarlane1-12/+20
to avoid false interpretation as a list. Also handle `|`, and refactor code for escaping `%`. Closes #3497.