aboutsummaryrefslogtreecommitdiff
path: root/tests/biblatex-citations.latex
blob: 97647cd41c1fe18b452e80a99d3d708baa376867 (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
46
47
48
49
\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}
\printbibliography[title=References]

\end{document}