summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
Commit message (Collapse)AuthorAge
* Ms writer: improved definition lists.John MacFarlane2017-03-23
| | | | | Use standard .IP macro. Also properly escape ".
* Ms writer: use .IP for more standard definition lists.John MacFarlane2017-03-23
|
* Pipe tables: impose minimum cell size.John MacFarlane2017-03-23
| | | | | This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
* Grid tables: remove unnecessary extra space in cells.John MacFarlane2017-03-23
|
* Ms writer: fixed hard line breaks.John MacFarlane2017-03-23
|
* Writers.Shared.gridTable: defensive coding around 'maximum'.John MacFarlane2017-03-23
|
* MS writer: updated TODO comment.John MacFarlane2017-03-23
|
* Ms writer: Super/subscript support.John MacFarlane2017-03-23
| | | | | Also added some macro definitions to default template to support subscripts + better superscripts.
* Ms writer: support for fake smallcaps.John MacFarlane2017-03-23
|
* Ms. writer: don't render links in footnotes as footnotes.John MacFarlane2017-03-23
|
* Ms writer: Improved footnotes.John MacFarlane2017-03-23
|
* Ms writer: fixed strong/emph combination.John MacFarlane2017-03-23
| | | | Perhaps something similar is needed in the man writer.
* Initial addition of groff ms writer.John MacFarlane2017-03-23
| | | | | | | | | * 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.
* Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane2017-03-21
| | | | ...unless unicode super/subscripted characters are available.
* Improve rendering of superscript in plain output.John MacFarlane2017-03-21
| | | | | | | We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
* RST writer: improve grid table output, fix bug with empty rows.John MacFarlane2017-03-21
| | | | | | | Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
* Reuse Writers.Shared.gridTable in Haddock writer.John MacFarlane2017-03-21
|
* Moved more gridTable calculations to Writers.Shared.John MacFarlane2017-03-21
|
* Moved gridTable from Markdown writer to Writers.Shared.John MacFarlane2017-03-21
|
* docx writer: lang meta, see #1667 (#3515)Mauro Bieg2017-03-20
|
* LaTeX/Beamer writer: allow hyperlinks to frames.John MacFarlane2017-03-16
| | | | | | | | | | | 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.
* OpenDocument writer: use more widely available bullet characters.John MacFarlane2017-03-15
| | | | | | | The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.
* Removed unused symbol.John MacFarlane2017-03-13
|
* RST writer: convert to PandocMonad, report on unrendered raw items.John MacFarlane2017-03-13
|
* Highlighting: highlighting now returns an Either rather than Maybe.John MacFarlane2017-03-13
| | | | | | | This allows us to display error information returned by the skylighting library. Display a warning if the highlighting library throws an error.
* Put TEI writer inside PandocMonad. Added warnings for omitted raw elements.John MacFarlane2017-03-13
| | | | | Also added identifiers on `<div>` elements. These were commented out before, not sure why?
* Converted DokuWiki writer to use PandocMonad.John MacFarlane2017-03-12
|
* MediaWiki writer: use PandocMonad.John MacFarlane2017-03-12
|
* Markdown writer: fixed bugs in simple/multiline list output.John MacFarlane2017-03-11
| | | | | | | | * 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.
* ConTeXt writer: converted to use PandocMonad.John MacFarlane2017-03-10
|
* Removed normalizeSpaces from Text.Pandoc.Shared.John MacFarlane2017-03-10
| | | | | | | Rewrote functions in RST reader and writer to avoid the need for it. Closes #1530.
* Add Muse writer (#3489)Alexander Krotov2017-03-10
| | | | | | | | * Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
* HTML writer: info message if 'lang' is unspecified.John MacFarlane2017-03-09
| | | | Closes #3486.
* HTML writer: fallback to basename rather than Untitled.John MacFarlane2017-03-09
|
* Remove space at beginning/end of RST code span.John MacFarlane2017-03-08
| | | | | | | Otherwise we get invalid RST. There seems to be no way to escape the space. Closes #3496.
* Markdown writer: Avoid spurious blanklines at end of document...John MacFarlane2017-03-08
| | | | after tables and list, for example.
* Markdown writer: ensure space before list at top level.John MacFarlane2017-03-08
| | | | Closes #3487.
* Markdown writer: escape unordered list markers at beginning of paragraphJohn MacFarlane2017-03-08
| | | | | | | | to avoid false interpretation as a list. Also handle `|`, and refactor code for escaping `%`. Closes #3497.
* Markdown writer: better handling of tables with empty columns.John MacFarlane2017-03-06
| | | | | | | | | | E.g. an HTML table with two cells in the first row and one in the second (but no row/colspan). We now calculate the number of columns based on the longest row (or the length of aligns or widths). Closes #3337.
* Markdown writer: Fixed false ordered lists in YAML metadata.John MacFarlane2017-03-06
| | | | | | | | | | | | Now we properly escape things that would otherwise start ordered lists, such as --- title: 1. inline ... Closes #3492. Closes #1685.
* Markdown writer: escape initial % in a paragraph...John MacFarlane2017-03-05
| | | | | | | | ...if the `pandoc_title_blocks` extension is enabled. Otherwise in a document starting with a literal percent sign the first line is wrongly interpreted as a title. Closes #3454.
* Fixed some loose ends in #1592.John MacFarlane2017-03-04
| | | | | | | | | | Added test cases. Fixed HTML reader to parse a span with class "smallcaps" as SmallCaps. Fixed Markdown writer to render SmallCaps as a native span when native spans are enabled.
* HTML writer: only issue warning for missing title if --standalone.John MacFarlane2017-03-04
|
* HTML writer: Render SmallCaps as span with smallcaps class.John MacFarlane2017-03-04
| | | | | | | | | Rather than using a style attribute directly. This gives the user more flexibility in styling small caps in CSS. See #1592.
* Use smallcaps class for SmallCaps in CommonMark writer.John MacFarlane2017-03-04
| | | | See #1592.
* Markdown writer: Use span with class 'smallcaps' for SmallCaps.John MacFarlane2017-03-04
| | | | | | Instead of a style attribute as before. See #1592.
* Stylish-haskell automatic formatting changes.John MacFarlane2017-03-04
|
* HTML writer: issue warning if no title specified and template used.John MacFarlane2017-03-04
| | | | See #3473.
* OpenDocument writer: Clarified some code.John MacFarlane2017-03-03
|
* OpenDocument writer: fixed dropped elements in some ordered lists.John MacFarlane2017-03-03
| | | | Closes #2434.