git.iko.soy/typeable/pandoc
on master help sign in
Fixed biblatex/natbib citation writer tests.
commit9210b7ef698afb01d7da509ede6e38bca7ec81b7 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 19 Dec 2010, 12:41 (16 years ago) parent9120514
2 files changed+2−32
tests/biblatex-citations.latex+2−18 tests/natbib-citations.latex−14
tests/biblatex-citations.latex+2−18
@@ -17,48 +17,32 @@
1717\begin{itemize}
1818\item
1919 {[}@nonexistent{]}
20−
2120\item
2221 @nonexistent
23−
2422\item
2523 \textcite{item1} says blah.
26−
2724\item
2825 \textcite[p.~30]{item1} says blah.
29−
3026\item
3127 \textcite[p.~30, with suffix]{item1} says blah.
32−
3328\item
3429 \textcites{item1}[p.~30]{item2}[see also][]{item3} says blah.
35−
3630\item
3731 In a note.\footnote{A citation without locators \autocite{item3}.}
38−
3932\item
40− A citation group
41− \autocites[see][p.~34--35]{item1}[also][chap. 3]{item3}.
42−
33+ A citation group \autocites[see][p.~34--35]{item1}[also][chap. 3]{item3}.
4334\item
4435 Another one \autocite[see][p.~34--35]{item1}.
45−
4636\item
4737 And another one in a note.\footnote{Some citations \autocites[see][chap. 3]{item2}{item3}{item1}.}
48−
4938\item
50− Citation with a suffix and locator
51− \autocite[pp.~33, 35--37, and nowhere else]{item1}.
52−
39+ Citation with a suffix and locator \autocite[pp.~33, 35--37, and nowhere else]{item1}.
5340\item
5441 Citation with suffix only \autocite[and nowhere else]{item1}.
55−
5642\item
5743 Now some modifiers.\footnote{Like a citation without author: \autocite*{item1}, and now Doe with a locator \autocite*[p.~44]{item2}.}
58−
5944\item
6045 With some markup \autocite[\emph{see}][p. \textbf{32}]{item1}.
61−
6246\end{itemize}
6347\printbibliography[title=References]
6448
tests/natbib-citations.latex−14
@@ -17,46 +17,32 @@
1717\begin{itemize}
1818\item
1919 {[}@nonexistent{]}
20−
2120\item
2221 @nonexistent
23−
2422\item
2523 \citet{item1} says blah.
26−
2724\item
2825 \citet[p.~30]{item1} says blah.
29−
3026\item
3127 \citet[p.~30, with suffix]{item1} says blah.
32−
3328\item
3429 \citeauthor{item1} \citetext{\citeyear{item1}; \citeyear[p.~30]{item2}; \citealp[see also][]{item3}} says blah.
35−
3630\item
3731 In a note.\footnote{A citation without locators \citep{item3}.}
38−
3932\item
4033 A citation group \citetext{\citealp[see][p.~34--35]{item1}; \citealp[also][chap. 3]{item3}}.
41−
4234\item
4335 Another one \citep[see][p.~34--35]{item1}.
44−
4536\item
4637 And another one in a note.\footnote{Some citations \citetext{\citealp[see][chap. 3]{item2}; \citealp{item3}; \citealp{item1}}.}
47−
4838\item
4939 Citation with a suffix and locator \citep[pp.~33, 35--37, and nowhere else]{item1}.
50−
5140\item
5241 Citation with suffix only \citep[and nowhere else]{item1}.
53−
5442\item
5543 Now some modifiers.\footnote{Like a citation without author: \citeyearpar{item1}, and now Doe with a locator \citeyearpar[p.~44]{item2}.}
56−
5744\item
5845 With some markup \citep[\emph{see}][p. \textbf{32}]{item1}.
59−
6046\end{itemize}
6147\renewcommand\refname{References}
6248\bibliography{biblio}