mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
f4eca1f3fb
from the latest chicago-author-date.csl. (Note that this goes from the 17th to the 18th edition.) Update tests.
570 B
570 B
% 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}