Closed
Description
Here's another JATS roundtrip improvement that's probably really easy.
REPO STEPS: With orig.md
cat orig.md \
| pandoc -f markdown -s -t jats \
| tee jast.xml \
| pandoc -f jats -s -t markdown \
> roundtrip.md
GOT: roundtrip.md
EXPECTED: a roundtrip since it's just the title and date.
The pub-date XML element that pandoc writer spits out look great. It lines up with some JATS XML that I see in a random article file from eLife. Would be nice to have since it's documented on https://pandoc.org/jats.html. As best I can tell the "pub-date" element is the appropriate XML element to set to indicate the date of the document. I have it show up in pdfs and web pages of preprints and pre-preprints I generate.