summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-19 12:41:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-19 12:41:27 -0800
commit9210b7ef698afb01d7da509ede6e38bca7ec81b7 (patch)
tree20551352ae0d6a8cdb81122c348a8b15277021a7 /tests
parent9120514998cabb9d53379acb289fa71ed55b3880 (diff)
Fixed biblatex/natbib citation writer tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/biblatex-citations.latex20
-rw-r--r--tests/natbib-citations.latex14
2 files changed, 2 insertions, 32 deletions
diff --git a/tests/biblatex-citations.latex b/tests/biblatex-citations.latex
index c975d5bcb..97647cd41 100644
--- a/tests/biblatex-citations.latex
+++ b/tests/biblatex-citations.latex
@@ -17,48 +17,32 @@
\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}.
-
+ 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}.
-
+ 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]
diff --git a/tests/natbib-citations.latex b/tests/natbib-citations.latex
index 2e21f38b1..f4f5cf452 100644
--- a/tests/natbib-citations.latex
+++ b/tests/natbib-citations.latex
@@ -17,46 +17,32 @@
\begin{itemize}
\item
{[}@nonexistent{]}
-
\item
@nonexistent
-
\item
\citet{item1} says blah.
-
\item
\citet[p.~30]{item1} says blah.
-
\item
\citet[p.~30, with suffix]{item1} says blah.
-
\item
\citeauthor{item1} \citetext{\citeyear{item1}; \citeyear[p.~30]{item2}; \citealp[see also][]{item3}} says blah.
-
\item
In a note.\footnote{A citation without locators \citep{item3}.}
-
\item
A citation group \citetext{\citealp[see][p.~34--35]{item1}; \citealp[also][chap. 3]{item3}}.
-
\item
Another one \citep[see][p.~34--35]{item1}.
-
\item
And another one in a note.\footnote{Some citations \citetext{\citealp[see][chap. 3]{item2}; \citealp{item3}; \citealp{item1}}.}
-
\item
Citation with a suffix and locator \citep[pp.~33, 35--37, and nowhere else]{item1}.
-
\item
Citation with suffix only \citep[and nowhere else]{item1}.
-
\item
Now some modifiers.\footnote{Like a citation without author: \citeyearpar{item1}, and now Doe with a locator \citeyearpar[p.~44]{item2}.}
-
\item
With some markup \citep[\emph{see}][p. \textbf{32}]{item1}.
-
\end{itemize}
\renewcommand\refname{References}
\bibliography{biblio}