pandoc/tests/biblatex-citations.latex

71 lines
1.4 KiB
Text
Raw Normal View History

\documentclass{article}
\usepackage{amssymb,amsmath}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{biblatex}
\bibliography{biblio}
\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setcounter{secnumdepth}{0}
\begin{document}
\section{Pandoc with citeproc-hs}
\begin{itemize}
\item
{[}@nonexistent{]}
\item
@nonexistent
\item
\textcite{item1} says blah.
\item
\textcite[p.~30]{item1} says blah.
\item
\textcite[p.~30, with suffix]{item1} says blah.
\item
\textcites{item1}[p.~30]{item2}[see also][]{item3} says blah.
\item
In a note.%
\footnote{A citation without locators \autocite{item3}.}
\item
A citation group
\autocites[see][, p.~34--35]{item1}[also][chap. 3]{item3}.
\item
Another one \autocite[see][p.~34--35]{item1}.
\item
And another one in a note.%
\footnote{Some citations \autocites[see][chap. 3]{item2}{item3}{item1}.}
\item
Citation with a suffix and locator
\autocite[, pp.~33, 35--37, and nowhere else]{item1}.
\item
Citation with suffix only \autocite[, and nowhere else]{item1}.
\item
Now some modifiers.%
\footnote{Like a citation without author: \autocite*{item1}, and now Doe with
a locator \autocite*[p.~44]{item2}.}
\item
With some markup \autocite[\emph{see}][p. \textbf{32}]{item1}.
\end{itemize}
\section{References}
\printbibliography
\end{document}