Commit graph

10940 commits

Author SHA1 Message Date
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
John MacFarlane
fde0df1cb1 Revert "Travis: Install Cabal library."
This reverts commit 52d3c9ed87.
2018-06-28 12:29:57 +02:00
John MacFarlane
52d3c9ed87 Travis: Install Cabal library. 2018-06-28 12:25:36 +02:00
John MacFarlane
3804a191c7 travis: Remove '--only-dependencies' step for cabal.
Due to cabal changes, this no longer seems to work.
We get:

> 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.

I suspect this is because the executable depends on the library?
2018-06-28 12:05:39 +02:00
John MacFarlane
06bcb7c872 Remove network-uri flag and use 'Network.Socket'.
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-28 11:51:52 +02:00
John MacFarlane
76e52ed4b0 MANUAL: Removed spurious 'LaTeX' from list. 2018-06-25 22:40:54 +02:00
John MacFarlane
6338e4f088 MANUAL: document -F as alias for --filter.
Thanks to Gandalf Saxe for pointing out the omission.
2018-06-25 22:31:57 +02:00
John MacFarlane
45904ab27f LaTeX reader: Treat lilypond as a verbatim environment.
Closes #4725.
2018-06-25 22:16:58 +02:00
John MacFarlane
7eb08169aa Fixed typo in LaTeX writer. 2018-06-25 22:16:58 +02:00
Alexander Krotov
ebf4ed8944 Texinfo writer: use @sup and @sub instead of custom macros
Fixes #4728
2018-06-25 03:14:04 +03:00
Sergei Trofimovich
dda3882348 pandoc.cabal: fix lower yaml bound up to 0.8.11 (#4727)
`prettyPrintParseException` was added to yaml-0.8.11.

Reported-by: Tom Gillespie
Bug: https://github.com/jgm/pandoc/issues/4726
Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/725
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2018-06-24 13:09:07 +02:00
John MacFarlane
ee84687d25 Update manual on how math is rendered in LaTeX. 2018-06-24 13:03:01 +02:00
John MacFarlane
adbaaeaf9b Raise lower bound for yaml library.
Closes #4726.
2018-06-23 10:46:02 +02:00
Mauro Bieg
9149155fda MANUAL.txt add proxy description (#4707)
closes #4131
2018-06-14 09:38:47 -07:00
John MacFarlane
48a505c5a0 Markdown reader: allow empty code spans.
E.g. `` ` ` ``.
2018-06-13 11:12:10 -07:00
John MacFarlane
e9b81bf5c4 MANUAL: Clarify that --toc requires --standalone. See #4703. 2018-06-13 11:04:31 -07:00
Mauro Bieg
7e477db95c LaTeX Reader: parse figure label into Image id (#4704)
closes #4700
2018-06-13 10:41:30 -07:00
Raymond Ehlers
2c1a309c9f Beamer: Allow "noframenumbering" option (#4696)
As noted [here](https://tex.stackexchange.com/a/49805) ([beamer
commit here](ff70090f36)),
`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 10:39:20 -07:00
John MacFarlane
07bce91f4f Allow --template to take a URL argument. 2018-06-12 10:33:34 -07:00
wiefling
e499769dc0 Citation styles link updated (#4699) 2018-06-12 10:05:51 -07:00
John MacFarlane
4173460689 reveal.js writer and template: reuse mathjax URL...
...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 09:35:27 -07:00
John MacFarlane
1e45bb0041 LaTeX reader: allow spaces around \graphicspath arguments.
Closes #4698.
2018-06-12 09:25:42 -07:00
Alexander Krotov
b6305a63cd FB2 writer: convert Plain to Para in annotation
Address #2424
2018-06-12 15:32:30 +03:00
Alexander Krotov
54d16545c9 FB2 writer: fix order of items in title-info
Address issue #2424
2018-06-12 14:48:52 +03:00
John MacFarlane
8b4728e284 Use latest pandoc-types (1.17.5). 2018-06-11 11:05:48 -07:00
John MacFarlane
a41222db3e Adjust command test not to use echo.
This is fraught on Windows.
2018-06-11 10:53:56 -07:00