Fixed biblatex/natbib citation writer tests.

This commit is contained in:
John MacFarlane
2010-12-19 12:41:27 -08:00
parent 9120514998
commit 9210b7ef69
2 changed files with 2 additions and 32 deletions
+2 -18
View File
@@ -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]
-14
View File
@@ -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}