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
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
John MacFarlane
3181023ca1
Add version bound in custom-setup for Cabal.
2018-05-30 15:12:42 -07:00
John MacFarlane
1e4255ced6
Require cabal-version >= 2.0. This is needed for haddock-library.
2018-05-30 13:16:16 -07:00
John MacFarlane
aff401745c
Revert "ALlow compilation with haddock-library 1.4 and above."
...
This reverts commit 50c71b5bc5
.
This was a bad idea, since tests depend on recent haddock-library.
We'd be able to build but fail tests.
2018-05-30 13:13:57 -07:00
John MacFarlane
50c71b5bc5
ALlow compilation with haddock-library 1.4 and above.
...
haddock-library-1.6 requires Cabal >= 2.0. This change allows
systems with older Cabal versions to build pandoc.
2018-05-30 13:06:44 -07:00
John MacFarlane
81ed7948da
Use haddock-library 1.6.0.
2018-05-20 17:05:23 -07:00
John MacFarlane
933aa3ee84
Require texmath >= 0.11.
...
Although pandoc compiles with 0.10, the tests assume texmath 0.11.
Closes #4651 .
2018-05-14 10:07:13 -07:00
John MacFarlane
ebb60075f5
Bump version to 2.2.1.
2018-05-10 21:45:29 -07:00
John MacFarlane
c3d2572c5f
Use texmath-0.11.
2018-05-10 12:10:35 -07:00
John MacFarlane
1494b20bb4
Document FB2 reader.
2018-04-26 12:35:02 -07:00
Alexander
1927bc9aac
Add FB2 reader ( #4539 )
2018-04-26 12:33:18 -07:00
John MacFarlane
16f36eee43
Removed deprecated ancient HTML math methods.
...
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`,
`--asciimathml` options.
Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from
`Text.Pandoc.Options.HTMLMathMethod` [API change].
Removed unneeded data file LaTeXMathML.js and updated tests.
Bumped version to 2.2.
2018-04-25 17:18:56 -07:00
Jesse Rosenthal
bb428df32b
Powerpoint writer: Remove docProps/thumbnail.jpeg in data dir.
...
This file wasn't used in the production of documents. It's supposed to
be a thumbnail of the current document, and we can't actually produce
that ourselves. It turns out that the file contains a nonfree ICC
color calibration file, so the best thing to do would be to remove it
altogether.
Fixes : #4588
2018-04-24 16:00:15 -04:00
Francesco Occhipinti
9465e5e048
use the -threaded
GHC flag when building benchmarks, related to #4130 ( #4587 )
2018-04-24 12:31:03 -07:00
John MacFarlane
c3d0cc9b8e
Bump to 2.1.4.
2018-04-11 17:24:19 -07:00
John MacFarlane
dd4e8c4a7a
Bump temporary upper bound to 1.4.
2018-04-11 09:45:17 -07:00
John MacFarlane
9dac007228
Make 'weigh-pandoc' into a benchmark program.
...
Remove 'weigh-pandoc' flag. This is now built (and run)
automatically when you build (and run) benchmarks.
2018-03-18 11:52:40 -07:00
John MacFarlane
937bec95a9
Removed old-locale flag and Text.Pandoc.Compat.Time.
...
This is no longer necessary since we no longer support ghc 7.8.
2018-03-18 11:24:29 -07:00
John MacFarlane
daf731a001
pandoc.cabal: fix up other-extensions and language fields.
...
language is now consistently Haskell2010, and other-extensions
is consistently NoImplicitPrelude. Everything else to be specified
in the module header as needed.
2018-03-18 10:45:32 -07:00
John MacFarlane
82ff503210
Fix what was missing in last commit.
2018-03-18 09:47:38 -07:00
John MacFarlane
dd53545154
New approach to custom Prelude.
...
We use no custom Prelude with the latest ghc version (8.4.1),
so we don't have problems with ghci.
See https://ghc.haskell.org/trac/ghc/ticket/10920
https://www.reddit.com/r/haskell/comments/3ryf2p/how_can_you_use_a_custom_prelude_with_ghci/
This may help with #4464 .
2018-03-18 09:20:21 -07:00
John MacFarlane
59903ec82c
Bump to 2.1.3, update changelog.
2018-03-17 19:00:20 -07:00
John MacFarlane
afb72f1857
Add semigroups dependency to executables...
...
since custom prelude depends on it.
2018-03-17 17:10:02 -07:00
John MacFarlane
fad8d0d67f
Allow earlier versions of haddock-library, use CPP.
2018-03-16 23:18:42 -07:00
John MacFarlane
c166861ee6
Require haddock-libary 1.5 (with tables).
2018-03-16 21:21:41 -07:00
John MacFarlane
424d0df1f2
Use latest pandoc-types.
2018-03-16 21:20:52 -07:00
John MacFarlane
e21b57991e
Added custom prelude.
...
We need this again because of Monoid/Semigroup.
2018-03-16 10:21:54 -07:00
John MacFarlane
bc2f4422b2
License to GPL-2 instead of GPL.
...
New cabal new-build seems to choke on GPL, even though it's
supposed to be legal.
2018-03-16 08:41:26 -07:00
John MacFarlane
1ac56f99df
Bump upper-bound for time, criterion, haddock-library, exceptions.
2018-03-15 23:48:19 -07:00
John MacFarlane
1b37e3b3c0
Require pandoc-types 1.17.4.
...
And a few tweaks related to the Semigroups/Monoid change.
Closes #4448 .
2018-03-13 23:23:04 -07:00
John MacFarlane
2f979e0684
BUmp upper bound for http-types.
2018-03-11 18:01:57 -07:00
John MacFarlane
0e45cc1297
Bump aeson upper bound.
2018-03-07 13:18:09 -08:00
Chris Martin
b16d36397d
pandoc.cabal: link to https version of the website ( #4433 )
2018-03-07 09:37:53 -08:00
Felix Yan
475f46fa7c
Allow tasty-quickcheck 0.10 ( #4429 )
...
Tests pass with the new test tool.
2018-03-05 09:35:16 -08:00
John MacFarlane
7518e8e00e
Allow skylighting 0.7.x.
2018-03-04 12:08:11 -08:00
John MacFarlane
554e9b80bd
Bump version to 2.1.2.
2018-03-02 10:54:03 -08:00
Alexander Krotov
83ce0a789d
Update tagsoup to 0.14.6
2018-02-28 07:00:14 +03:00
Albert Krewinkel
3560603f10
Set fixed minor version for hslua
...
The ToLuaStack instance for Set is orphaned. The PVP requires the minor
version to be fixed in this case.
2018-02-27 19:36:52 +01:00
Alexander Krotov
ab1bee58e5
Update tagsoup to 0.14.5
2018-02-27 15:02:59 +03:00
Alexander Krotov
19b4cb16f3
Update tagsoup to 0.14.4
...
Fixes #4282
2018-02-27 04:31:46 +03:00
Albert Krewinkel
6ed7926bb4
Org reader tests: move citation tests to separate module
2018-02-26 21:18:13 +01:00
John MacFarlane
bbca6f223f
Allow exceptions 0.9.
2018-02-26 09:16:59 -08:00
John MacFarlane
6baebcbe86
Removed ghc-prof-options.
...
As of cabal 1.24, sensible defaults are used.
See
https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-ghc-prof-options .
2018-02-25 23:43:01 -08:00
John MacFarlane
6b388971ea
Require aeson-pretty 0.8.5. Closes #4394 .
...
`confTrailingNewline` is introduced in this version.
2018-02-22 22:23:11 -08:00
Jesse Rosenthal
574104861f
Powerpoint writer: Another attempt at avoiding compiler warnings.
2018-02-18 18:54:16 -05:00
Jesse Rosenthal
6c6ac9f22e
Powerpoint writer: Move notes slides into data tree.
2018-02-18 16:31:32 -05:00
John MacFarlane
c501942866
Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9.
...
This is needed because the type constructor Empty in MarkupM
has changed, and the HTML writer assumes the constructor has
an argument.
Closes #4334 .
2018-02-01 10:08:53 -08:00
Jesse Rosenthal
a66bfd9071
Add docx golden tests to cabal file.
2018-01-27 08:09:01 -05:00
Jesse Rosenthal
61f80e795d
Tests: Abstract powerpoint tests out to OOXML tests.
...
There is very little pptx-specific in these tests, so we abstract out
the basic testing function so it can be used for docx as well. This
should allow us to catch some errors in the docx writer that slipped
by the roundtrip testing.
2018-01-25 15:29:50 -05:00