Commit graph

10921 commits

Author SHA1 Message Date
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
John MacFarlane
158344d26d Allow aeson-1.4. 2018-06-10 10:24:12 -07:00
John MacFarlane
edcfbccf5d Use skylighting 0.7.2. Adjust tests.
This should fix commercialhaskell/stackage#3719, once
a new release is made.
2018-06-09 13:34:21 -07:00
Felix Yan
9b3d14b6ef pandoc.lua: fix a typo (#4692) 2018-06-08 15:15:36 -07:00
John MacFarlane
c1ae8d00ee LaTeX writer: properly handle footnotes in table captions.
Refactored code from figure captions to use in both places.

Closes #4683.
2018-06-07 21:30:14 -07:00
Mauro Bieg
905dee6ee3 beamer output: fix single digit column percentage (#4691)
fixes #4690
2018-06-07 10:50:14 -07:00
Adrian Sieber
9536eb7c79 Add missing re-export of "breezeDark" style (#4687) 2018-06-05 09:50:34 -07:00
Felix Yan
cf2d695061 Allow tasty 1.1 (#4685)
All tests pass with tasty 1.1.0.1 here.
2018-06-03 13:59:47 -07:00
Mauro Bieg
764bf86177 Regression: make --pdf-engine work with full paths (#4682)
Fixes #4681.
2018-06-03 13:59:11 -07:00
John MacFarlane
6ea706256d Support --number-sections in RST output...
via the "section-numbering" directive in standalone output.
2018-06-02 21:37:15 -07:00
John MacFarlane
d32e866449 LaTeX reader: handle includes without surrounding blanklines.
In addition, `\input` can now be used in an inline context,
e.g. to provide part of a paragraph, as it can in LaTeX.

Closes #4553.
2018-06-01 09:25:10 -07:00
mb21
0fc7d38544 Muse reader: get rid of non-exhaustive pattern match warning 2018-06-01 15:36:36 +02:00
Alexander Krotov
5fbc981fc2 Muse reader: add support for floating images 2018-05-31 23:31:27 +03:00
John MacFarlane
3181023ca1 Add version bound in custom-setup for Cabal. 2018-05-30 15:12:42 -07:00
Alexander Krotov
1f78efff3b Muse reader: add support for images with specified width 2018-05-31 01:07:51 +03:00
John MacFarlane
f4b71d94f7 Travis: Added /opt/cabal/bin to path. 2018-05-30 14:30:55 -07:00
kaizhang91
5a0e21b992 Clarify how Ext_east_asian_line_breaks extension works (API docs).
Note that it will not take effect when readers/writers are called as libraries (#4674).
2018-05-30 13:43:58 -07:00
John MacFarlane
a8e1966857 Fixed cabal versions in travis. 2018-05-30 13:32:51 -07:00
John MacFarlane
efe3575796 Use cabal 2.0 in travis. 2018-05-30 13:17:05 -07:00
John MacFarlane
1e4255ced6 Require cabal-version >= 2.0. This is needed for haddock-library. 2018-05-30 13:16:16 -07:00