John MacFarlane
638c2ed460
Fix compiler warnings on ghc 8.8.
2019-10-04 07:20:51 -07:00
John MacFarlane
4ca1db0643
Require haddock-library >= 1.8
2019-10-04 07:20:48 -07:00
John MacFarlane
7746635a07
Enable ghc 8.8 on ci.
2019-10-03 22:42:10 -07:00
John MacFarlane
7caaa3d5d6
Minor ghc 8.8 fixups.
2019-10-03 22:41:24 -07:00
John MacFarlane
20c87962e3
Use texmath 0.11.3
2019-10-03 21:59:06 -07:00
John MacFarlane
4f75fed976
Don't use -Wnoncanonical-monadfail-instances which is deprecated in ghc 8.8.
2019-10-03 21:30:03 -07:00
John MacFarlane
78ff2234f4
Allow latest haddock-library.
2019-10-03 21:30:03 -07:00
Wandmalfarbe
94a10ea1a5
PR corrections.
2019-10-03 17:24:09 -07:00
Wandmalfarbe
3459700312
Add documentation for the variable hyperrefoptions
.
2019-10-03 17:24:09 -07:00
John MacFarlane
383023374b
Use latest skylighting.
2019-10-03 11:11:23 -07:00
Wandmalfarbe
b7a3e385e7
Add additional listings languages.
2019-10-03 08:54:31 -07:00
John MacFarlane
1981907c03
ci: fix linux path.
2019-10-02 08:52:22 -07:00
John MacFarlane
6644200a92
ci: properly fail if warnings on linux build.
2019-10-02 08:31:39 -07:00
John MacFarlane
1d4ea54aaa
ci: we don't need to install cabal/ghc manually, it seems.
2019-10-02 08:27:28 -07:00
John MacFarlane
dad5e0d083
CI tweaks.
2019-10-02 08:25:22 -07:00
John MacFarlane
89c916d830
Use latest skylighting-core.
...
Closes #5776 .
2019-09-30 22:48:10 -07:00
John MacFarlane
4212c09296
Use skylighting >= 0.8.2.2.
2019-09-30 22:48:10 -07:00
John MacFarlane
3727d6ec31
Regenerate README.md.
2019-09-30 10:47:00 -07:00
John MacFarlane
d0a090b605
Add badge for CI tests.
2019-09-30 10:46:41 -07:00
John MacFarlane
36a2df1d35
Fix trypandoc with getReader/getWriter changes.
2019-09-29 21:36:39 -07:00
John MacFarlane
ebea74dc35
Fix benchmarks so they compile again.
2019-09-29 18:29:49 -07:00
John MacFarlane
0b2dc480be
Minor reformatting of exit code table.
2019-09-29 16:33:57 -07:00
John MacFarlane
f03e8c2c6c
MANUAL: Use a table for exit codes.
2019-09-29 15:20:11 -07:00
John MacFarlane
054c30228d
MANUAL: Put all template variable docs into one section.
2019-09-29 15:14:46 -07:00
John MacFarlane
2956c695f6
MANUAL.txt - use axt headers consistently.
2019-09-29 15:09:41 -07:00
John MacFarlane
ac4067fe2e
MANUAL.txt: Add fuller documentation of templates.
...
Including new template syntax, partials, etc.
Closes #5779 .
2019-09-29 15:00:34 -07:00
John MacFarlane
0e02d5cacc
Update changelog.
2019-09-29 14:41:56 -07:00
John MacFarlane
18d11103f5
RST reader: don't strip final underscore from absolute URI.
...
Partially addresses #5763 .
2019-09-29 13:01:00 -07:00
John MacFarlane
746c92a41a
Raise error on unsupported extensions. Closes #4338 .
...
+ An error is now raised if you try to specify (enable or
disable) an extension that does not affect the given
format, e.g. `docx+pipe_tables`.
+ The `--list-extensions[=FORMAT]` option now lists only
extensions that affect the given FORMAT.
+ Text.Pandoc.Error: Add constructors `PandocUnknownReaderError`,
`PandocUnknownWriterError`, `PandocUnsupportedExtensionError`.
[API change]
+ Text.Pandoc.Extensions now exports `getAllExtensions`,
which returns the extensions that affect a given format
(whether enabled by default or not). [API change]
+ Text.Pandoc.Extensions: change type of `parseFormatSpec`
from `Either ParseError (String, Extensions -> Extensions)`
to `Either ParseError (String, [Extension], [Extension])`
[API change].
+ Text.Pandoc.Readers: change type of `getReader` so it returns
a value in the PandocMonad instance rather than an Either
[API change]. Exceptions for unknown formats and unsupported
extensions are now raised by this function and need not be handled by
the calling function.
+ Text.Pandoc.Writers: change type of `getWriter` so it returns
a value in the PandocMonad instance rather than an Either
[API change]. Exceptions for unknown formats and unsupported
extensions are now raised by this function and need not be handled by
the calling function.
2019-09-29 11:43:17 -07:00
John MacFarlane
03d4e6b9ef
More throwError in place of fail.
2019-09-28 14:45:38 -07:00
John MacFarlane
63a1e05dd1
Replace some more fails with throwErrors.
2019-09-28 13:42:37 -07:00
John MacFarlane
df74eea69a
Use throwError instead of fail when appropriate.
2019-09-28 12:36:09 -07:00
John MacFarlane
c86691fb84
Use Prelude.fail to avoid ambiguity with fail from GHC.Base.
2019-09-28 11:56:51 -07:00
John MacFarlane
981b5de790
MANUAL.txt: fixed some markdown errors.
2019-09-28 11:16:46 -07:00
John MacFarlane
3f4fc4474f
changelog.md: regularize date format.
2019-09-28 10:59:15 -07:00
John MacFarlane
e02a913137
Markdownify changelog -> changelog.md.
2019-09-28 10:46:41 -07:00
John MacFarlane
3b80a6adb4
Update changelog.
2019-09-28 10:22:22 -07:00
John MacFarlane
dd55e526e0
Update AUTHORS.md
2019-09-28 10:12:17 -07:00
John MacFarlane
c6aab850b5
Require doctemplates 0.6.1.
2019-09-27 22:36:58 -07:00
John MacFarlane
7d6783006a
LogMessage: change UnknownExtension -> CouldNotDeduceFormat
2019-09-27 09:27:56 -07:00
John MacFarlane
d98dde07c9
Used released pandoc-citeproc 0.16.3.
2019-09-25 18:03:57 -07:00
John MacFarlane
fe72c9bbe4
Use latest skylighting.
...
This addresses #5776 for now, though ultimately we need a
new release of regex-pcre-builtin or some other solution.
2019-09-25 17:36:17 -07:00
John MacFarlane
c40e0c9e62
GitHub ci - back to using ignore-paths.
...
paths with ! doesn't seem to do it.
2019-09-25 09:53:44 -07:00
John MacFarlane
22821ba2da
GitHub CI: use paths rather than paths-ignore, use branch to exclude rc/.
2019-09-25 09:22:26 -07:00
Nils Carlson
8028de3322
odt: Add external option for native numbering
...
This adds an external options +native_numbering to the
ODT writer enabling enumeration of figures and tables in
ODT output.
2019-09-24 15:23:59 -07:00
John MacFarlane
251e2b2d6d
Use latest texmath.
2019-09-24 15:14:13 -07:00
Eigil Rischel
d42308129a
LaTeX reader: Add 'tikzcd' to list of special environments.
...
This allows it to be processed by filters, in the same way that
one can do for 'tikzpicture'
2019-09-24 14:19:45 -07:00
John MacFarlane
dfb2a07539
Allow latest Diff.
2019-09-24 11:22:08 -07:00
John MacFarlane
570b96f4e8
Use pandoc-types 1.17.6.1
2019-09-24 09:39:00 -07:00
John MacFarlane
f223196c35
Man writer: suppress non-absolute link URLs.
...
Motivation: in a man page there's not much use for relative URLs,
which you can't follow. Absolute URLs are still useful. We previously
suppressed relative URLs starting with '#' (purely internal links),
but it makes sense to go a bit farther.
Closes #5770 .
2019-09-23 17:46:39 -07:00