aboutsummaryrefslogtreecommitdiff
path: root/test/writer.jats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-10JATS writer: wrap figure caption in <p> to fix validation (#5292)Mauro Bieg1-1/+1
closes #5290
2018-09-27JATS writer: remove 'role' attribute on 'bold' and 'sc' elements.John MacFarlane1-7/+6
The JATS spec does not allow these. Closes #4937.
2018-03-05Remove extraneous, significant whitespace in JATS writer output (#4335)Nokome Bentley1-923/+357
This patch fixes some cases where the JATS writer was introducing semantically significant whitespace by indenting and wrapping tags. Note that the JATS spec has a content model for `<p>` tags of `(#PCDATA | ...`. Any tag where `#PCDATA` children are possible should not have any indentation. The same is true for `<th>`, `<td>`, `<term>`, `<label>`.
2017-12-14Deduplicate JATS writer image mime type codeHamish Mackenzie1-1/+1
2017-10-31Properly pass through author metadata in JATS writer.John MacFarlane1-0/+12
Closes #4020.
2017-06-30Updated jats tests for new texmath version.John MacFarlane1-1/+1
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-6/+0
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-03-31JATS template: always include `<back>` element even if empty.John MacFarlane1-0/+2
2017-03-31JATS writer: put references in `<back>`.John MacFarlane1-1217/+1215
Modified template to include a `<back>` and `<body>` section. This should give authors more flexibility, e.g. to put acknowledgements metadata in `<back>`. References are automatically extracted and put into `<back>`.
2017-03-30JATS writer: use both tex and mml alternatives for math when possible.John MacFarlane1-8/+21
2017-03-30JATS writer: Fixed bibliography handling.John MacFarlane1-6/+10
2017-03-30Added JATS writer.John MacFarlane1-0/+1425
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.