diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-09 12:44:09 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-09 12:44:09 +0100 |
commit | 3df1d1888cbf59551420d040bc7632e63ea36842 (patch) | |
tree | af58ca3571e52f2842264a8a1272b5db6cf3ce3a /tests/pandoc/citeproc-bug.tex | |
parent | 6ec92e6732a7067c3aec5b56806f3605b8b199e8 (diff) | |
download | bookup-3df1d1888cbf59551420d040bc7632e63ea36842.tar.gz bookup-3df1d1888cbf59551420d040bc7632e63ea36842.tar.bz2 |
Feat: tests folder
Diffstat (limited to 'tests/pandoc/citeproc-bug.tex')
-rw-r--r-- | tests/pandoc/citeproc-bug.tex | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/pandoc/citeproc-bug.tex b/tests/pandoc/citeproc-bug.tex new file mode 100644 index 0000000..f96cebf --- /dev/null +++ b/tests/pandoc/citeproc-bug.tex @@ -0,0 +1,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} |