Closed terris-peer closed 1 month ago
A proper MWE would have been appreciated. Still, try this:
pandoc --number-sections -s --citeproc -o test.docx << EOT
---
references:
- id: item1
type: book
author:
- family: Doe
given: Jane
issued: 2020
title: The title
...
# Section One
[@item1]
# References
::: {#refs}
:::
EOT
Output:
Holy moly! That works! I would have never found it even with ChatGPT (or google). Thaaaaank yooooooooooooou!
::: {#refs}
:::
Describe your proposed improvement and the problem it solves.
Pandoc 3.5 with pandoc-crossref 0.3.18-b, AMD64, Debian.
When using markdown input, docx output, the citeproc filter, and pandoc-crossref, the last section in the document contains the bibliography and is not numbered. This appears to be intentional. See referenced issue (from 2014) below. There are two problems with this for me: first, I would like the bibliography to appear in a section named # REFERENCES (as per the Pandoc docs, but it doesn't seem to work) which is not the last section, and secondly, I would like this section to be numbered.
Referenced issue:
Originally posted by @jgm in https://github.com/jgm/pandoc/issues/1277#issuecomment-42124331
Describe alternatives you've considered.