aboutsummaryrefslogtreecommitdiff
path: root/test/tables.jats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-05Remove extraneous, significant whitespace in JATS writer output (#4335)Nokome Bentley1-306/+102
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-21JATS writer: Make <p> optional in <td> and <th> (#4178)Hamish Mackenzie1-276/+92
If the contents are single `Plain` block then do not wrap them with a <p> element.
2017-03-31JATS writer: put references in `<back>`.John MacFarlane1-376/+374
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-30Added JATS writer.John MacFarlane1-0/+616
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.