aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-15Wrap emojis in span nodes (#4759)Anders Waldenborg6-21/+56
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-15Small edits in changelog.John MacFarlane1-19/+19
2018-07-15Update man page.John MacFarlane2-18/+31
2018-07-15Bump to 2.2.2 and update changelog.John MacFarlane2-1/+156
2018-07-15Support abbreviated units for siunitx (#4773).John MacFarlane1-0/+89
2018-07-15LaTeX reader: be more forgiving in key/value option parsing.John MacFarlane1-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-14appveyor: fixed use of --stack-yaml.John MacFarlane1-3/+3
2018-07-14appveyor: try using lts-11.John MacFarlane1-3/+3
2018-07-14Revert "appveyor - for diagnostics, try building just aeson-pretty..."John MacFarlane1-1/+1
This reverts commit 6aa6fb2692dbd6eda8950f8ee55ad29fb7c33cc6.
2018-07-14appveyor - for diagnostics, try building just aeson-pretty...John MacFarlane1-1/+1
instead of pandoc-citeproc.
2018-07-14appveyor: try with stack --no-terminal, remove verbosity.John MacFarlane1-1/+1
2018-07-14appveyor: use right option to change verbosity.John MacFarlane1-1/+1
2018-07-14appveyor: increase stack verbosity.John MacFarlane1-1/+1
2018-07-14Revert "Try limiting to aeson-pretty-0.8.5."John MacFarlane1-1/+0
This reverts commit ceec41072ae454183d4647b422b26953170cea87.
2018-07-14Try limiting to aeson-pretty-0.8.5.John MacFarlane1-0/+1
That built before on appveyor...
2018-07-14appveyor: revert build aeson-pretty first.John MacFarlane1-1/+0
2018-07-13Fix aeson flag again...John MacFarlane1-1/+1
2018-07-13Fix appveyor flag.John MacFarlane1-1/+1
2018-07-13appveyor: try building aeson-pretty first...John MacFarlane1-0/+1
2018-07-13Use latest network.John MacFarlane1-0/+1
Hopefully this will build on Windows. See https://ci.appveyor.com/project/jgm/pandoc/build/1.0.2625/job/tfpvh7rxue26phoq
2018-07-13Travis: Use system ghc. And use ghc-8.4.3 instead of 8.4.2.John MacFarlane2-6/+6
2018-07-13Add pandoc-citeproc to stack.yaml.John MacFarlane1-0/+1
2018-07-13Travis: Use lts-12 resolver.John MacFarlane1-1/+1
2018-07-13Makefile: use lts12 resolver.John MacFarlane1-1/+1
2018-07-13Use lts-12 for stack.yaml, add stack.lts11.yaml.John MacFarlane4-9/+27
Also adjusted some minor versions in extra-deps.
2018-07-13Add stack.lts10.yaml, switch to lts11 in stack.yaml.John MacFarlane2-8/+30
2018-07-13Bump upper bound for JuicyPixels.John MacFarlane1-1/+1
2018-07-12Exclude foundaiton 0.0.21 for ghc 7.10.John MacFarlane1-3/+4
2018-07-12Attempt to fix latest ghc 7.10 build failure.John MacFarlane1-1/+4
2018-07-12AsciiDoc Writer: escape square brackets at start of line (#4708)Mauro Bieg2-8/+33
closes #4545
2018-07-12Translations/fr (#4766)lux-lth1-10/+10
* Edited FR translation, Cc (Carbon Copy) translates to 'Copie carbone' : Cc * Edited FR translation, 'Chapter' translates 'Chapitre' (typo) * Edited FR translation, 'Figure' translates to 'Figure' * Edited FR translation, 'Glossary' translates to 'Glossaire' * Edited FR translation, 'to' translates to 'à' * Edited FR translation, first letter to uppercase * Edited FR translation, 'Table' translates to 'Tableau'
2018-07-06PDF: revert fix for #4484 (only compress images on last run).John MacFarlane1-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-06PDF: Fix logic error in runTeXProgram.John MacFarlane1-1/+1
We were running the tex program one more time than requested. This should speed up pdf production.
2018-07-06MANUAL: clarify EPUB linked media (#4756)Mauro Bieg1-2/+3
2018-07-02Allow criterion 1.5.John MacFarlane1-1/+1
2018-07-02More spellcheckAlexander Krotov16-49/+49
2018-07-02JATS reader: fix typo ("lable" instead of "label")Alexander Krotov1-1/+1
2018-07-02Spellcheck commentsAlexander Krotov22-26/+26
2018-06-30travis: small simplification.John MacFarlane1-1/+0
2018-06-30Revert "Travis: use -j2 for dependencies installation."John MacFarlane1-1/+9
This reverts commit ae9d9138c37e390361c716f989685d1cfcdbc577.
2018-06-30Update manual for "true" YAML values.John MacFarlane1-2/+1
Now that we're using HsYAML and YAML 1.2, the valid true values are `true`, `True`, `TRUE`. NOTE! `y`, `yes`, `on` no longer count as true values.
2018-06-30Travis: use -j2 for dependencies installation.John MacFarlane1-9/+1
Remove special clause for ghc 7.10.
2018-06-30RST writer: don't treat 'example' as a syntax name.John MacFarlane2-1/+18
This fixes conversions from org with example blocks. Closes #4748.
2018-06-30Use ghc 8.4.2 in travis and tested-with.John MacFarlane2-4/+4
8.4.1 shipped with the wrong version of mtl, which didn't match its documented API.
2018-06-29Fix compiler warnings.John MacFarlane1-4/+4
2018-06-29Use HsYAML instead of yaml for translations, YAML metadata.John MacFarlane8-77/+94
yaml wraps a C library; HsYAML is pure Haskell. Closes #4747. Advances #4535.
2018-06-29Require yaml < 0.8.31 for ghc < 8.0.2.John MacFarlane1-2/+4
The 0.8.31 release of yaml adds a constraint to ghc versions 8.0.2 and greater.
2018-06-29Update list of supported ghc versions.John MacFarlane1-5/+2
2018-06-29Revert "travis: try adding 'ghc-pkg recache'."John MacFarlane1-1/+0
This reverts commit 57978fa3b30fc90c36889041e1ee4bd13d244090.
2018-06-29travis: try adding 'ghc-pkg recache'.John MacFarlane1-0/+1