aboutsummaryrefslogtreecommitdiff
path: root/test/writer.jats_publishing
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-04-10 10:47:10 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2021-04-10 10:57:06 +0200
commit051b7ffeaffdaf34ed1384a239cf0179aa59b932 (patch)
tree311dc9c0e0d5d9554037b170726d8d41d43cef2b /test/writer.jats_publishing
parent20cd33e5a44810b68fed74da00f4f51eb2282147 (diff)
downloadpandoc-051b7ffeaffdaf34ed1384a239cf0179aa59b932.tar.gz
JATS writer: add footnote number as label in backmatter
Footnotes in the backmatter are given the footnote's number as a label. The articleauthoring output is unaffected from this change, as footnotes are placed inline there. Closes: #7210
Diffstat (limited to 'test/writer.jats_publishing')
-rw-r--r--test/writer.jats_publishing14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/writer.jats_publishing b/test/writer.jats_publishing
index b85816848..f53fd554d 100644
--- a/test/writer.jats_publishing
+++ b/test/writer.jats_publishing
@@ -882,11 +882,12 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<back>
<fn-group>
<fn id="fn1">
- <p>Here is the footnote. It can go anywhere after the footnote reference.
- It need not be placed at the end of the document.</p>
+ <label>1</label><p>Here is the footnote. It can go anywhere after the
+ footnote reference. It need not be placed at the end of the document.</p>
</fn>
<fn id="fn2">
- <p>Here’s the long note. This one contains multiple blocks.</p>
+ <label>2</label><p>Here’s the long note. This one contains multiple
+ blocks.</p>
<p>Subsequent blocks are indented to show that they belong to the footnote
(as with list items).</p>
<p specific-use="wrapper">
@@ -896,16 +897,17 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
just indent the first line of each block.</p>
</fn>
<fn id="fn3">
- <p>This is <italic>easier</italic> to type. Inline notes may contain
+ <label>3</label><p>This is <italic>easier</italic> to type. Inline notes
+ may contain
<ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
and <monospace>]</monospace> verbatim characters, as well as [bracketed
text].</p>
</fn>
<fn id="fn4">
- <p>In quote.</p>
+ <label>4</label><p>In quote.</p>
</fn>
<fn id="fn5">
- <p>In list.</p>
+ <label>5</label><p>In list.</p>
</fn>
</fn-group>
</back>