From 9210b7ef698afb01d7da509ede6e38bca7ec81b7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 19 Dec 2010 12:41:27 -0800 Subject: Fixed biblatex/natbib citation writer tests. --- tests/biblatex-citations.latex | 20 ++------------------ tests/natbib-citations.latex | 14 -------------- 2 files changed, 2 insertions(+), 32 deletions(-) (limited to 'tests') 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} -- cgit v1.2.3