From ed7e8c5dcac88c5b91d8e1b8546939a5d56c6531 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Fri, 2 Aug 2019 12:20:02 -0400 Subject: fixed bug where running header becomes author's name --- citations.tex | 6 +++--- 1 file 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)% } -- cgit