Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current DTD for the JATS writer template is for Journal Publishing (
JATS-journalpublishing1.dtd
), which does not permitext-link
as a valid child (https://jats.nlm.nih.gov/publishing/tag-library/1.1/element/publisher-name.html).This update modifies the default output template to be the less restrictive JATS archiving and interchange DTD which systems like PubMed use internally to represent their articles. The new dtd is as follows:
As suggested by @jgm - I proposed this change to the Pandoc mailing list a few weeks ago and haven't received any feedback on this suggestion.
Running the following command in jats-example-files.zip
Produces the file
output.xml
which is currently invalid. Updating thedefault.jats
template as modified in this pull request producesupdated-output.xml
which is valid JATS according to the Pubmed central validatorFixes #5634