Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-02 | Docx writer: allow empty paragraphs. | John MacFarlane | 2 | -4/+8 | |
See #2252. This also changes fixDisplayMath from Text.Pandoc.Writers.Shared so that it no longer produces empty Para as an artifact. (That was the original reason the writer omitted them.) | |||||
2017-12-02 | LaTeX writer: escape `_` in code with --listings. | John MacFarlane | 1 | -1/+1 | |
2017-12-01 | LaTeX writer: allow specifying just width or height for image size. | John MacFarlane | 1 | -1/+6 | |
Previously both needed to be specified (unless the image was being resized to be smaller than its original size). If height but not width is specified, we now set width to textwidth (and similarly if width but not height is specified). Since we have keepaspectratio, this yields the desired result. | |||||
2017-12-01 | LaTeX writer: escape ~ in code with --listings. | John MacFarlane | 1 | -1/+1 | |
Closes #4111. | |||||
2017-12-01 | Revert "LaTeX writer: Add keepaspectratio to includegraphics..." | John MacFarlane | 1 | -6/+1 | |
This reverts commit 171187a4527497701b3c77bd56cea2d770d4e3b0. | |||||
2017-11-30 | LaTeX writer: Add keepaspectratio to includegraphics... | John MacFarlane | 1 | -1/+6 | |
...if only one of height/width is given. | |||||
2017-11-29 | Let papersizes a0, a1, a2, ... be case-insensitive in LaTeX and ConTeXt. | John MacFarlane | 2 | -5/+8 | |
2017-11-28 | Support `--webtex` for `gfm` output. | John MacFarlane | 2 | -9/+18 | |
2017-11-24 | Muse writer: improve inline normalization | Alexander Krotov | 1 | -0/+14 | |
2017-11-24 | Muse: move inline list normalization to writer | Alexander Krotov | 1 | -1/+9 | |
2017-11-22 | Muse writer: escape hash symbol | Alexander Krotov | 1 | -1/+1 | |
2017-11-22 | Muse writer: escape "----" to avoid accidental horizontal rules | Alexander Krotov | 1 | -4/+6 | |
2017-11-22 | Muse writer: escape only </code> inside code tag | Alexander Krotov | 1 | -1/+1 | |
Additional <verbatim> is not needed as <code> is verbatim already. | |||||
2017-11-14 | EPUB writer: Fixed path for cover image. | John MacFarlane | 1 | -1/+1 | |
It was previously `media/media/imagename`, and should have been `media/imagename`. | |||||
2017-11-14 | EPUB writer: fix paths for cover image. | John MacFarlane | 1 | -2/+2 | |
Closes #4069. | |||||
2017-11-13 | Markdown writer: fix bug with doubled footnotes in grid tables. | John MacFarlane | 1 | -12/+22 | |
Closes #4061. | |||||
2017-11-08 | EPUB writer: fixed modified paths for raw HTML tags | John MacFarlane | 1 | -2/+2 | |
(src, poster, etc.) This had not been updated for the new EPUB container layout, with a separate text/ subdirectory. Closes #4050. Closes #4055. | |||||
2017-11-07 | EPUB writer: fixed EPUB OCF structure. | John MacFarlane | 1 | -65/+82 | |
The structure of the EPUBs was messed up, and #3720 was improperly implemented. This commit fixes things. | |||||
2017-11-07 | EPUB writer: fix image paths with empty `--epub-subdirectory`. | John MacFarlane | 1 | -3/+9 | |
2017-11-04 | Revert "Better indentation under headers in org mode output." | John MacFarlane | 1 | -26/+14 | |
This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7. | |||||
2017-11-04 | Better indentation under headers in org mode output. | John MacFarlane | 1 | -14/+26 | |
See #4036. Close examination by org experts needed, to ensure that nothing breaks. | |||||
2017-11-04 | Fix strikethrough in gfm writer. | John MacFarlane | 1 | -1/+1 | |
Previously we got a crash, because we were trying to print a native cmark STRIKETHROUGH node, and the commonmark writer in cmark-github doesn't support this. Work around this by using a raw node to add the strikethrough delimiters. Closes #4038. | |||||
2017-11-02 | Improved support for columns in HTML. | John MacFarlane | 1 | -5/+2 | |
* Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028. | |||||
2017-11-02 | Use latest skylighting; ensure no duplicate ids on code lines. | John MacFarlane | 1 | -3/+11 | |
The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031. | |||||
2017-11-02 | Fixed revealjs slide column width issues. | John MacFarlane | 1 | -2/+7 | |
* Remove "width" attribute which is not allowed on div. * Remove space between `<div class="column">` elements, since this prevents columns whose widths sum to 100% (the space takes up space). Closes #4028. | |||||
2017-11-02 | hlint | Alexander Krotov | 1 | -1/+1 | |
2017-11-01 | hlint | Alexander Krotov | 9 | -14/+14 | |
2017-11-01 | FB2 writer: Add "unrecognised" genre to <title-info> | Alexander Krotov | 1 | -1/+2 | |
XML schema requires at least one genre. | |||||
2017-11-01 | FB2 writer: remove <annotation> from <body> | Alexander Krotov | 1 | -11/+2 | |
<annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424 | |||||
2017-11-01 | Merge pull request #4009 from mb21/html-class-names | John MacFarlane | 1 | -3/+3 | |
HTML Writer: consistently use dashed class-names | |||||
2017-11-01 | Merge pull request #4008 from labdsf/fb2-bullets | John MacFarlane | 1 | -8/+4 | |
FB2 writer: make bullet lists consistent with ordered lists | |||||
2017-10-31 | Properly pass through author metadata in JATS writer. | John MacFarlane | 1 | -41/+14 | |
Closes #4020. | |||||
2017-10-31 | LaTeX/Beamer writer: support "blocks" inside columns and other Divs. | John MacFarlane | 1 | -0/+4 | |
Example: ``` <div class="columns"> <div class="column" width="40%"> - Item </div> <div class="column" width="60%"> - Item </div> </div> ``` Closes #4016. | |||||
2017-10-31 | Markdown reader: make sure fenced div closers work in lists. | John MacFarlane | 1 | -1/+1 | |
Previously the following failed: ::: {.class} 1. one 2. two ::: and you needed a blank line before the closing `:::`. | |||||
2017-10-31 | Make `fenced_divs` affect the Markdown writer. | John MacFarlane | 1 | -5/+13 | |
If `fenced_divs` is enabled, fenced divs will be used. | |||||
2017-10-31 | FB2 writer: write blocks outside of <p> in definitions | Alexander Krotov | 1 | -18/+2 | |
2017-10-31 | HTML Writer: consistently use dashed class-names | mb21 | 1 | -3/+3 | |
see #3556 | |||||
2017-10-31 | FB2 writer: make bullet lists consistent with ordered lists | Alexander Krotov | 1 | -8/+4 | |
Previously bullet lists interacted in odd way with ordered lists. For example, bullet lists nested in ordered list had incorrect indentation. Besides that, indentation with spaces is not rendered by FBReader and fbless. To avoid this problem, bullet lists are indented by appending bullets to marker just the same way it is done for ordered lists. | |||||
2017-10-30 | EPUB writer: fixed filepaths for nonstandard epub-subdirectory values. | John MacFarlane | 1 | -16/+23 | |
2017-10-30 | EPUB writer fixes: | John MacFarlane | 1 | -23/+32 | |
- Ensure that epub2 is recognized as a non-text format, so that a template is used. - Don't include "prefix" attribute for ibooks for epub2. It doesn't validate. - Fix stylesheet paths; previously we had an incorrect stylesheet path for the cover page and nav page. | |||||
2017-10-29 | Removed useless notes state in DokuWiki writer. | John MacFarlane | 1 | -5/+2 | |
2017-10-29 | Source code reformatting. | John MacFarlane | 10 | -20/+20 | |
2017-10-29 | hlint suggestions. | John MacFarlane | 26 | -542/+527 | |
2017-10-29 | More hlint. | John MacFarlane | 3 | -33/+30 | |
2017-10-29 | Write FB2 lists without nesting blocks inside <p> (#4004) | Alexander | 1 | -16/+32 | |
According to FB2 XML schema <empty-line /> cannot be placed inside <p>. Linux FBReader can't display such paragraphs, e.g. any "loose" lists produced by pandoc prior to this commit. Besides that, FB2 writer placed <p> inside <p> when writing nested lists, this commit fixes the bug. Also this commit removes leading non-breaking space from ordered lists for consistency with bullet lists. Definition lists are not affected at all. | |||||
2017-10-27 | Automatic reformating by stylish-haskell. | John MacFarlane | 25 | -116/+115 | |
2017-10-26 | update years in copyright | Kolen Cheung | 1 | -2/+2 | |
2017-10-16 | HTML writer: don't add data- prefix to unknown attributes beginning with data-. | John MacFarlane | 1 | -0/+1 | |
Or we'll get data-data-blah. | |||||
2017-10-16 | RST writer: correctly handle inline code containing backticks. | John MacFarlane | 1 | -2/+7 | |
(Use a :literal: role.) Closes #3974. | |||||
2017-10-16 | RST writer: don't backslash-escape word-internal punctuation. | John MacFarlane | 1 | -15/+18 | |
Closes #3978. |