Albert Krewinkel
4d16239100
CI: test with GHC 8.6.5
2019-05-01 21:28:37 +02:00
Herbert Valerio Riedel
75b2db9a84
Don't advertise base-4.8 support anymore ( #5455 )
...
Problem is that blaze-html provides the Semigroup instance for Html
conditionally only for base >= 4.9
2019-04-17 14:19:21 -07:00
John MacFarlane
1e6c6b449f
Allow QuickCheck 2.13.
2019-04-17 08:26:55 -07:00
John MacFarlane
d50f2a0bf6
Update copyright year
2019-04-09 09:16:19 -07:00
John MacFarlane
0e37ed9f50
Use cmark-gfm 0.2.0.
2019-04-09 09:15:49 -07:00
John MacFarlane
cfcc2a3f3e
Bump to 2.7.2, update changelog.
2019-04-05 15:10:18 -07:00
Jesse Rosenthal
b99188c44c
Update pandoc.cabal with new pptx files.
2019-04-05 09:15:49 -04:00
John MacFarlane
312b4b69b6
Add templates/default.xwiki to cabal data files.
2019-04-03 08:20:05 -07:00
John MacFarlane
976929a4a4
Add test/writer.xwiki to cabal extra-source-files.
2019-04-02 16:45:28 -07:00
John MacFarlane
4ed247ec87
Add xwiki to cabal description
2019-04-02 16:45:20 -07:00
Derek Chen-Becker
45944b51a0
Add XWiki Support ( #4167 )
...
Add XWiki Support
Closes #1800
2019-04-02 17:27:02 -06:00
John MacFarlane
2138ef8239
ipynb reader: avoid introducing spurious .0
on integers in metadata.
2019-03-27 16:52:17 -07:00
John MacFarlane
3ecc8d154b
Drop support for ghc < 8.
2019-03-27 11:38:24 -07:00
John MacFarlane
957314143f
Improve pdfSize in ImageSize.
...
Improves fix to #4322 .
2019-03-20 12:25:09 -07:00
John MacFarlane
cdad322a98
Use cmark-gfm-0.1.8.
2019-03-13 21:16:51 -07:00
John MacFarlane
1749a5924b
Updated tested-with.
2019-03-13 20:58:54 -07:00
John MacFarlane
28394f8d8c
Bump to 2.7.1
2019-03-13 20:57:58 -07:00
John MacFarlane
514a729946
Revise last commit, adding an upper bound for cmark-gfm.
2019-03-13 15:51:41 -07:00
John MacFarlane
1e4bc70280
Exclude cmark-gfm-hs 0.1.7, which is buggy.
2019-03-13 15:48:40 -07:00
John MacFarlane
3eb50cc2e9
Require texmath 0.11.2.1
2019-03-02 16:29:59 -08:00
John MacFarlane
4774cf507e
Bump version to 2.7.
2019-03-02 15:06:53 -08:00
John MacFarlane
0bed0ab5a3
Use XDG data directory for user data directory.
...
Instead of `$HOME/.pandoc`, the default user data directory is
now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to
`$HOME/.local/share` but can be overridden by setting the environment
variable.
If this directory is missing, then `$HOME/.pandoc` is searched
instead, for backwards compatibility. However, we recommend
moving local pandoc data files from `$HOME/.pandoc` to
`$HOME/.local/share/pandoc`.
On Windows the default user data directory remains the same.
Closes #3582 .
2019-03-02 15:03:59 -08:00
John MacFarlane
be14a95f07
Use latest skylighting.
...
This should fix #5328 .
2019-02-27 22:14:01 -08:00
Albert Krewinkel
331d6224a1
T.P.Lua: split StackInstances into smaller Marshaling modules
2019-02-16 12:08:22 +01:00
John MacFarlane
b1c964d725
Bump to 2.6.1.
2019-02-10 14:26:33 -08:00
John MacFarlane
b6cf490efd
Use latest skylighting.
2019-02-10 08:06:53 -08:00
John MacFarlane
1cdbb896f6
Added simple ipynb reader/writer tests.
...
Closes #5274 .
2019-02-09 14:53:30 -08:00
TG
568b25d33a
Adds Asciidoctor sprcific writer and tests
2019-02-09 08:21:53 -08:00
John MacFarlane
2da9090adc
Use latest basement/foundation on 32bit windows.
2019-02-08 09:29:09 -08:00
John MacFarlane
424ec937e0
cabal - prevent using basement 0.0.10 on 32-bit windows.
...
It is broken, see https://github.com/haskell-foundation/foundation/issues/515
2019-02-06 17:19:58 -08:00
leungbk
ac83b9c37c
Org reader: add support for #+SELECT_TAGS.
2019-01-30 18:27:38 +01:00
John MacFarlane
395ea03069
Support ipynb (Jupyter notebook) as input and output format.
...
[API change]
* Depend on ipynb library.
* Add `ipynb` as input and output format.
* Added Text.Pandoc.Readers.Ipynb (supports both nbformat v3 and v4).
* Added Text.Pandoc.Writers.Ipynb (supports nbformat v4).
* Added ipynb readers and writers to T.P.Readers,
T.P.Writers, and T.P.Extensions. Register the
file extension .ipynb for this format.
* Add `PandocIpynbDecodingError` constructor to Text.Pandoc.Error.Error.
* Note: there is no template for ipynb.
2019-01-22 21:45:59 -08:00
Brian Leung
35971495ab
RST reader: change treatment of number-lines
directives. ( #5207 )
...
Directives of this type without numeric inputs should not have a
`startFrom` attribute; with a blank value, the writers can produce
extra whitespace.
2019-01-09 22:19:26 -08:00
John MacFarlane
483012552a
Allow http-client 0.6.
2019-01-09 08:43:41 -08:00
Alexander
40c30a9d88
Add DokuWiki reader ( #5108 )
...
Closes #1792
2019-01-06 15:06:32 -08:00
John MacFarlane
fc87925b77
Tests: Fix findPandoc to work with Windows.
2019-01-04 18:36:15 -08:00
John MacFarlane
e8fba105a5
Removed custom Setup.hs, use build-type: simple.
...
The only thing we gained from the custom build was
automatic installation of the man page when using
'cabal install'. But custom builds cause problems,
e.g., with cross-compilation.
Installation of the man page is better handled by packagers.
Note to packagers (e.g. Debian): it may be necessary
to add a step installing the man page with the next
release.
2019-01-02 17:02:02 -08:00
John MacFarlane
39efcedf8a
Allow latest Glob.
2018-12-19 15:35:05 -08:00
John MacFarlane
48115fcf1a
Allow latest zip-archive.
2018-12-03 16:25:00 -08:00
John MacFarlane
3bf398b15f
Allow tasty 1.2
2018-12-02 09:10:33 -08:00
John MacFarlane
1a62e53c40
Require skylighting >= 0.7.5.
...
This adds support for sml, J, typescript.
2018-12-01 14:48:13 -08:00
John MacFarlane
945eed3a28
Bump to version 2.6 because of API change in read/writeJSON.
2018-11-29 12:57:27 -08:00
John MacFarlane
e02500afe8
Bump version to 2.5.
2018-11-22 22:18:37 -05:00
John MacFarlane
1a679a4d6e
LaTeX reader: cleaned up handling of dimension arguments.
...
Allow decimal points, preceding space.
Also require text 1.1+.
2018-11-19 00:17:22 -08:00
Albert Krewinkel
12f6cf13ad
T.P.App: extract submodule T.P.App.FormatHeuristics
...
Format guessing is used for input and output options and should be
shared.
2018-11-07 21:29:48 +01:00
Albert Krewinkel
dae3a0e3d2
T.P.App: extract Opt into separate module
...
The new Opt module has only a few dependencies. This is important for
compile-times during development, as Template Haskell containing modules
are be recompiled whenever a (transitive) dependency changes.
2018-11-06 21:31:12 +01:00
Albert Krewinkel
dc150df8e1
Add cabal flag derive_json_via_th
...
Disabling the flag will cause derivation of ToJSON and FromJSON
instances via GHC Generics instead of Template Haskell. The flag is
enabled by default, as deriving via Generics can be slow (see #4083 ).
2018-11-04 20:51:08 +01:00
Albert Krewinkel
418bd42df8
App: extract output settings into module
2018-11-03 10:07:47 -07:00
Albert Krewinkel
fd3c8cd8c7
App: extract command line options to separate module
2018-11-03 10:07:47 -07:00
John MacFarlane
6b7a7adcbf
Fix readWithM with Stream.
2018-11-02 20:26:36 -07:00