diff options
author | Holden Rohrer <hdawg7797@yahoo.com> | 2019-08-02 12:20:02 -0400 |
---|---|---|
committer | Holden Rohrer <hdawg7797@yahoo.com> | 2019-08-02 12:20:02 -0400 |
commit | ed7e8c5dcac88c5b91d8e1b8546939a5d56c6531 (patch) | |
tree | 0cab63a2f6564546584bcf61b1ee369cef586829 | |
parent | b0a60771b013569c62a59157b34b95a7c9a4c141 (diff) |
fixed bug where running header becomes author's name
-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)% } |