Files
John MacFarlane 3cb6130d1a JATS writer: fix placement of ref-list...
...when no title is specified for the reference section.
(In this case we place it in `back` with an empty title.)
Closes #9017.
2023-08-23 16:10:00 -07:00

1.1 KiB

% pandoc -t jats --citeproc -s
---
references:
- author: DeGroot
  id: degroot_probability
  title: Probability
  issued: 2002
title: Doc example with single reference
---

# I like

[@degroot_probability].
^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>
<title-group>
<article-title>Doc example with single reference</article-title>
</title-group>
<permissions>
</permissions>
</article-meta>
</front>
<body>
<sec id="i-like">
  <title>I like</title>
  <p>(DeGroot 2002).</p>
</sec>
</body>
<back>
<ref-list>
  <title></title>
  <ref id="ref-degroot_probability">
    <mixed-citation>DeGroot. 2002. “Probability.”</mixed-citation>
  </ref>
</ref-list>
</back>
</article>