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-15 | Wrap emojis in span nodes (#4759) | Anders Waldenborg | 2 | -18/+21 | |
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-02 | JATS reader: fix typo ("lable" instead of "label") | Alexander Krotov | 1 | -1/+1 | |
2018-07-02 | Spellcheck comments | Alexander Krotov | 14 | -17/+17 | |
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 | 1 | -56/+46 | |
yaml wraps a C library; HsYAML is pure Haskell. Closes #4747. Advances #4535. | |||||
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 | 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-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-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 | LaTeX reader: allow spaces around `\graphicspath` arguments. | John MacFarlane | 1 | -1/+2 | |
Closes #4698. | |||||
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 | 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 | 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. | |||||
2018-05-20 | Use haddock-library 1.6.0. | John MacFarlane | 1 | -13/+1 | |
2018-05-16 | LaTeX reader: parse more siunitx unit commands. | John MacFarlane | 1 | -1/+73 | |
Improves on earlier fix for #4296. | |||||
2018-05-15 | rawLaTeXBlock: don't expand macros in macro definitions! | John MacFarlane | 1 | -11/+11 | |
Closes #4653. Note that this only affected LaTeX in markdown. Added regression test. | |||||
2018-05-09 | Org reader: fix image filename recognition | Albert Krewinkel | 1 | -6/+7 | |
Use a function from the *filepath* library to check whether a string is a valid file name. The custom validity checker that was used before gave wrong results, e.g. for absolute file paths on Windows (kawabata/ox-pandoc#52). | |||||
2018-05-08 | LaTeX reader: handle `$` in `/text{..}` inside math. | John MacFarlane | 1 | -7/+22 | |
This fixes the main problem in #4576. There is still an issue about `\SI`, but that's a separate issue. | |||||
2018-05-07 | Use Data.Maybe.fromMaybe | Alexander Krotov | 1 | -6/+3 | |
2018-05-03 | Relicense TikiWiki reader as GPL v2 or above, like rest of pandoc. | John MacFarlane | 1 | -1/+1 | |
Author has given permission in an email, 3 May 2018. See #4591. | |||||
2018-04-28 | FB2 reader: replace some errors with warnings | Alexander Krotov | 1 | -9/+11 | |
Now FB2 reader can read writer.fb2, which does not validate (yet). | |||||
2018-04-26 | Add FB2 reader (#4539) | Alexander | 1 | -0/+402 | |
2018-04-26 | RST reader: fix anonymous redirects with backticks. | John MacFarlane | 1 | -3/+8 | |
Closes #4598. | |||||
2018-04-26 | DocBook Reader: Read Latex math as output by asciidoctor (#4569) | Joe Hermaszewski | 1 | -11/+48 | |
2018-04-26 | Muse reader: allow nested footnotes | Alexander Krotov | 1 | -1/+1 | |
2018-04-26 | Muse reader: use Data.Map.member instead of lookup | Alexander Krotov | 1 | -3/+3 | |
2018-04-25 | LaTeX reader: fixed previous commit. | John MacFarlane | 1 | -3/+3 | |
2018-04-25 | LaTeX reader: Improve handling of raw LaTeX (for markdown etc.). | John MacFarlane | 1 | -31/+32 | |
Previously there were some bugs in how macros were handled. Closes #4589, #4594. | |||||
2018-04-25 | LaTeX reader: support `\MakeUppercase`, `\MakeLowercase'. | John MacFarlane | 1 | -1/+17 | |
Also `\MakeTextUppercase`, `\MakeTextLowercase` from textcase and `\uppercase`, `\lowercase`. We don't mimic exactly the quirky semantic differences between these commands, but just uppercase/lowercase regular strings within them. We leave commands and code alone. Closes #4595. | |||||
2018-04-25 | Added licensing headers for DocBook, EPUB, JATS, OPML readers. | John MacFarlane | 4 | -1/+118 | |
See #4592. | |||||
2018-04-22 | RST reader: allow < 3 spaces indent under directives. | John MacFarlane | 1 | -3/+7 | |
Closes #4579. | |||||
2018-04-21 | Markdown reader/writer: spacing adjustments in tables. | John MacFarlane | 1 | -3/+8 | |
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column. | |||||
2018-04-19 | Markdown reader: allow empty attributes. | John MacFarlane | 1 | -0/+2 | |
See #2944. | |||||
2018-04-19 | EPUB reader: fix images with space in file path. | John MacFarlane | 1 | -2/+2 | |
Closes #4344. | |||||
2018-04-19 | Muse reader: allow "-" in anchors | Alexander Krotov | 1 | -1/+1 | |