Commit graph

9705 commits

Author SHA1 Message Date
John MacFarlane
a1f7a4263f Class: add stRequestHeaders to CommonState, and setRequestHeader. 2017-10-15 22:09:28 -07:00
John MacFarlane
5e1c422389 Handle unknown options in form --latex-engine=foo.
Previously these were not triggering the helpful message
about option name changes.
2017-10-15 18:27:48 -07:00
John MacFarlane
eb508c1330 Merge pull request #3970 from d-dorazio/master
markdown writer: always write bracketed_spans' attributes
2017-10-13 14:02:01 -04:00
John MacFarlane
6934b921b3 CommonMark writer: omit "fig:" prefix in image titles.
This is used internally to indicate internal figures.
See https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8
975cea8df0f@googlegroups.com?utm_medium=email&utm_source=footer
2017-10-13 10:36:27 -07:00
d-dorazio
8dd8f492c1 markdown writer: always write bracketed_spans' attributes 2017-10-13 12:00:28 +02:00
John MacFarlane
3720005c53 .travis.yml - move 7.10 and 8.0 out of accepted failures. 2017-10-12 21:57:51 -07:00
John MacFarlane
7e0167dccc .travis.yml - use -j2 on build. 2017-10-12 15:27:35 -07:00
John MacFarlane
c3dca0923c More travis tweaks. 2017-10-12 15:15:40 -07:00
John MacFarlane
9adc07850c .travis.yml - try with -j1. 2017-10-12 13:58:54 -07:00
John MacFarlane
ef6a9266a7 More travis tweaks: try without -j, add -O0 again. 2017-10-12 13:07:07 -07:00
John MacFarlane
895936948b .travis.yml - use --fast and --disable-optimization rather than -O0. 2017-10-12 12:25:34 -07:00
John MacFarlane
5c7308c572 .travis.yml - use -v3 in cabal builds to debug. 2017-10-12 12:13:32 -07:00
John MacFarlane
d94116bf47 .travis.yml tweaks: use ulimit, --ghc-options for cabal build. 2017-10-12 11:54:45 -07:00
John MacFarlane
62487bd69f appveyor.yml: added skip_commits. 2017-10-12 11:28:32 -07:00
John MacFarlane
27b1581d78 Updated authors in MANUAL.txt. 2017-10-11 22:39:47 -07:00
John MacFarlane
75d8c99c73 ConTeXt writer: Use identifiers for chapters.
Closes #3968.
2017-10-11 20:21:55 -07:00
John MacFarlane
71e4543cc0 Travis: allow failure for ghc 7.10.3 build. 2017-10-11 16:04:27 -07:00
John MacFarlane
b16e1628d4 Merge pull request #3965 from labdsf/fb2poem
FB2 Writer: format LineBlock as poem
2017-10-11 13:03:57 -04:00
John MacFarlane
18affd488e Use latest pandoc-citeproc. 2017-10-11 09:54:17 -07:00
John MacFarlane
c9bd77736b Added hs-bibutils to stack.pgk.yaml. 2017-10-11 08:57:30 -07:00
John MacFarlane
0eb61ae5cb Revert "appveyor tweak - maybe this will help with the build issue."
This reverts commit c40768b28a.
2017-10-11 08:56:24 -07:00
John MacFarlane
c40768b28a appveyor tweak - maybe this will help with the build issue. 2017-10-11 08:53:21 -07:00
Alexander Krotov
00013c21eb FB2 Writer: format LineBlock as poem
Previously writer produced one paragraph with <empty-line/> elements,
which are not allowed inside <p> according to FB2 schema.
2017-10-11 12:34:02 +03:00
John MacFarlane
0ff96117d3 Use latest pandoc-citeproc in stack.pkg.yaml. 2017-10-10 13:06:26 -07:00
John MacFarlane
46061ea023 Merge pull request #3963 from agusmba/issue3901
docx writer - activate evenAndOddHeaders from reference doc
2017-10-10 15:06:38 -04:00
John MacFarlane
7ada0d11aa Allow travis ghc 8.0.2 cabal build to fail. It always times out. 2017-10-10 09:02:42 -07:00
Agustín Martín Barbero
cdb9efa823 docx writer - activate evenAndOddHeaders from reference doc
Fixes #3901 by checking for the evenAndOddHeaders mark in the
reference doc, and copying it to the resulting docx if present.
2017-10-10 00:58:25 +02:00
John MacFarlane
4a7b039f2d Travis: added some 'date' commands...
so we can try to see why builds are failing with timeout.
2017-10-09 09:08:33 -07:00
Alexander Krotov
4bfcbbfc30 FB2 writer: replace concatMap with cMap 2017-10-09 19:04:10 +03:00
Alexander Krotov
81d28412d0 hlint FB2 writer 2017-10-09 18:08:27 +03:00
John MacFarlane
8cd1e00bbc Add test - closes #3958. 2017-10-08 21:57:26 -07:00
John MacFarlane
7d2ff7ed6d Shared.stringify, removeFormatting: handle Quoted better.
Previously we were losing the qutation marks in Quoted
elements.  See #3958.
2017-10-08 21:55:57 -07:00
John MacFarlane
ad13189c8f LaTeX reader: don't treat "..." as Quoted.
This caused quotes to be omitted in `\texttt` contexts.

Closes #3958.

However, a better fix would be to modify the
2017-10-08 21:11:58 -07:00
John MacFarlane
fdaae5aec5 Small logic fix. 2017-10-08 09:53:03 -07:00
Albert Krewinkel
f176ad6f21
Org reader: end footnotes after two blank lines
Footnotes can not only be terminated by the start of a new footnote or a
header, but also by two consecutive blank lines.
2017-10-08 14:17:26 +02:00
John MacFarlane
89f1362660 Use mathjax 2.7.2 by default. 2017-10-06 21:12:54 -07:00
John MacFarlane
c0b3f7fc60 Removed redundant import 2017-10-06 20:29:11 -07:00
John MacFarlane
50de421ec5 Merge pull request #3955 from bucklereed/read-latex-languages
LaTeX reader: read polyglossia/babel \text($LANG){...}.
2017-10-06 23:26:57 -04:00
bucklereed
c359bdd9b1 LaTeX reader: read polyglossia/babel \text($LANG){...}. 2017-10-06 12:17:50 +01:00
John MacFarlane
23eaf2a74f KaTeX fixes:
* In Options.HTMLMathMethod, the KaTeX contsructor now takes only
  one string (for the KaTeX base URL), rather than two [API change].
* The default URL has been updated to the latest version.
* The autoload script is now loaded by default.
2017-10-05 10:08:04 -07:00
Albert Krewinkel
12f8efe012
pandoc.lua: throw better error when pipe command fails
A table containing the error code, command, and command output is thrown
instead of just a string error message.
2017-10-05 11:41:59 +02:00
Albert Krewinkel
2262f005ce
Use hslua v0.9.0 2017-10-05 11:30:44 +02:00
Albert Krewinkel
0e54d51d89
lua-filters.md: fix link to module documentation 2017-10-04 13:20:41 +02:00
John MacFarlane
9b69e6bdf2 travis: try removing travis_wait. 2017-10-03 20:44:27 -07:00
John MacFarlane
e7ee5413b5 Use latest texmath. 2017-10-03 17:48:45 -07:00
John MacFarlane
d4f48e772d Added abc.lua example to lua-filters documentation.
Also fixed docs for `pipe`.
2017-10-03 14:20:48 -07:00
John MacFarlane
c936714197 Use latest texmath. 2017-10-03 13:57:36 -07:00
John MacFarlane
6dbf8bab07 Merge pull request #3951 from greut/patch-1
Load Google Font using HTTPS by default
2017-10-03 16:43:55 -04:00
John MacFarlane
582169cdca Merge pull request #3952 from tarleb/lua-pipe-wrapper
Lua pipe wrapper
2017-10-03 15:36:23 -04:00
John MacFarlane
d259e7e5b5 Use latest pandoc-citeproc for pkg build. 2017-10-03 12:00:15 -07:00