aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/JATS
AgeCommit message (Collapse)AuthorFilesLines
2021-04-16JATS writer: reduce unnecessary use of <p> elements for wrappingAlbert Krewinkel2-6/+35
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 Krewinkel2-4/+5
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-29JATS writer: escape special chars in reference elements.Albert Krewinkel1-3/+6
Prevents the generation of invalid markup if a citation element contains an ampersand or another character with a special meaning in XML.
2021-01-22JATS writer: allow to use element-citationAlbert Krewinkel2-1/+163
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel2-2/+2
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 Krewinkel2-0/+127
This makes it easier to split the module into smaller parts.