aboutsummaryrefslogtreecommitdiff
path: root/test/writer.jats_archiving
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-16/+12
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-04-16JATS writer: reduce unnecessary use of <p> elements for wrappingAlbert Krewinkel1-40/+28
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-10JATS writer: add footnote number as label in backmatterAlbert Krewinkel1-6/+8
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-03-15Update tests for new texmath.John MacFarlane1-1/+1
2021-02-15JATS writer: add date-type to pub-date elementsAlbert Krewinkel1-1/+1
2021-02-15JATS writer: replace attribute "pub-type" with "publication-format".Albert Krewinkel1-1/+1
The former attribute is deprecated.
2021-01-19JATS writer: Ensure that disp-quote is always wrapped in p.John MacFarlane1-28/+40
Closes #7041.
2020-10-31JATS templates: ensure jats_publishing output is validAlbert Krewinkel1-0/+2
2020-02-12Introduce new format variants for JATS (#6067)Albert Krewinkel1-0/+898
New formats: - `jats_archiving` for the "Archiving and Interchange Tag Set", - `jats_publishing` for the "Journal Publishing Tag Set", and - `jats_articleauthoring` for the "Article Authoring Tag Set." The "jats" output format is now an alias for "jats_archiving". Closes: #6014