Files
pandoc/test/command/10185.md
John MacFarlane f4eca1f3fb Use latest dev citeproc and update the default CSL...
from the latest chicago-author-date.csl. (Note that this goes
from the 17th to the 18th edition.)

Update tests.
2025-07-20 00:12:15 -07:00

47 lines
570 B
Markdown

```
% pandoc -t latex --citeproc
Lorem ipsum
# References
::: {#refs}
:::
^D
Lorem ipsum
\section{References}\label{references}
\protect\phantomsection\label{refs}
```
```
% pandoc -t latex --citeproc
---
references:
- id: foo
type: book
title: The Title
author: John Doe
...
Lorem ipsum [@foo].
# References
::: {#refs}
:::
^D
Lorem ipsum (John Doe, n.d.).
\section{References}\label{references}
\protect\phantomsection\label{refs}
\begin{CSLReferences}{1}{1}
\bibitem[\citeproctext]{ref-foo}
John Doe. n.d. \emph{The Title}.
\end{CSLReferences}
```