Commit graph

10979 commits

Author SHA1 Message Date
John MacFarlane
1579e57833 Support abbreviated units for siunitx (#4773). 2018-07-15 13:35:37 -07:00
John MacFarlane
339a9e1b8b LaTeX reader: be more forgiving in key/value option parsing.
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-15 12:53:42 -07:00
John MacFarlane
582b4afd0e appveyor: fixed use of --stack-yaml. 2018-07-14 18:04:26 -07:00
John MacFarlane
482a5874e9 appveyor: try using lts-11. 2018-07-14 17:51:46 -07:00
John MacFarlane
4c0d056df1 Revert "appveyor - for diagnostics, try building just aeson-pretty..."
This reverts commit 6aa6fb2692.
2018-07-14 17:49:53 -07:00
John MacFarlane
6aa6fb2692 appveyor - for diagnostics, try building just aeson-pretty...
instead of pandoc-citeproc.
2018-07-14 17:20:47 -07:00
John MacFarlane
bc048c834a appveyor: try with stack --no-terminal, remove verbosity. 2018-07-14 14:00:17 -07:00
John MacFarlane
241bfd2ff3 appveyor: use right option to change verbosity. 2018-07-14 13:12:00 -07:00
John MacFarlane
7e1844cc1f appveyor: increase stack verbosity. 2018-07-14 13:05:13 -07:00
John MacFarlane
3e35292707 Revert "Try limiting to aeson-pretty-0.8.5."
This reverts commit ceec41072a.
2018-07-14 12:27:07 -07:00
John MacFarlane
ceec41072a Try limiting to aeson-pretty-0.8.5.
That built before on appveyor...
2018-07-14 12:10:21 -07:00
John MacFarlane
d8a0724c3f appveyor: revert build aeson-pretty first. 2018-07-14 11:28:45 -07:00
John MacFarlane
48d7443ca9 Fix aeson flag again... 2018-07-13 17:05:05 -07:00
John MacFarlane
073a5329e5 Fix appveyor flag. 2018-07-13 16:55:52 -07:00
John MacFarlane
2e7387697e appveyor: try building aeson-pretty first... 2018-07-13 16:39:31 -07:00
John MacFarlane
71e55f520e Use latest network.
Hopefully this will build on Windows.
See https://ci.appveyor.com/project/jgm/pandoc/build/1.0.2625/job/tfpvh7rxue26phoq
2018-07-13 10:54:21 -07:00
John MacFarlane
d6cbc7ba37 Travis: Use system ghc. And use ghc-8.4.3 instead of 8.4.2. 2018-07-13 10:28:29 -07:00
John MacFarlane
23e6e8e221 Add pandoc-citeproc to stack.yaml. 2018-07-13 10:15:29 -07:00
John MacFarlane
3cdc5a02e0 Travis: Use lts-12 resolver. 2018-07-13 10:14:37 -07:00
John MacFarlane
bac79077e1 Makefile: use lts12 resolver. 2018-07-13 09:52:07 -07:00
John MacFarlane
f7485f8850 Use lts-12 for stack.yaml, add stack.lts11.yaml.
Also adjusted some minor versions in extra-deps.
2018-07-13 09:51:13 -07:00
John MacFarlane
b153d028ee Add stack.lts10.yaml, switch to lts11 in stack.yaml. 2018-07-13 09:20:28 -07:00
John MacFarlane
d67a88eb12 Bump upper bound for JuicyPixels. 2018-07-13 08:10:25 -07:00
John MacFarlane
8cea6125fb Exclude foundaiton 0.0.21 for ghc 7.10. 2018-07-12 21:59:25 -07:00
John MacFarlane
2437b6d10b Attempt to fix latest ghc 7.10 build failure. 2018-07-12 21:46:37 -07:00
Mauro Bieg
5809d5bef2 AsciiDoc Writer: escape square brackets at start of line (#4708)
closes #4545
2018-07-12 19:37:37 +02:00
lux-lth
e56a1a3088 Translations/fr (#4766)
* 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-12 19:31:38 +02:00
John MacFarlane
146555e636 PDF: revert fix for #4484 (only compress images on last run).
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 23:51:20 +02:00
John MacFarlane
55e8cb07d0 PDF: Fix logic error in runTeXProgram.
We were running the tex program one more time than requested.
This should speed up pdf production.
2018-07-06 23:43:43 +02:00
Mauro Bieg
c30eada4ee MANUAL: clarify EPUB linked media (#4756) 2018-07-06 23:28:33 +02:00
John MacFarlane
2737e4996c Allow criterion 1.5. 2018-07-02 23:29:37 +02:00
Alexander Krotov
41cf6d540f More spellcheck 2018-07-02 19:07:28 +03:00
Alexander Krotov
5479ea300a JATS reader: fix typo ("lable" instead of "label") 2018-07-02 18:31:46 +03:00
Alexander Krotov
f6dfb632ff Spellcheck comments 2018-07-02 18:30:37 +03:00
John MacFarlane
732e66d4c4 travis: small simplification. 2018-06-30 23:08:17 +02:00
John MacFarlane
3b2ab75712 Revert "Travis: use -j2 for dependencies installation."
This reverts commit ae9d9138c3.
2018-06-30 22:35:56 +02:00
John MacFarlane
99252b3d55 Update manual for "true" YAML values.
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-30 12:36:27 +02:00
John MacFarlane
ae9d9138c3 Travis: use -j2 for dependencies installation.
Remove special clause for ghc 7.10.
2018-06-30 12:12:36 +02:00
John MacFarlane
016e0a09e2 RST writer: don't treat 'example' as a syntax name.
This fixes conversions from org with example blocks.
Closes #4748.
2018-06-30 11:45:49 +02:00
John MacFarlane
ce83a128e1 Use ghc 8.4.2 in travis and tested-with.
8.4.1 shipped with the wrong version of mtl, which didn't
match its documented API.
2018-06-30 10:00:28 +02:00
John MacFarlane
5d78ad12b2 Fix compiler warnings. 2018-06-29 23:47:07 +02:00
John MacFarlane
e49b8304e4 Use HsYAML instead of yaml for translations, YAML metadata.
yaml wraps a C library; HsYAML is pure Haskell.
Closes #4747.  Advances #4535.
2018-06-29 23:21:25 +02:00
John MacFarlane
39dc3b9a4b Require yaml < 0.8.31 for ghc < 8.0.2.
The 0.8.31 release of yaml adds a constraint to ghc versions 8.0.2
and greater.
2018-06-29 20:09:08 +02:00
John MacFarlane
37523e54d5 Update list of supported ghc versions. 2018-06-29 20:07:29 +02:00
John MacFarlane
afb1241edc Revert "travis: try adding 'ghc-pkg recache'."
This reverts commit 57978fa3b3.
2018-06-29 19:56:20 +02:00
John MacFarlane
57978fa3b3 travis: try adding 'ghc-pkg recache'. 2018-06-29 19:51:12 +02:00
John MacFarlane
f0a1c42e4e travis: try installing specific yaml version... 2018-06-29 19:42:48 +02:00
John MacFarlane
ee169135a1 For ghc 7.10.3, try installing yaml first... 2018-06-29 19:31:37 +02:00
John MacFarlane
6ed114cb5d Use decodeEither' not decodeEither (deprecated). 2018-06-29 11:47:58 +02:00
Anders Waldenborg
904924d172 CommonMark reader: Handle ascii_identifiers extension (#4733)
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-29 10:41:26 +02:00