Commit graph

10965 commits

Author SHA1 Message Date
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
John MacFarlane
bb5a2464d5 travis: Reduce verbosity. 2018-06-28 23:57:59 +02:00
John MacFarlane
edce81734e Avoid using deprecated 'decode' from yaml. 2018-06-28 17:38:58 +02:00
John MacFarlane
7b3cc7d1a9 travis: Try not using --only-dependencies with ghc 7.10. 2018-06-28 17:25:31 +02:00
John MacFarlane
013847554e Revert "Travis: use cabal 2.2 with ghc 7.10."
This reverts commit 3b590b6da2.
2018-06-28 17:20:35 +02:00
John MacFarlane
72a76d5187 Revert "travis: REALLY use cabal 2.2 with ghc 7.10."
This reverts commit f6465e02a6.
2018-06-28 17:20:29 +02:00
John MacFarlane
f6465e02a6 travis: REALLY use cabal 2.2 with ghc 7.10. 2018-06-28 17:11:44 +02:00
John MacFarlane
3b590b6da2 Travis: use cabal 2.2 with ghc 7.10.
See if that fixes:

cabal: Cannot select only the dependencies (as requested by the
'--only-dependencies' flag), the packages are required by a dependency of one
of the other targets.
2018-06-28 16:52:06 +02:00
John MacFarlane
80cf217c76 travis: revert --enable-per-component, add -v2. 2018-06-28 15:05:58 +02:00
John MacFarlane
2c30507294 travis: try using --enable-per-component.
I'm hoping this fixes the problem with the ghc 7.10 builds.
2018-06-28 14:54:38 +02:00
John MacFarlane
daeb03dcce Revert "travis: Install Cabal library before anything else."
This reverts commit 6b43a01a3c.
2018-06-28 14:49:36 +02:00
Mauro Bieg
0459d1be26 TikiWiki reader: improve list parsing (#4723)
- remove trailing Space from list items
- parse lists that have no space after marker (fixes #4722)
2018-06-28 13:35:54 +02:00
John MacFarlane
7027525151 travis: remove redundant build, use cabal 2.2 with ghc 8.4. 2018-06-28 13:32:53 +02:00
John MacFarlane
6b43a01a3c travis: Install Cabal library before anything else.
I'm hoping this fixes the issue with travis
builds with earlier ghc versions.

See https://github.com/haskell/cabal/issues/4456
2018-06-28 12:41:06 +02:00
John MacFarlane
4a712b476d Revert "travis: Remove '--only-dependencies' step for cabal."
This reverts commit 3804a191c7.
2018-06-28 12:30:02 +02:00