Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-07 | RST reader: pass through fields in unknown directives as div attributes. | John MacFarlane | 2 | -17/+36 | |
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715. | |||||
2018-10-07 | Makefile - make .msi download targets more robust. | John MacFarlane | 1 | -2/+2 | |
Now they should be insensitive to changes in the order of the builds on appveyor. | |||||
2018-10-07 | Revert export of hasSimpleCells from T.P.Writers.Shared. | John MacFarlane | 1 | -18/+0 | |
This wasn't necessary. | |||||
2018-10-06 | RST writer: use simple tables when possible. | John MacFarlane | 4 | -42/+82 | |
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change]. | |||||
2018-10-06 | Documentation: add draft for Lua objects reference | Albert Krewinkel | 1 | -0/+396 | |
2018-10-06 | Lua filter doc: fix description of Code.text | Albert Krewinkel | 2 | -2/+2 | |
2018-10-06 | Moved Haddock comment in Muse reader | Alexander Krotov | 1 | -4/+3 | |
2018-10-05 | Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951) | Brian Leung | 3 | -8/+24 | |
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags. | |||||
2018-10-05 | CommonMark writer: add plain text fallbacks. (#4531) | quasicomputational | 5 | -41/+237 | |
Previously, the writer would unconditionally emit HTMLish output for subscripts, superscripts, strikeouts (if the strikeout extension is disabled) and small caps, even with raw_html disabled. Now there are plain-text (and, where possible, fancy Unicode) fallbacks for all of these corresponding (mostly) to the Markdown fallbacks, and the HTMLish output is only used when raw_html is enabled. This commit adds exported functions `toSuperscript` and `toSubscript` to `Text.Pandoc.Writers.Shared`. [API change] Closes #4528. | |||||
2018-10-05 | Org reader: Add partial support for `#+EXCLUDE_TAGS` option. (#4950) | Brian Leung | 5 | -7/+61 | |
Closes #4284. Headers with the corresponding tags should not appear in the output. If one or more of the specified tags contains a non-tag character like `+`, Org-mode will not treat that as a valid tag, but will nonetheless continue scanning for valid tags. That behavior is not replicated in this patch; entering `cat+dog` as one of the entries in `#+EXCLUDE_TAGS` and running the file through Pandoc will cause the parser to fail and result in the only excluded tag being the default, `noexport`. | |||||
2018-10-05 | Fixed haddock error in Muse reader. | John MacFarlane | 1 | -1/+2 | |
2018-10-05 | Muse reader: remove redundant bracket | Alexander Krotov | 1 | -1/+1 | |
2018-10-05 | OpenDocument writer: Implement table caption numbering (#4949) | Nils Carlson | 2 | -40/+59 | |
Implement table caption numbering with a format "Table 1: <caption>". Translations are enabled and numbering is consecutive for captioned tables, uncaptioned tables are not enumerated. Captioned figures are now also numbered consecutively and uncaptioned figures are not enumerated. | |||||
2018-10-05 | Muse reader: move museInLink state into ReaderT | Alexander Krotov | 1 | -11/+14 | |
2018-10-05 | Muse reader: use getIndent more for code cleanup | Alexander Krotov | 1 | -7/+4 | |
2018-10-05 | Muse reader: use getIndent in parseHtmlContent | Alexander Krotov | 1 | -7/+6 | |
2018-10-05 | Muse reader: make bulletListUntil similar to definitionListUntil | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: reduce duplication by introducing `getIndent` | Alexander Krotov | 1 | -9/+7 | |
2018-10-05 | Muse reader internals: simplify parseMuse | Alexander Krotov | 1 | -6/+2 | |
2018-10-05 | Muse reader: get rid of TagSoup import | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: simplify verse parsers | Alexander Krotov | 1 | -18/+7 | |
2018-10-05 | Muse reader: allow table caption to contain "+" | Alexander Krotov | 2 | -1/+9 | |
2018-10-04 | LaTeX template: add variable hyperrefoptions(#4925) | Mathias Walter | 1 | -1/+1 | |
Introduce a new variable `hyperrefoptions` to pass to the hyperref package. This allows us (for example) to specify `hyperrefoptions: linktoc=all` in a YAML block. | |||||
2018-10-04 | Docx reader: trigger bold/italic with bCs, iCs. | John MacFarlane | 1 | -2/+4 | |
These are variants for "complex scripts" like Arabic and are now treated just like b, i (bold, italic). Colses #4947. | |||||
2018-10-04 | cabal.project - use latest pandoc-citeproc from git. | John MacFarlane | 1 | -1/+0 | |
2018-10-04 | KaTeX: don't use autorenderer. | John MacFarlane | 2 | -6/+6 | |
We no longer surround formulas with `\(..\)` or `\[..\]` and rely on the autorenderer. Instead, we tell katex to convert the contents of span elements with class "math". Since math has already been identified, this avoids wasted time parsing for LaTeX delimiters. Note, however, that this may yield unexpected results if you have span elements with class "math" that don't contain LaTeX math. Also, use latest version of KaTeX by default (0.9.0). Closes #4946. | |||||
2018-10-04 | Version to 2.4. | John MacFarlane | 1 | -1/+1 | |
We need a major API version bump because of the removed function from T.P.Writers.Shared. | |||||
2018-10-04 | Add lookupMeta* functions to Text.Pandoc.Writers.Shared (#4907) | Mauro Bieg | 6 | -65/+68 | |
Remove exported functions `metaValueToInlines`, `metaValueToString`. Add new exported functions `lookupMetaBool`, `lookupMetaBlocks`, `lookupMetaInlines`, `lookupMetaString`. Use these whenever possible for uniformity in writers. API change (major, because of removed function `metaValueToInlines`. `metaValueToString` wasn't in any released version.) | |||||
2018-10-04 | Vimwiki reader: code cleanup | Alexander Krotov | 1 | -11/+7 | |
2018-10-03 | OpenDocument writer: make 'Figure' term sensitive to `lang` in metadata. | John MacFarlane | 1 | -9/+16 | |
We use the new translations API. | |||||
2018-10-03 | Text.Pandoc.Writers.Shared: added `metaValueToString`. | John MacFarlane | 1 | -0/+9 | |
[API change] | |||||
2018-10-03 | OpenDocument writer: Implement figure numbering in captions (#4944) | Nils Carlson | 2 | -2/+14 | |
Figure captions are now numbered 1, 2, 3, ... The format in the caption is "Figure 1: <caption>" and so on. This is necessary in order for libreoffice to generate an Illustration Index (Table of Figures) for included figures. | |||||
2018-10-03 | TWiki reader: hlint | Alexander Krotov | 1 | -61/+50 | |
2018-10-03 | Travis: comment out 8.6.1 for now. | John MacFarlane | 1 | -3/+3 | |
We'll need to use new-build. | |||||
2018-10-02 | Added tools/changelog-helper.sh. | John MacFarlane | 2 | -2/+24 | |
2018-10-02 | Add ghc 8.6.1 to travis. | John MacFarlane | 1 | -0/+4 | |
2018-10-02 | Removed Text.Pandoc.Groff. | John MacFarlane | 5 | -46/+11 | |
Moved groffEscape function to Text.Pandoc.Writers.Shared. [API change, since T.P.W.S is exported.] | |||||
2018-10-02 | cabal.project - added pandoc.citeproc again. | John MacFarlane | 1 | -0/+5 | |
2018-10-02 | OpenDocument writer: improve bullet/numbering alignment. | John MacFarlane | 2 | -193/+579 | |
This patch eliminates the large gap we used to have between bullet and text, and also ensures that numbers in numbered lists will be right-aligned. Closes #4385. | |||||
2018-10-02 | Makefile - make stack quick build the default | John MacFarlane | 1 | -3/+3 | |
2018-10-02 | Makefile: improved quick-cabal target. | John MacFarlane | 1 | -3/+4 | |
2018-10-02 | T.P.Lua.StackInstances - moved pragmas to top of file. | John MacFarlane | 1 | -5/+5 | |
2018-10-01 | cabal.project - remove source-dependency stanzas. | John MacFarlane | 1 | -14/+0 | |
They shouldn't be needed given new releases of these packages. | |||||
2018-10-01 | Makefile: added quick-cabal target as default. | John MacFarlane | 1 | -0/+5 | |
2018-10-01 | Version to 2.3.2. | John MacFarlane | 1 | -1/+1 | |
2018-10-01 | Shared: new export `splitSentences` [API change]. | John MacFarlane | 3 | -52/+26 | |
This was duplicated in the Man and Ms writers, and really belongs in Shared. | |||||
2018-10-01 | Moved isArgTok to Readers.LaTeX.Parsing. | John MacFarlane | 2 | -5/+6 | |
2018-10-01 | Moved babelLangToBCP, polyglossiaLangToBCP to new module... | John MacFarlane | 3 | -134/+176 | |
Text.Pandoc.Readers.LaTeX.Lang (unexported). | |||||
2018-10-01 | Lua filters: report traceback when an error occurs | Albert Krewinkel | 9 | -16/+49 | |
A proper Lua traceback is added if either loading of a file or execution of a filter function fails. This should be of help to authors of Lua filters who need to debug their code. | |||||
2018-10-01 | Lua Util: add missing docstring to defineHowTo | Albert Krewinkel | 1 | -1/+1 | |