diff --git a/tests/latex/support/csl-citation-tests.tex b/tests/latex/support/csl-citation-tests.tex index e561d54e..fb3297d6 100644 --- a/tests/latex/support/csl-citation-tests.tex +++ b/tests/latex/support/csl-citation-tests.tex @@ -7,10 +7,6 @@ \cite{ITEM-1, ITEM-2} } -\TEST{Citation with page locator}{ - \cite[page = 6]{ITEM-1} -} - \TEST{Citation with section locator}{ \cite[section = 2.3]{ITEM-1} } @@ -20,49 +16,69 @@ } \TEST{Citation with prefix and suffix}{ - \cite[prefix = {prefix }, suffix = { suffix}]{ITEM-1} + \cite[prefix=see, suffix={and other works}]{ITEM-1} } \TEST{Citation with implicit prefix and suffix}{ - \cite[prefix][suffix]{ITEM-1} + \cite[see][and other works]{ITEM-1} } \TEST{Citation with implicit suffix}{ - \cite[suffix]{ITEM-1} + \cite[and other works]{ITEM-1} } \TEST{Citation with implicit prefix}{ - \cite[prefix][]{ITEM-1} + \cite[see][]{ITEM-1} } -\TEST{Narrative citation}{ - \textcite{ITEM-1} +\TEST{Citation with prefix, suffix, and multiple items}{ + \cite[prefix=see, suffix={and other works}]{ITEM-1, ITEM-2, ITEM-3} } -\TEST{Narrative citation}{ - \textcite[infix='s early work]{ITEM-1} +\TEST{\string\cite*}{ + \cite*[prefix=see, page=6, suffix={and other works}]{ITEM-1} } -\TEST{Multiple cite items with options}{ - \cites[See][page = 6]{ITEM-1}[figure = 2]{ITEM-2} +\TEST{\string\parencite}{ + \parencite[prefix=see, page=6, suffix={and other works}]{ITEM-1} +} + +\TEST{\string\parencite*}{ + \parencite*[prefix=see, page=6, suffix={and other works}]{ITEM-1} +} + +\TEST{\string\citep}{ + \citep[prefix=see, page=6, suffix={and other works}]{ITEM-1} } -\TEST{Cite only author}{ - \citeauthor{ITEM-1} +\TEST{\string\textcite}{ + \textcite[prefix=see, page=6, suffix={and other works}]{ITEM-1} } -\TEST{\parencite*}{ - \parencite*{ITEM-1} +\TEST{\string\citet}{ + \citet[prefix=see, page=6, suffix={and other works}]{ITEM-1} } -\TEST{\citeyearpar}{ - \citeyearpar{ITEM-1} +\TEST{\string\footcite}{ + \footcite[prefix=see, page=6, suffix={and other works}]{ITEM-1} } -\TEST{Full cite}{ - \fullcite{ITEM-1} +\TEST{\string\citeauthor}{ + \citeauthor[prefix=see, page=6, suffix={and other works}]{ITEM-1} +} + +\TEST{\string\citeyearpar}{ + \citeyearpar[prefix=see, page=6, suffix={and other works}]{ITEM-1} +} + +\TEST{\string\fullcite}{ + \fullcite[prefix=see, page=6, suffix={and other works}]{ITEM-1} +} + +\TEST{Multiple cite items with options}{ + \cites[See][page = 6]{ITEM-1}[figure = 2]{ITEM-2} } -\TEST{Uncited entry}{ +\TEST{\string\nocite}{ \nocite{ITEM-3} }