aboutsummaryrefslogtreecommitdiff
path: root/tests/pandoc/citeproc-bug.tex
blob: f96cebfdaa712dbc7099e745d1c23b8f4ba0937e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Compile with:

\begin{verbatim}
pandoc -i test.md -t latex -o test.tex --citeproc
\end{verbatim}

Normal: Doe (\protect\hyperlink{ref-test}{1900})

Brackets syntax: (\protect\hyperlink{ref-test}{Doe 1900})

Brace syntax: Doe (\protect\hyperlink{ref-test}{1900})

Inside braces: \{Doe (\protect\hyperlink{ref-test}{1900})\}

Braces within braces: \{Doe (\protect\hyperlink{ref-test}{1900})\}

Escaped braces: \{Doe (\protect\hyperlink{ref-test}{1900})\}

Slash: ~Doe (\protect\hyperlink{ref-test}{1900})

LaTeX block: \emph{@test}

LaTeX block 2: \emph{Reference to @test inside braces}

LaTeX block with escaped braces: \emph\{Doe
(\protect\hyperlink{ref-test}{1900})\}

LaTeX block with braces within braces: \emph{@{test}}

Preformatted:

\begin{quote}
Doe (\protect\hyperlink{ref-test}{1900})

\emph{@test}
\end{quote}

LaTeX protect block: \protect\emph{@test}

\hypertarget{refs}{}
\begin{CSLReferences}{1}{0}
\leavevmode\vadjust pre{\hypertarget{ref-test}{}}%
Doe, J. 1900. {``Test Article.''} \emph{Nurture} 1 (1): 1--10.

\end{CSLReferences}