Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-01 | ODT writer: calculate aspect ratio for percentage-sized images (#3478) | Mauro Bieg | 2 | -4/+2 | |
closes #3239 | |||||
2017-02-27 | Removed `--epub-stylesheet`; use `--css` instead. | John MacFarlane | 1 | -24/+28 | |
* Removed writerEpubStylesheet in WriterOptions. * Removed `--epub-stylesheet` option. * Allow `--css` to be used with epub. * Allow multiple stylesheets to be used. * Stylesheets will be taken both from `--css` and from the `stylesheet` metadata field (which can contain either a file path or a list of them). Closes #3472, #847. | |||||
2017-02-25 | Fixed type sig for older GHC versions. | John MacFarlane | 1 | -1/+1 | |
2017-02-25 | Markdown writer: don't include variables in metadata blocks! | John MacFarlane | 1 | -4/+3 | |
Previously variables set on the command line were included in e.g. YAML metadata, contrary to documentation and intentions. | |||||
2017-02-25 | Fixed addVariablesToJSON. | John MacFarlane | 1 | -2/+5 | |
It was previously not allowing multiple values to become lists. | |||||
2017-02-25 | Writers.Shared: export metaToJSON', addVariablesToJSON. | John MacFarlane | 1 | -10/+28 | |
This allows us to add the variables AFTER using the metadata to generate a YAML header (in the Markdown writer). Addresses the problem shown by https://travis-ci.org/jgm/pandoc/jobs/205154181#L705 See #3439 | |||||
2017-02-25 | Writers.Shared: Changed metaToJSON a bit. | John MacFarlane | 1 | -4/+17 | |
Now we handle metadata first, then variables. This way, meta-json variable will not contain representations of variables, only proper metadata. | |||||
2017-02-25 | AsciiDoc writer: use PandocMonad throughout. | John MacFarlane | 1 | -24/+36 | |
Issues info messages for non-rendered raw content. | |||||
2017-02-25 | Docx writer: use Set for dynamic styles to avoid duplicates. | John MacFarlane | 1 | -8/+10 | |
2017-02-25 | Docx writer: bookmarks for Span with id. | John MacFarlane | 1 | -45/+58 | |
And cleaned up code. | |||||
2017-02-25 | Docx writer bookmark improvements. | John MacFarlane | 1 | -21/+29 | |
- Bookmark start/end now surrounds content rather than preceding it. - Bookmarks generated for Div with id. Fixes jgm/pandoc-citeproc#205. - Cleaner code for handling dir and style attributes for Div. | |||||
2017-02-24 | Use catchError instead of runExceptT. | John MacFarlane | 3 | -57/+68 | |
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 1 | -68/+78 | |
Closes #736. | |||||
2017-02-23 | Removed `\strut` at beginning of table cells. | John MacFarlane | 1 | -1/+1 | |
This fixes a problem with alignment of lists in table cells (closes #3436). The `\strut` at the end seems to be enough to avoid the too-close spacing that motivated addition of the strut in #1573. | |||||
2017-02-23 | Special-case .stretch class for images in reveal.js. | John MacFarlane | 1 | -6/+21 | |
Now in reveal.js, an image with class `stretch` in a paragraph by itself will stretch to fill the whole screen, with no caption or figure environment. Closes #1291. | |||||
2017-02-22 | imageSize interface change | mb21 | 4 | -4/+4 | |
`imageSize img` is now `imageSize opts img` | |||||
2017-02-22 | make imageSize recognize basic SVG dimensions, see #3462 | mb21 | 1 | -0/+1 | |
2017-02-21 | MediaWiki writer: Remove newline before `</ref>`. | John MacFarlane | 1 | -2/+2 | |
Closes #2652. | |||||
2017-02-21 | MediaWiki writer: add display attribute on `<math>` tags. | John MacFarlane | 1 | -2/+5 | |
This allows display math to be rendered properly. Closes #3452. | |||||
2017-02-21 | MediaWiki writer: Updated list of syntax highlighting languages. | John MacFarlane | 1 | -17/+641 | |
Now 'r' gets you `<source>` rather than `<code>` (among others). Closes #3461. | |||||
2017-02-20 | Use lazy loading for reveal.js slide shows. | John MacFarlane | 1 | -7/+18 | |
* In HTML writer, with reveal.js we use data-src instead of src for images. * In SelfContained, we also load resources from data-src. Closes #2283. | |||||
2017-02-17 | Added warnings for non-rendered blocks to some writers. | John MacFarlane | 10 | -76/+133 | |
2017-02-17 | FB2 writer: don't render RawBlock as code. | John MacFarlane | 1 | -4/+7 | |
2017-02-15 | ZimWiki writer: removed internal formatting from note and table cells, ↵ | Alex Ivkin | 1 | -24/+54 | |
because ZimWiki does not support it (#3446) | |||||
2017-02-12 | Do not strip # from Org anchor links | Alexander Krotov | 1 | -1/+1 | |
Links with # are perfectly valid according to http://orgmode.org/manual/Internal-links.html#Internal-links | |||||
2017-02-11 | RST reader/writer: properly handle table captions. | John MacFarlane | 1 | -4/+5 | |
Currently the support for the `.. table` directive is a bit limited; we don't yet support the `widths` field. But at least you can have a proper captioned table. | |||||
2017-02-11 | HTML writer: report when not rendering raw inline/block. | John MacFarlane | 1 | -3/+8 | |
2017-02-11 | Use new warnings throughout the code base. | John MacFarlane | 7 | -31/+29 | |
2017-02-05 | Handle language in inline code with --listings. | John MacFarlane | 1 | -4/+9 | |
Closes #3422. | |||||
2017-02-05 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-02-04 | Changed writerEpubMetadata to a Maybe String. | John MacFarlane | 1 | -1/+1 | |
API change. | |||||
2017-02-04 | Improved escaping in RST writer with smart option. | John MacFarlane | 1 | -6/+20 | |
2017-02-04 | Org writer: reduce to two spaces after bullets | Albert Krewinkel | 1 | -2/+2 | |
The org writer was inserting two spaces after list bullets. Emacs Org-mode defaults to a single space, so behavior is changed to reflect this. Closes: #3417 | |||||
2017-02-04 | Markdown writer: Better escaping when +smart. | John MacFarlane | 1 | -17/+21 | |
2017-02-04 | Implemented +/-smart in rst writer. | John MacFarlane | 3 | -15/+29 | |
Moved unsmartify to Writers.Shared. | |||||
2017-02-03 | HTML and DocBook writers: fix internal links with writerIdentifierPrefix opt ↵ | Mauro Bieg | 2 | -4/+6 | |
(#3398) closes #3397 | |||||
2017-02-02 | Org.hs: remove misleading comment | Alexander Krotov | 1 | -1/+0 | |
This comment is likely copied from RST.hs where 'refs' variable indeed exists, but makes no sense here. | |||||
2017-02-01 | Reduce state in Org writer (#3404) | Alexander Krotov | 1 | -8/+3 | |
2017-01-30 | `--mathml` and MathML in HTMLMathMethod longer take an argument. | John MacFarlane | 4 | -13/+9 | |
The argument was for a bridge javascript that used to be necessary in 2004. We have removed the script already. | |||||
2017-01-28 | LaTeX writer: export writeBeamer. | John MacFarlane | 1 | -25/+50 | |
Removed writerBeamer from WriterOptions. | |||||
2017-01-27 | HTML: export separate functions for slide formats. | John MacFarlane | 1 | -53/+111 | |
writeS5, writeSlideous, writeRevealJs, writeDZSlides, writeSlidy. Removed writerSlideVariant from WriterOptions. | |||||
2017-01-27 | HTML writer: export writeHtmlStringForEPUB. | John MacFarlane | 2 | -26/+42 | |
Options: Remove writerEPUBVersion. | |||||
2017-01-26 | Split writeDocbook into writeDocbook4, writeDocbook5. | John MacFarlane | 1 | -22/+40 | |
Removed writerDocbookVersion in WriterOptions. Renamed default.docbook template to default.docbook4. Allow docbook4 as an output format. But alias docbook = docbook4. | |||||
2017-01-26 | EPUB writer: split writeEPUB into writeEPUB2, writeEPUB3. | John MacFarlane | 1 | -7/+24 | |
Also include explicit epub2 output format in CLI tool. | |||||
2017-01-25 | Provide explicit separate functions for HTML 4 and 5. | John MacFarlane | 5 | -56/+88 | |
* Text.Pandoc.Writers.HTML: removed writeHtml, writeHtmlString, added writeHtml4, writeHtml4String, writeHtml5, writeHtml5String. * Removed writerHtml5 from WriterOptions. * Renamed default.html template to default.html4. * "html" now aliases to "html5"; to get the old HTML4 behavior, you must now specify "-t html4". | |||||
2017-01-25 | Cleanups for rebase. | John MacFarlane | 1 | -2/+2 | |
2017-01-25 | Removed writerHighlight; made writerHighlightStyle a Maybe. | John MacFarlane | 3 | -35/+32 | |
API change. For no highlighting, set writerHighlightStyle to Nothing. | |||||
2017-01-25 | Revert "Added page breaks into Pandoc." | John MacFarlane | 23 | -53/+3 | |
This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14. | |||||
2017-01-25 | Fixed shadowing warnings. | John MacFarlane | 1 | -3/+3 | |
2017-01-25 | Removed writerIgnoreNotes. | John MacFarlane | 3 | -15/+9 | |
Instead, just temporarily remove notes when generating TOC lists in HTML and Markdown (as we already did in LaTeX). Also export deNote from Text.Pandoc.Shared. API change in Shared and Options.WriterOptions. |