diff options
-rw-r--r-- | citations.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/citations.tex b/citations.tex index 11428ad..3411b34 100644 --- a/citations.tex +++ b/citations.tex @@ -9,7 +9,7 @@ \def\ifnameinline{\iffalse}\def\nameinline{\def\ifnameinline{\iftrue}}% \def\ifnewcite{\iffalse}\def\newcite{\def\ifnewcite{\iftrue}}% \def\ifusetitle{\iffalse}\def\usetitle{\def\ifusetitle{\iftrue}}% - \def\@last{}\def\@namedisp{}\def\name##1##2{\def\@last{##1}\def\@namedisp{\ifx\@title\empty ##2.\fi}}%takes a last name and how names ought display, allowing multiple authors + \def\@authlast{}\def\@namedisp{}\def\name##1##2{\def\@authlast{##1}\def\@namedisp{\ifx\@title\empty ##2.\fi}}%takes a last name and how names ought display, allowing multiple authors \def\@title{}\def\title##1{\def\@title{``##1.''}\def\cltitle{##1}}%individual source like chapter or webpage \def\@contain{}\def\contain##1{\def\@contain{ {\twelveit ##1}\ifx\@title\empty .\else, by \@namedisp \comma \fi}\def\clcontain{##1}}%container (book contains chapter) \def\@contrib{}\def\contrib##1{\def\@contrib{\ ##1\comma}}%other contributors with roles @@ -30,10 +30,10 @@ \def\comma{\advance\commas by -1 \noexpand\ifnum\noexpand\commas>0 ,\noexpand\fi}% \ifnewcite\newcitation{\@namedisp \@title \@contain \@contrib \@version \@relnums \@publish \@pubdate \@locator.}{\@namedisp\cltitle\clcontain}\fi% (\ifnameinline - \ifx\@last\empty + \ifx\@authlast\empty \@title \else - \@last + \@authlast \fi \fi \@pagenum)% } |