Commit graph

11286 commits

Author SHA1 Message Date
John MacFarlane
9dac993835 Added Text.Pandoc.Readers.LaTeX.Parsing (unexported).
This collects some of the general-purpose code from the LaTeX
reader, with the aim of making the module smaller. (We've been
having out-of-memory issues compiling this module on CI.)
2018-09-28 10:33:32 -07:00
leungbk
4f9ab7e032 Parse empty argument array in inline src blocks.
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`.
2018-09-28 14:05:14 +02:00
John MacFarlane
c07b9aebc2 Version to 2.3.1. 2018-09-27 23:09:06 -07:00
John MacFarlane
e6e1176da3 Update changelog, AUTHORS.md. 2018-09-27 22:23:12 -07:00
John MacFarlane
0b3e885a00 HTML writer: avoid adding extra section nestings for revealjs.
Previously revealjs title slides at level (slidelevel - 1)
were nested under an extra section element, even when
the section contained no additional (vertical) content.
That caused problems for some transition effects.
See hakimel/reveal.js#1947.
2018-09-27 21:09:03 -07:00
John MacFarlane
53657798cd JATS writer: remove 'role' attribute on 'bold' and 'sc' elements.
The JATS spec does not allow these.

Closes #4937.
2018-09-27 13:18:06 -07:00
John MacFarlane
99aae5d7cd HTML writer: omit unknown attributes in EPUB2 output.
This allows users to include `epub:type` attributes, which
will be passed through to epub3 but not epub2.
2018-09-27 09:47:22 -07:00
John MacFarlane
13f8f3c1a8 HTML, Muse reader tests: reduce time taken by round-trip test. 2018-09-27 09:47:09 -07:00
Mauro Bieg
b69f7d8810
MANUAL: epub:type is only useful for epub3 2018-09-27 12:15:20 +02:00
John MacFarlane
1ce7afb476 appveyor - Removed new-clean. 2018-09-26 23:45:43 -07:00
John MacFarlane
f9fba831c6 Fixed appveyor improvemnets. 2018-09-26 23:39:18 -07:00
John MacFarlane
3fb99b078f More appveyor improvements. 2018-09-26 23:37:29 -07:00
John MacFarlane
4461134b14 Added 'allow-newer' to cabal.project. 2018-09-26 22:20:14 -07:00
John MacFarlane
4e22de1fcd appveyor - different try with 'new-test'. 2018-09-26 18:26:54 -07:00
John MacFarlane
91ef25a59e appveyor - single quote cache. 2018-09-26 18:17:32 -07:00
John MacFarlane
b5e123cc3a appveyor - remove old stack stuff; revise to run new-test. 2018-09-26 17:43:18 -07:00
John MacFarlane
0d24515f17 appveyor - fix problem when cached cabal db already exists. 2018-09-26 09:04:51 -07:00
leungbk
6e8f31dab1 Force inline code blocks to honor export options.
`exportsCode` is moved from `Blocks.hs` to `Shared.hs` and exported accordingly.
2018-09-26 08:49:13 +02:00
John MacFarlane
3d6aa51b6d appveyor - comment out caching of STACK_ROOT. 2018-09-25 23:36:21 -07:00
John MacFarlane
a1524bb1a3 appveyor - fix typo. 2018-09-25 23:34:02 -07:00
John MacFarlane
58e3091e64 appveyor - add cabal options, run tests. 2018-09-25 23:24:05 -07:00
John MacFarlane
d74b4d0788 appveyor - add 64-bit cabal build. 2018-09-25 23:14:23 -07:00
John MacFarlane
a96ebe9924 appveyor - fixed forfiles. 2018-09-25 22:06:52 -07:00
John MacFarlane
16b1674d30 appveyor - Remove -p from mkdir. 2018-09-25 21:53:14 -07:00
John MacFarlane
7886ddd1c3 appveyor - another try with forfiles. 2018-09-25 21:16:54 -07:00
John MacFarlane
7a80c3e317 appveyor - allow RDP access on finish (temporary for debugging). 2018-09-25 21:12:00 -07:00
Brian Leung
72363cd2fc Add support for multiprenote and multipostnote arguments in LaTeX. (#4930)
* Add support for multiprenote and multipostnote arguments.

The multiprenotes occur before the first prefix of a
multicite, and the multipostnotes follow the last suffix.

* Add test for multiprenote and multipostnote.
2018-09-25 20:49:13 -07:00
John MacFarlane
881a1e0145 Add texmath to cabal.project. 2018-09-25 19:00:34 -07:00
John MacFarlane
b3ada2f11b cabal.project - use source repository stanzas. 2018-09-25 17:48:33 -07:00
John MacFarlane
438fb9c7cb appveyor - use github version of memory for now with ghc 8.6. 2018-09-25 17:14:45 -07:00
John MacFarlane
8f5ffd4470 appveyor - clone pandoc-citeproc into vendor/. 2018-09-25 15:25:12 -07:00
John MacFarlane
225062a2bc cabal.project - use vendor/*/*.cabal. 2018-09-25 15:24:22 -07:00
John MacFarlane
26f762b0e7 appveyor - git clone pandoc-citeproc repo. 2018-09-25 15:23:24 -07:00
John MacFarlane
cc993460be cabal.project - use ./pandoc-citeproc. 2018-09-25 15:23:02 -07:00
John MacFarlane
cef2a57b13 appveyor - Put cabal unpack in right place. 2018-09-25 15:15:55 -07:00
John MacFarlane
d98e9cba8b appveyor - Unpack pandoc-citeproc. 2018-09-25 15:08:59 -07:00
John MacFarlane
cbdf7f4199 Added cabal.project. 2018-09-25 15:07:46 -07:00
John MacFarlane
efddb1b6aa appveyor - added &&. 2018-09-25 14:39:54 -07:00
John MacFarlane
c324d43d15 appveyor - use forfiles and cabal new-build.
new-install symlinks don't work on windows.
2018-09-25 14:29:52 -07:00
John MacFarlane
1dd9b9141a appveyor - try manually creating package.db. 2018-09-25 14:08:26 -07:00
John MacFarlane
1a7958f64b appveyor - another attempt. 2018-09-25 14:00:13 -07:00
John MacFarlane
a9a0032c71 appveyor - use --allow-newer 2018-09-25 13:52:36 -07:00
John MacFarlane
9067059561 appveyor - workaround for bug in new-install. 2018-09-25 13:43:27 -07:00
John MacFarlane
49cc585003 Revert "appveyor - remove cabal_store for now."
This reverts commit 2927d1e12a.
2018-09-25 13:39:19 -07:00
John MacFarlane
2927d1e12a appveyor - remove cabal_store for now. 2018-09-25 12:39:04 -07:00
John MacFarlane
c85fc92a21 appveyor - remove ghc --version. 2018-09-25 12:31:51 -07:00
John MacFarlane
e45ad7415c appveyor - Another try. 2018-09-25 12:12:57 -07:00
John MacFarlane
13d1db18a0 appveyor - hopefully fix path. 2018-09-25 12:04:27 -07:00
John MacFarlane
9f118c34a5 appveyor: another try. 2018-09-25 11:08:22 -07:00
John MacFarlane
048455d38d appveyor - Further diganostics. 2018-09-25 10:47:35 -07:00