Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-04-20 | Docx writer: extract Table handling into separate module | Albert Krewinkel | 3 | -221/+121 | |
2021-04-19 | Fix nightly build. | John MacFarlane | 1 | -2/+2 | |
2021-04-19 | Issue error message when reader or writer format is malformed. | John MacFarlane | 2 | -6/+6 | |
Previously we exited with an error status but (due to a bug) no message. Closes #7231. | |||||
2021-04-18 | Use MetaInlines not MetaBlocks for multimarkdown metadata fields. | John MacFarlane | 2 | -1/+21 | |
This gives better results in converting to e.g. pandoc markdown. Ref: <https://groups.google.com/d/msgid/pandoc-discuss/9728d1f4-040e-4392-aa04-148f648a8dfdn%40googlegroups.com> | |||||
2021-04-18 | CI: Use cabal 2.4 even with ghc 8.0.2 | John MacFarlane | 1 | -2/+2 | |
2021-04-18 | Use lastest citeproc. | John MacFarlane | 2 | -2/+2 | |
2021-04-18 | Use lastest unicode-collation. | John MacFarlane | 2 | -2/+2 | |
2021-04-18 | MANUAL: Add information about `lang` and bibliography sorting. | John MacFarlane | 1 | -10/+17 | |
2021-04-17 | Update to released unicode-collation, latest citeproc dev version. | John MacFarlane | 16 | -30/+20 | |
Update citeproc test. | |||||
2021-04-17 | Use document's lang for the lang parameter of citeproc... | John MacFarlane | 1 | -2/+1 | |
even if it differs from localeLanguage. (It is designed to be possible to override the locale language, and this is especially useful when one wants to use the unicode extension syntx, e.g. fr-u-kb.) | |||||
2021-04-17 | Use BCP47 language codes in citeproc tests. | John MacFarlane | 3 | -4/+4 | |
2021-04-17 | Remove Text.Pandoc.BCP47 module. | John MacFarlane | 20 | -294/+198 | |
[API change] Use Lang from UnicodeCollation.Lang instead. This is a richer implementation of BCP 47. | |||||
2021-04-17 | Move getLang from BCP47 -> T.P.Writers.Shared. | John MacFarlane | 6 | -74/+77 | |
[API change] | |||||
2021-04-17 | Use new citeproc + unicode-collation. | John MacFarlane | 3 | -1/+145 | |
Add command test for unicode-collation. | |||||
2021-04-16 | JATS writer: reduce unnecessary use of <p> elements for wrapping | Albert Krewinkel | 7 | -144/+166 | |
The `<p>` element is used for wrapping in cases were the contents would otherwise not be allowed in a certain context. Unnecessary wrapping is avoided, especially around quotes (`<disp-quote>` elements). Closes: #7227 | |||||
2021-04-15 | Use latest xml-conduit. | John MacFarlane | 2 | -1/+2 | |
2021-04-10 | JATS writer: convert spans to <named-content> elements | Albert Krewinkel | 2 | -6/+22 | |
Spans with attributes are converted to `<named-content>` elements instead of being wrapped with `<milestone-start/>` and `<milestone-end>` elements. Milestone elements are not allowed in documents using the articleauthoring tag set, so this change ensures the creation of valid documents. Closes: #7211 | |||||
2021-04-10 | JATS writer: add footnote number as label in backmatter | Albert Krewinkel | 3 | -12/+17 | |
Footnotes in the backmatter are given the footnote's number as a label. The articleauthoring output is unaffected from this change, as footnotes are placed inline there. Closes: #7210 | |||||
2021-04-08 | Fix regression in grid tables for wide characters. | John MacFarlane | 2 | -5/+41 | |
In the translation from String to Text, a char-width-sensitive splitAt' was dropped. This commit reinstates it. Closes #7214. | |||||
2021-04-08 | Lua filter: respect Inlines/Blocks filter functions in pandoc.walk_* | Albert Krewinkel | 2 | -3/+10 | |
2021-04-05 | Commonmark writer: Use backslash escapes for `<` and `|`... | John MacFarlane | 2 | -1/+17 | |
instead of entities. Closes #7208. | |||||
2021-04-05 | SelfContained: remove unneeded imports. | John MacFarlane | 1 | -2/+0 | |
2021-04-05 | JATS writer: escape disallows chars in identifiers | Albert Krewinkel | 5 | -109/+162 | |
XML identifiers must start with an underscore or letter, and can contain only a limited set of punctuation characters. Any IDs not adhering to these rules are rewritten by writing the offending characters as Uxxxx, where `xxxx` is the character's hex code. | |||||
2021-04-05 | SelfContained: use application/octet-stream for unknown mime types... | John MacFarlane | 1 | -5/+4 | |
instead of halting with an error. Closes #7202. | |||||
2021-04-03 | Fix typo (#7200) | obcat | 1 | -1/+1 | |
2021-04-02 | Fix "phrase" in DocBook: take classes from "role" not "class". | John MacFarlane | 1 | -1/+1 | |
Closes #7195. Revises #6438. | |||||
2021-04-01 | Org writer: Use LaTeX style maths deliminators (#7196) | tecosaur | 2 | -9/+9 | |
Org works better with LaTeX-style delimiters. | |||||
2021-03-31 | Treat tabs as spaces in ODT Reader. (#7185) | niszet | 4 | -1/+9 | |
2021-03-31 | Require text for trypandoc (#7193) | Roman Beránek | 1 | -1/+1 | |
2021-03-30 | Update org.md (#7189) | Anti-Distinctlyminty | 1 | -2/+1 | |
SELECT_TAGS supported since ac83b9c37c39a49878e7d864fb276c0e4caed338 | |||||
2021-03-29 | Powerpoint writer: allow monofont to be specified in metadata... | John MacFarlane | 2 | -6/+19 | |
...not just using `--variable` on the command line (as in other writers). Closes #7187. | |||||
2021-03-28 | Fixed typo #7159 | TatianaPorras | 1 | -1/+1 | |
This commit fixes the typo in the Lua filters documentation, see #7159 | |||||
2021-03-28 | Fixed "The this" typo in lua-filters.md | TatianaPorras | 1 | -1/+1 | |
The documentation for Lua filters said "The this module defines..." This has been fixed to say "This module defines..." | |||||
2021-03-24 | Allow attoparsec 0.14.x. | John MacFarlane | 1 | -1/+1 | |
2021-03-24 | Fix DocBook reader mathml regression... | John MacFarlane | 4 | -5/+147 | |
...caused by the switch in XML libraries. Also fixed a similar issue in JATS. Closes #7173. | |||||
2021-03-22 | Require latest skylighting (fixes a bug in XML syntax highlighting). | John MacFarlane | 2 | -4/+4 | |
2021-03-21 | Simplify T.P.Asciify and export toAsciiText [API change]. | John MacFarlane | 3 | -395/+18 | |
Instead of encoding a giant (and incomplete) map, we now just use unicode-transforms to normalize the text to a canonical decomposition, and manipulate the result. The new `toAsciiText` is equivalent to the old `T.pack . mapMaybe toAsciiChar . T.unpack` but should be faster. | |||||
2021-03-20 | Update changelog, AUTHORS. | John MacFarlane | 2 | -36/+56 | |
2021-03-20 | Support `yaml_metadata_block` extension form commonmark, gfm. | John MacFarlane | 4 | -1/+50 | |
This is a bit more limited than with markdown, as documented in the manual: - The YAML block must be the first thing in the input. - The leaf notes are parsed in isolation from the rest of the document. So, for example, you can't use reference links if the references are defined later in the document. Closes #6537. | |||||
2021-03-20 | Move yamlMetaBlock from Markdown reader to T.P.Readers.Metadata. | John MacFarlane | 2 | -22/+22 | |
2021-03-20 | Markdown reader: export `yamlMetaBlock`. | John MacFarlane | 1 | -17/+23 | |
[API change] This will allow us to parse YAML metadata blocks in other readers, potentially. | |||||
2021-03-20 | Text.Pandoc.Parsing: remove F type synonym. | John MacFarlane | 5 | -9/+9 | |
Muse and Org were defining their own F anyway, with their own state. We therefore move this definition to the Markdown reader. | |||||
2021-03-20 | T.P.Readers.Metadata: made `yamlBsToMeta`, `yamlBsToRefs` polymorphic... | John MacFarlane | 1 | -15/+15 | |
on the parser state, instead of requiring ParserState. [API change] | |||||
2021-03-20 | RST writer: use NonEmpty for init, last. | John MacFarlane | 1 | -8/+12 | |
2021-03-20 | Include Header.Attr.attributes as XML attributes on section | Erik Rask | 2 | -2/+82 | |
Add key-value pairs found in the attributes list of Header.Attr as XML attributes on the corresponding section element. Any key name not allowed as an XML attribute name is dropped, as are keys with invalid values where they are defined as enums in DocBook, and xml:id (for DocBook 5)/id (for DocBook 4) to not intervene with computed identifiers. | |||||
2021-03-20 | Add date on changelog | John MacFarlane | 1 | -1/+1 | |
2021-03-20 | Update man page and manual date. | John MacFarlane | 2 | -3/+3 | |
2021-03-20 | Bump to 2.13, update changelog | John MacFarlane | 2 | -6/+48 | |
2021-03-20 | T.P.Shared: remove `backslashEscapes`, `escapeStringUsing`. | John MacFarlane | 8 | -47/+77 | |
[API change] These are inefficient association list lookups. Replace with more efficient functions in the writers that used them (with 10-25% performance improvements in haddock, org, rtf, texinfo writers). | |||||
2021-03-19 | Tests: Use getExecutablePath from base... | John MacFarlane | 4 | -5/+3 | |
avoiding the need to depend on the executable-path package. |