aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/JATS/Table.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-04-16JATS writer: reduce unnecessary use of <p> elements for wrappingAlbert Krewinkel1-3/+23
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-05JATS writer: escape disallows chars in identifiersAlbert Krewinkel1-2/+2
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-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel1-1/+1
2020-11-19JATS writer: support advanced table featuresAlbert Krewinkel1-48/+214
2020-11-18JATS writer: wrap all tablesAlbert Krewinkel1-6/+7
All `<table>` elements are put inside `<table-wrap>` elements, as the former are not valid as immediate child elements of `<body>`.
2020-11-17JATS writer: move Table handling to separate moduleAlbert Krewinkel1-0/+81
This makes it easier to split the module into smaller parts.