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