Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-07-21 | RST reader: fix double-link bug. | John MacFarlane | 1 | -1/+8 | |
Link labels containing raw URLs were parsed as autolinks, but links within links are not allowed. Closes #4581. | |||||
2018-07-19 | Fix for bug in parsing `\include` in markdown. | John MacFarlane | 1 | -1/+10 | |
Starting in 2.2.2, everything after an `\input` (or `\include`) in a markdown file would be parsed as raw LaTeX. This commit fixes the issue and adds a regression test. Closes #4781. | |||||
2018-07-19 | rawLaTeXBlock: never retokenize macroDef. | John MacFarlane | 1 | -1/+1 | |
2018-07-18 | Fix regression finding templates in user data directory. | John MacFarlane | 1 | -3/+1 | |
Under version 2.2.1 and prior pandoc found latex templates in the templates directory under the data directory, but this no longer works in 2.2.2. MANUAL says: "If the template is not found, pandoc will search for it in the templates subdirectory of the user data directory (see `--data-dir`)." This commit fixes the regression, which stems from 07bce91. Closes #4777. | |||||
2018-07-15 | Make markdown and github writers respect the `emoji` extension. | John MacFarlane | 2 | -0/+10 | |
2018-07-15 | Wrap emojis in span nodes (#4759) | Anders Waldenborg | 3 | -19/+27 | |
Text.Pandoc.Emoji now exports `emojiToInline`, which returns a Span inline containing the emoji character and some attributes with metadata (class `emoji`, attribute `data-emoji` with emoji name). Previously, emojis (as supported in Markdown and CommonMark readers, e.g ":smile:") were simply translated into the corresponding unicode code point. By wrapping them in Span nodes, we make it possible to do special handling such as giving them a special font in HTML output. We also open up the possibility of treating them differently when the `--ascii` option is selected (though that is not part of this commit). Closes #4743. | |||||
2018-07-15 | Support abbreviated units for siunitx (#4773). | John MacFarlane | 1 | -0/+89 | |
2018-07-15 | LaTeX reader: be more forgiving in key/value option parsing. | John MacFarlane | 1 | -16/+39 | |
We now allow arbitrary LaTeX values. This helps with #4761. The `\maxwidth` is still not propagated to the latex destination, but at least we don't choke on parsing. | |||||
2018-07-12 | AsciiDoc Writer: escape square brackets at start of line (#4708) | Mauro Bieg | 1 | -8/+13 | |
closes #4545 | |||||
2018-07-06 | PDF: revert fix for #4484 (only compress images on last run). | John MacFarlane | 1 | -6/+1 | |
Closes #4755. This will mean some increase in the time it takes to produce an image-heavy PDF with xelatex, but it will make tables of contents correct, which is more important. Note that the production time should also be decreased by the previous commit, which fixed a logic error affecting the number of runs. That change might mitigate the effect of this one. | |||||
2018-07-06 | PDF: Fix logic error in runTeXProgram. | John MacFarlane | 1 | -1/+1 | |
We were running the tex program one more time than requested. This should speed up pdf production. | |||||
2018-07-02 | JATS reader: fix typo ("lable" instead of "label") | Alexander Krotov | 1 | -1/+1 | |
2018-07-02 | Spellcheck comments | Alexander Krotov | 22 | -26/+26 | |
2018-06-30 | RST writer: don't treat 'example' as a syntax name. | John MacFarlane | 1 | -1/+2 | |
This fixes conversions from org with example blocks. Closes #4748. | |||||
2018-06-29 | Fix compiler warnings. | John MacFarlane | 1 | -4/+4 | |
2018-06-29 | Use HsYAML instead of yaml for translations, YAML metadata. | John MacFarlane | 4 | -70/+84 | |
yaml wraps a C library; HsYAML is pure Haskell. Closes #4747. Advances #4535. | |||||
2018-06-29 | Use decodeEither' not decodeEither (deprecated). | John MacFarlane | 1 | -2/+2 | |
2018-06-29 | CommonMark reader: Handle ascii_identifiers extension (#4733) | Anders Waldenborg | 1 | -13/+18 | |
Non-ascii characters were not stripped from identifiers even if the `ascii_identifiers` extension was enabled (which is is by default for gfm). Closes #4742 | |||||
2018-06-28 | Avoid using deprecated 'decode' from yaml. | John MacFarlane | 1 | -5/+5 | |
2018-06-28 | TikiWiki reader: improve list parsing (#4723) | Mauro Bieg | 1 | -3/+4 | |
- remove trailing Space from list items - parse lists that have no space after marker (fixes #4722) | |||||
2018-06-28 | Remove network-uri flag and use 'Network.Socket'. | John MacFarlane | 1 | -1/+1 | |
This removes a compiler warning. There is no need for the old network-uri flag, since network 2.6 was released in 2014. | |||||
2018-06-25 | LaTeX reader: Treat `lilypond` as a verbatim environment. | John MacFarlane | 1 | -1/+2 | |
Closes #4725. | |||||
2018-06-25 | Fixed typo in LaTeX writer. | John MacFarlane | 1 | -1/+1 | |
2018-06-25 | Texinfo writer: use @sup and @sub instead of custom macros | Alexander Krotov | 1 | -10/+3 | |
Fixes #4728 | |||||
2018-06-13 | Markdown reader: allow empty code spans. | John MacFarlane | 1 | -1/+1 | |
E.g. `` ` ` ``. | |||||
2018-06-13 | LaTeX Reader: parse figure label into Image id (#4704) | Mauro Bieg | 1 | -14/+20 | |
closes #4700 | |||||
2018-06-12 | Beamer: Allow "noframenumbering" option (#4696) | Raymond Ehlers | 1 | -1/+2 | |
As noted [here](https://tex.stackexchange.com/a/49805) ([beamer commit here](https://github.com/josephwright/beamer/commit/ff70090f36b631667b472cfe675fc3514fe46f7e)), `noframenumbering` is an undocumented, but long existing option to disable frame numbering for a particular slide. This is useful to avoid numbering backup slides. | |||||
2018-06-12 | Allow --template to take a URL argument. | John MacFarlane | 1 | -1/+1 | |
2018-06-12 | reveal.js writer and template: reuse mathjax URL... | John MacFarlane | 1 | -5/+6 | |
...provided by the argument to `--mathjax` or the normal pandoc default, rather than a hard-coded one in the template. Closes #4701. | |||||
2018-06-12 | LaTeX reader: allow spaces around `\graphicspath` arguments. | John MacFarlane | 1 | -1/+2 | |
Closes #4698. | |||||
2018-06-12 | FB2 writer: convert Plain to Para in annotation | Alexander Krotov | 1 | -1/+6 | |
Address #2424 | |||||
2018-06-12 | FB2 writer: fix order of items in title-info | Alexander Krotov | 1 | -1/+1 | |
Address issue #2424 | |||||
2018-06-07 | LaTeX writer: properly handle footnotes in table captions. | John MacFarlane | 1 | -17/+22 | |
Refactored code from figure captions to use in both places. Closes #4683. | |||||
2018-06-07 | beamer output: fix single digit column percentage (#4691) | Mauro Bieg | 1 | -1/+1 | |
fixes #4690 | |||||
2018-06-05 | Add missing re-export of "breezeDark" style (#4687) | Adrian Sieber | 1 | -0/+1 | |
2018-06-03 | Regression: make --pdf-engine work with full paths (#4682) | Mauro Bieg | 2 | -53/+62 | |
Fixes #4681. | |||||
2018-06-02 | Support --number-sections in RST output... | John MacFarlane | 1 | -0/+1 | |
via the "section-numbering" directive in standalone output. | |||||
2018-06-01 | LaTeX reader: handle includes without surrounding blanklines. | John MacFarlane | 1 | -7/+9 | |
In addition, `\input` can now be used in an inline context, e.g. to provide part of a paragraph, as it can in LaTeX. Closes #4553. | |||||
2018-06-01 | Muse reader: get rid of non-exhaustive pattern match warning | mb21 | 1 | -1/+1 | |
2018-05-31 | Muse reader: add support for floating images | Alexander Krotov | 1 | -6/+18 | |
2018-05-31 | Muse reader: add support for images with specified width | Alexander Krotov | 1 | -4/+9 | |
2018-05-30 | Clarify how Ext_east_asian_line_breaks extension works (API docs). | kaizhang91 | 1 | -1/+4 | |
Note that it will not take effect when readers/writers are called as libraries (#4674). | |||||
2018-05-30 | Revert "ALlow compilation with haddock-library 1.4 and above." | John MacFarlane | 1 | -14/+1 | |
This reverts commit 50c71b5bc5db797ac46550ed54e91196269716e3. This was a bad idea, since tests depend on recent haddock-library. We'd be able to build but fail tests. | |||||
2018-05-30 | ALlow compilation with haddock-library 1.4 and above. | John MacFarlane | 1 | -1/+14 | |
haddock-library-1.6 requires Cabal >= 2.0. This change allows systems with older Cabal versions to build pandoc. | |||||
2018-05-30 | LaTeX reader `rawLaTeXBlock`: handle macros that resolve to a... | John MacFarlane | 1 | -1/+17 | |
...`\begin` or `\end`. Fixes #4667. | |||||
2018-05-30 | LaTeX reader: tighten up reading of beamer overlay specifications. | John MacFarlane | 1 | -9/+20 | |
Ideally we'd turn these on only when reading beamer, but currently beamer is not distinguished from latex as an input format. This commit also activates parsing of overlay specifications after commands in general (e.g. `\item`), since they can occur in many contexts in beamer. Closes #4669. | |||||
2018-05-30 | Markdown writer: preserve `implicit_figures` with attributes... | John MacFarlane | 1 | -5/+11 | |
...even if `implicit_attributes` is not set, by rendering in raw HTML. Fixes #4677. | |||||
2018-05-30 | Muse reader: parse image URLs without "guard" and "takeExtension" | Alexander Krotov | 1 | -5/+3 | |
2018-05-28 | Muse reader: split link and image parsing into separate functions | Alexander Krotov | 1 | -10/+17 | |
2018-05-27 | Muse reader: parse links starting with "URL:" explicitly | Alexander Krotov | 1 | -12/+19 | |
instead of trying to strip "URL:" prefix after parsing. |