diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-01-11 00:35:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 15:35:48 -0800 |
commit | 68fa43799963fff11a980d5d3959184c3d34a723 (patch) | |
tree | 2d698480fb87219ebef15159e385cadf73e7574b /test | |
parent | a41cb09afec620a826c0636f03a7b77d3d295111 (diff) | |
download | pandoc-68fa43799963fff11a980d5d3959184c3d34a723.tar.gz |
JATS writer: fix citations (#7018)
* JATS writer: keep code lines at 80 chars or below
* JATS writer: fix citations
Diffstat (limited to 'test')
-rw-r--r-- | test/command/7016.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/test/command/7016.md b/test/command/7016.md new file mode 100644 index 000000000..c2d791ce9 --- /dev/null +++ b/test/command/7016.md @@ -0,0 +1,48 @@ +``` +% pandoc --citeproc --to=jats_archiving --standalone +--- +csl: command/apa.csl +references: +- id: doe + type: article + author: + - family: Doe + given: Jane + container-title: Proceedings of the Academy of Test Inputs + doi: 10.x/nope + issued: 2021 + title: Another article +... +Blah [@doe]. +^D +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN" + "JATS-archivearticle1.dtd"> +<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other"> +<front> +<journal-meta> +<journal-id></journal-id> +<journal-title-group> +</journal-title-group> +<issn></issn> +<publisher> +<publisher-name></publisher-name> +</publisher> +</journal-meta> +<article-meta> +</article-meta> +</front> +<body> +<p>Blah (Doe, 2021).</p> +</body> +<back> +<ref-list> + <ref id="ref-doe"> + <mixed-citation>Doe, J. (2021). Another article. <italic>Proceedings + of the Academy of Test Inputs</italic>. + doi:<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.x/nope">10.x/nope</ext-link></mixed-citation> + </ref> +</ref-list> +</back> +</article> +``` |