Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-10 | Expose getDefaultDataFile in both Shared and Class. | John MacFarlane | 1 | -1/+1 | |
2017-08-10 | Slidy writer: use h1 for all slides... | John MacFarlane | 1 | -1/+5 | |
even if they were originally level 2 headers. Otherwise the built-in table of contents in Slidy breaks. Closes #3566. | |||||
2017-08-09 | RST writer: don't wrap term in definition list. | John MacFarlane | 1 | -1/+1 | |
Wrapping is not allowed. | |||||
2017-08-09 | EPUB writer: don't strip formatting in TOC. | John MacFarlane | 1 | -10/+23 | |
Closes #1611. | |||||
2017-08-08 | Muse writer: insert two blanklines between lists of the same type (#3844) | Alexander | 1 | -1/+23 | |
2017-08-08 | CommonMark writer: avoid excess blank lines at end of output. | John MacFarlane | 1 | -1/+1 | |
2017-08-08 | CommonMark writer: support `hard_line_breaks`, `smart`. | John MacFarlane | 1 | -8/+15 | |
Add tests. | |||||
2017-08-08 | Writers.Shared.unsmartify: undo literal double curly quotes. | John MacFarlane | 1 | -0/+3 | |
Previously we left these. | |||||
2017-08-08 | CommonMark writer: Support pipe tables. | John MacFarlane | 1 | -16/+75 | |
We bypass the commonmark writer from cmark and construct our own pipe tables, with better results. (Note also that cmark-gfm currently doesn't support rendering table nodes; see kivikakk/cmark-gfm-hs#3.) | |||||
2017-08-08 | CommonMark writer: support table, strikethrough extensions... | John MacFarlane | 1 | -59/+90 | |
when enabled (as with gfm). Note: because of limitations in cmark-gfm, which will hopefully soon be corrected, this currently gives an error on Tables. Also properly support `--wrap=none`. | |||||
2017-08-07 | Remove GFM modules; use CMarkGFM for both gfm and commonmark. | John MacFarlane | 2 | -190/+1 | |
We no longer have a separate readGFM and writeGFM; instead, we'll use readCommonMark and writeCommonMark with githubExtensions. It remains to implement these extensions conditionally. Closes #3841. | |||||
2017-08-07 | Man writer: removed some unneeded imports. | John MacFarlane | 1 | -2/+0 | |
2017-08-07 | Man writer: avoid error for def lists with no definitions. | John MacFarlane | 1 | -9/+12 | |
Closes #3832. | |||||
2017-08-07 | Added gfm (GitHub-flavored CommonMark) as an input and output format. | John MacFarlane | 1 | -0/+189 | |
This uses bindings to GitHub's fork of cmark, so it should parse gfm exactly as GitHub does (excepting certain postprocessing steps, involving notifications, emojis, etc.). * Added Text.Pandoc.Readers.GFM (exporting readGFM) * Added Text.Pandoc.Writers.GFM (exporting writeGFM) * Added `gfm` as input and output forma Note that tables are currently always rendered as HTML in the writer; this can be improved when CMarkGFM supports tables in output. | |||||
2017-08-06 | LaTeX writer: Don't use figure inside table cell. | John MacFarlane | 1 | -2/+4 | |
Closes #3836. | |||||
2017-08-02 | DokuWiki reader: better handling for code block in list item. | John MacFarlane | 1 | -2/+8 | |
Closes #3824. | |||||
2017-07-30 | Markdown writer: better escaping of `<` and `>`. | John MacFarlane | 1 | -2/+6 | |
If `all_symbols_escapable` is set, we backslash escape these. Otherwise we use entities as before. | |||||
2017-07-26 | Sorted the list of supported HTML5 attributes and removed duplicates. (#3817) | Wandmalfarbe | 1 | -80/+46 | |
2017-07-26 | HTML writer: render raw inline environments when --mathjax used. | John MacFarlane | 1 | -3/+8 | |
We previously did this only with raw blocks, on the assumption that math environments would always be raw blocks. This has changed since we now parse them as inline environments. Closes #3816. | |||||
2017-07-25 | HTML writer: insert data- in front of unsupported attributes. | John MacFarlane | 1 | -48/+309 | |
Thus, a span with attribute 'foo' gets written to HTML5 with 'data-foo', so it is valid HTML5. HTML4 is not affected. This will allow us to use custom attributes in pandoc without producing invalid HTML. | |||||
2017-07-13 | Use foldrWithKey instead of deprecated foldWithKey. | John MacFarlane | 1 | -1/+1 | |
2017-07-12 | Muse writer: indent lists inside <quote> with at least one space (#3795) | Alexander Krotov | 1 | -4/+11 | |
2017-06-30 | Allow ibooks-specific metadata in epubs. Closes #2693. | John MacFarlane | 1 | -5/+20 | |
You can now have the following fields in your YAML metadata, and it will be treated appropriately in the generated EPUB. ``` ibooks: version: 1.3.4 specified-fonts: false ipad-orientation-lock: portrait-only iphone-orientation-lock: landscape-only binding: true scroll-axis: vertical ``` This commit also fixes a regression in stylesheet paths. | |||||
2017-06-30 | Markdown writer: Ensure that `+` and `-` are escaped properly... | John MacFarlane | 1 | -0/+3 | |
so they don't cause spurious lists. Previously they were only if succeeded by a space, not if they were at end of line. Closes #3773. | |||||
2017-06-28 | Make `papersize: a4` work regardless of the case of `a4`. | John MacFarlane | 2 | -0/+9 | |
It is converted to `a4` in LaTeX and `A4` in ConTeXt. | |||||
2017-06-28 | LaTeX writer: fixed detection of otherlangs. | John MacFarlane | 1 | -3/+3 | |
We weren't recursing into inline contexts. Closes #3770. | |||||
2017-06-27 | Docx writer: Allow 9 list levels. | John MacFarlane | 1 | -3/+9 | |
Closes #3519. | |||||
2017-06-26 | OpenDocument/ODT writer: Added support for table of contents. | John MacFarlane | 1 | -0/+1 | |
Closes #2836. Thanks to @anayrat. | |||||
2017-06-26 | Use `table-of-contents` for contents of toc, make `toc` a boolean. | John MacFarlane | 3 | -6/+18 | |
Changed markdown, rtf, and HTML-based templates accordingly. This allows you to set `toc: true` in the metadata; this previously produced strange results in some output formats. Closes #2872. For backwards compatibility, `toc` is still set to the toc contents. But it is recommended that you update templates to use `table-of-contents` for the toc contents and `toc` for a boolean flag. | |||||
2017-06-26 | Muse writer: fix hlint errors (#3764) | Alexander Krotov | 1 | -17/+13 | |
2017-06-26 | LaTeX writer: use BCP47 parser. | John MacFarlane | 1 | -89/+105 | |
2017-06-25 | BCP47: split toLang from getLang, rearranged types. | John MacFarlane | 3 | -38/+39 | |
2017-06-25 | Refactored ConTeXt writer to use BCP47. | John MacFarlane | 1 | -34/+34 | |
BCP47 - consistent case for BCP47 fields (e.g. uppercase for region). | |||||
2017-06-25 | Moved BCP47 specific functions from Writers.Shared to new module. | John MacFarlane | 4 | -87/+8 | |
Text.Pandoc.BCP47 (unexported, internal module). `getLang`, `Lang(..)`, `parseBCP47`. | |||||
2017-06-25 | Writers.Shared: improve type of Lang and bcp47 parser. | John MacFarlane | 3 | -41/+79 | |
Use a real parsec parser for BCP47, include variants. | |||||
2017-06-25 | Writers.Shared: refactored getLang, splitLang... | John MacFarlane | 4 | -36/+55 | |
into `Lang(..)`, `getLang`, `parceBCP47`. | |||||
2017-06-25 | Fixed support for `lang` attribute in OpenDocument and ODT writers. | John MacFarlane | 1 | -20/+15 | |
This improves on the last commit, which didn't work in some important ways. See #1667. | |||||
2017-06-25 | Support `lang` attribute in OpenDocument and ODT writers. | John MacFarlane | 3 | -18/+72 | |
This adds the required attributes to the temporary styles, and also replaces existing language attributes in styles.xml. Support for lang attributes on Div and Span has also been added. Closes #1667. | |||||
2017-06-25 | Text.Pandoc.Writers.Shared: export splitLang. | John MacFarlane | 1 | -0/+19 | |
2017-06-25 | Text.Pandoc.Writers.Shared: added getLang. | John MacFarlane | 1 | -2/+13 | |
2017-06-23 | Markdown writer: make sure `plain`, `markdown_github`, etc. work for raw. | John MacFarlane | 1 | -5/+9 | |
Previously only `markdown` worked. Note: currently a raw block labeled `markdown_github` will be printed for any `markdown` format. | |||||
2017-06-23 | HTML writer: make sure html4, html5 formats work for raw blocks/inlines. | John MacFarlane | 1 | -14/+26 | |
2017-06-22 | EPUB writer: put title_page.xhtml in text/. | John MacFarlane | 1 | -2/+2 | |
2017-06-22 | EPUB writer: Fixed various things with new EPUB structure. | John MacFarlane | 1 | -6/+6 | |
2017-06-22 | Added `writerEpubSubdirectory` to `WriterOptions`. | John MacFarlane | 1 | -8/+8 | |
[API change] The EPUB writer now takes its EPUB subdirectory from this option. Also added `PandocEpubSubdirectoryError` to `PandocError`. This is raised if the EPUB subdirectory is not all ASCII alphanumerics. See #3720. | |||||
2017-06-21 | Change default EPUB directory structure in OCF container. | John MacFarlane | 1 | -11/+22 | |
See #3720. We now put all EPUB related content in an EPUB/ subdirectory by default (later this will be configurable). mimetype META-INF/ com.apple.ibooks.display-options.xml container.xml EPUB/ <<--configurable-->> fonts/ <<--static-->> font.otf media/ <<--static-->> cover.jpg fig1.jpg styles/ <<--static-->> stylesheet.css content.opf toc.ncx text/ <<--static-->> ch001.xhtml | |||||
2017-06-20 | Writers: adjusted for renderTemplate' changes. | John MacFarlane | 25 | -47/+51 | |
Now we raise a proper error on template failure. | |||||
2017-06-20 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-06-20 | Docbook, JATS, TEI writers: print INFO message when omitting interior header. | John MacFarlane | 3 | -8/+14 | |
This only applies to section headers inside list items, e.g., which were otherwise silently omitted. See #3750. | |||||
2017-06-20 | FB2 writer: don't fail with an error on interior headers (e.g. in list). | John MacFarlane | 1 | -3/+5 | |
Instead, omit them with an INFO message. Closes #3750. |