mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Fixed biblatex/natbib citation writer tests.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user