Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-30 | Use latest skylighting-core. | John MacFarlane | 1 | -1/+2 | |
Closes #5776. | |||||
2019-09-30 | Use skylighting >= 0.8.2.2. | John MacFarlane | 2 | -3/+3 | |
2019-09-30 | Regenerate README.md. | John MacFarlane | 1 | -0/+2 | |
2019-09-30 | Add badge for CI tests. | John MacFarlane | 1 | -0/+1 | |
2019-09-29 | Fix trypandoc with getReader/getWriter changes. | John MacFarlane | 1 | -2/+2 | |
2019-09-29 | Fix benchmarks so they compile again. | John MacFarlane | 1 | -13/+15 | |
2019-09-29 | Minor reformatting of exit code table. | John MacFarlane | 1 | -23/+24 | |
2019-09-29 | MANUAL: Use a table for exit codes. | John MacFarlane | 1 | -23/+25 | |
2019-09-29 | MANUAL: Put all template variable docs into one section. | John MacFarlane | 1 | -34/+38 | |
2019-09-29 | MANUAL.txt - use axt headers consistently. | John MacFarlane | 1 | -163/+85 | |
2019-09-29 | MANUAL.txt: Add fuller documentation of templates. | John MacFarlane | 2 | -84/+274 | |
Including new template syntax, partials, etc. Closes #5779. | |||||
2019-09-29 | Update changelog. | John MacFarlane | 1 | -4/+31 | |
2019-09-29 | RST reader: don't strip final underscore from absolute URI. | John MacFarlane | 1 | -3/+7 | |
Partially addresses #5763. | |||||
2019-09-29 | Raise error on unsupported extensions. Closes #4338. | John MacFarlane | 9 | -72/+263 | |
+ 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-28 | More throwError in place of fail. | John MacFarlane | 2 | -1/+3 | |
2019-09-28 | Replace some more fails with throwErrors. | John MacFarlane | 3 | -4/+9 | |
2019-09-28 | Use throwError instead of fail when appropriate. | John MacFarlane | 3 | -6/+14 | |
2019-09-28 | Use Prelude.fail to avoid ambiguity with fail from GHC.Base. | John MacFarlane | 17 | -38/+38 | |
2019-09-28 | MANUAL.txt: fixed some markdown errors. | John MacFarlane | 1 | -7/+7 | |
2019-09-28 | changelog.md: regularize date format. | John MacFarlane | 1 | -117/+113 | |
2019-09-28 | Markdownify changelog -> changelog.md. | John MacFarlane | 2 | -2133/+774 | |
2019-09-28 | Update changelog. | John MacFarlane | 1 | -2/+560 | |
2019-09-28 | Update AUTHORS.md | John MacFarlane | 1 | -0/+19 | |
2019-09-27 | Require doctemplates 0.6.1. | John MacFarlane | 1 | -1/+1 | |
2019-09-27 | LogMessage: change UnknownExtension -> CouldNotDeduceFormat | John MacFarlane | 3 | -6/+6 | |
2019-09-25 | Used released pandoc-citeproc 0.16.3. | John MacFarlane | 2 | -4/+2 | |
2019-09-25 | Use latest skylighting. | John MacFarlane | 2 | -2/+4 | |
This addresses #5776 for now, though ultimately we need a new release of regex-pcre-builtin or some other solution. | |||||
2019-09-25 | GitHub ci - back to using ignore-paths. | John MacFarlane | 1 | -30/+28 | |
paths with ! doesn't seem to do it. | |||||
2019-09-25 | GitHub CI: use paths rather than paths-ignore, use branch to exclude rc/. | John MacFarlane | 1 | -28/+33 | |
2019-09-24 | odt: Add external option for native numbering | Nils Carlson | 5 | -7/+96 | |
This adds an external options +native_numbering to the ODT writer enabling enumeration of figures and tables in ODT output. | |||||
2019-09-24 | Use latest texmath. | John MacFarlane | 2 | -1/+2 | |
2019-09-24 | LaTeX reader: Add 'tikzcd' to list of special environments. | Eigil Rischel | 1 | -0/+1 | |
This allows it to be processed by filters, in the same way that one can do for 'tikzpicture' | |||||
2019-09-24 | Allow latest Diff. | John MacFarlane | 1 | -1/+1 | |
2019-09-24 | Use pandoc-types 1.17.6.1 | John MacFarlane | 1 | -0/+1 | |
2019-09-23 | Man writer: suppress non-absolute link URLs. | John MacFarlane | 2 | -25/+25 | |
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 | ConTeXt unit tests - tweak code property. | John MacFarlane | 1 | -1/+1 | |
Inline code will never have two consecutive newlines. We get a counterexample in this case https://pipelines.actions.githubusercontent.com/bMXCpShstkkHbFPgw9hBRMWw2w9plyzdVM8r7CRPFBHFvidaAG/5cf52d2d-3804-412d-ae65-4f8c059b0fb7/_apis/pipelines/1/runs/116/signedlogcontent/39?urlExpires=2019-09-23T17%3A38%3A05.8358735Z&urlSigningMethod=HMACV1&urlSignature=Qtd6vnzqgSwXpAkIyp9DJY4Kn7GJzYMR8UDkLR%2FsMQY%3D so for simplicity we just weed out code with newlines. | |||||
2019-09-23 | Fix linux ci. | John MacFarlane | 1 | -1/+1 | |
2019-09-23 | pandoc.cabal: repeat ghc-options in all stanzas. | John MacFarlane | 1 | -4/+63 | |
2019-09-22 | Fix tests in linux ci (GitHub). | John MacFarlane | 1 | -1/+2 | |
2019-09-22 | Update pandoc-citeproc commit. | John MacFarlane | 2 | -2/+2 | |
2019-09-22 | Improve test #5753 | John MacFarlane | 1 | -2/+2 | |
2019-09-22 | Add HsYAML-aeson to stack.yaml. | John MacFarlane | 1 | -0/+1 | |
2019-09-22 | Fix cabal command in linux ci. | John MacFarlane | 1 | -1/+1 | |
2019-09-22 | Use latest pandoc-citeproc. | John MacFarlane | 2 | -2/+2 | |
2019-09-22 | Switch to lts-14 resolver and ghc 8.6. | John MacFarlane | 1 | -9/+1 | |
2019-09-22 | Require latest texmath. | John MacFarlane | 1 | -1/+1 | |
2019-09-22 | RST reader: Fixed parsing of indented blocks. | John MacFarlane | 2 | -6/+24 | |
We were requiring consistent indentation, but this isn't required by RST, as long as each nonblank line of the block has *some* indentation. Closes #5753. | |||||
2019-09-22 | [Docx Writer] Re-use Readers.Docx.Parse for StyleMap (#5766) | Nikolay Yakimov | 6 | -412/+387 | |
* [Docx Parser] Move style-parsing-specific code to a new module * [Docx Writer] Re-use Readers.Docx.Parse.Styles for StyleMap * [Docx Writer] Move Readers.Docx.StyleMap to Writers.Docx.StyleMap It's never used outside of writer code, so it makes more sense to scope it under writers really. | |||||
2019-09-22 | Make `plain` output plainer. | John MacFarlane | 6 | -96/+64 | |
Previously we used the following Project Gutenberg conventions for plain output: - extra space before and after level 1 and 2 headings - all-caps for strong emphasis `LIKE THIS` - underscores surrounding regular emphasis `_like this_` This commit makes `plain` output plainer. Strong and Emph inlines are rendered without special formatting. Headings are also rendered without special formatting, and with only one blank line following. To restore the former behavior, use `-t plain+gutenberg`. API change: Add `Ext_gutenberg` constructor to `Extension`. See #5741. | |||||
2019-09-22 | Use released doctemplates | John MacFarlane | 2 | -8/+1 | |