aboutsummaryrefslogtreecommitdiff
path: root/citations.tex
diff options
context:
space:
mode:
authorHolden Rohrer <hdawg7797@yahoo.com>2019-08-02 12:20:02 -0400
committerHolden Rohrer <hdawg7797@yahoo.com>2019-08-02 12:20:02 -0400
commited7e8c5dcac88c5b91d8e1b8546939a5d56c6531 (patch)
tree0cab63a2f6564546584bcf61b1ee369cef586829 /citations.tex
parentb0a60771b013569c62a59157b34b95a7c9a4c141 (diff)
fixed bug where running header becomes author's name
Diffstat (limited to 'citations.tex')
-rw-r--r--citations.tex6
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)%
}