mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-07 16:15:48 +00:00
Previously the reference title ended up in a separate section at the back of the body instead of in the ref-list in the back matter. Closes #8364.
55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
```
|
|
% pandoc --citeproc -t jats -s
|
|
---
|
|
reference-section-title: Bibliography
|
|
csl: command/apa.csl
|
|
references:
|
|
- author:
|
|
- family: Doe
|
|
given: John
|
|
id: test
|
|
issued:
|
|
date-parts:
|
|
- - 2006
|
|
title: Test
|
|
type: 'article-journal'
|
|
volume: 81
|
|
---
|
|
|
|
@test
|
|
^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>
|
|
<permissions>
|
|
</permissions>
|
|
</article-meta>
|
|
</front>
|
|
<body>
|
|
<p>Doe (2006)</p>
|
|
</body>
|
|
<back>
|
|
<ref-list>
|
|
<title>Bibliography</title>
|
|
<ref id="ref-test">
|
|
<mixed-citation>Doe, J. (2006). Test,
|
|
<italic>81</italic>.</mixed-citation>
|
|
</ref>
|
|
</ref-list>
|
|
</back>
|
|
</article>
|
|
|
|
```
|