X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=7033be8b0ee6686b7709c27bb15416c90055c73d;hp=46412055357c7ea7375d11b82db39337e27bd07c;hb=4bc6748190e5ece5a05f969febf7f3ec2468c337;hpb=1877b83b5ede53de75ce8a0667bd9df4fd653444 diff --git a/mlastyle.dtx b/mlastyle.dtx index 4641205..7033be8 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -875,7 +875,9 @@ Schlegl", % This first block is the beginnings of an implementation for % \package{natbib}. % \begin{macrocode} -\newcommand{\bibstyle@mlastyle}{\bibpunct[ ]{(}{)}{;}{a}{,}{;} +\newcommand{\bibstyle@mlastyle}% +{\bibpunct[ ]{(}{)}{;}{a}{\mlastyle@comma}{,} +\gdef\mlastyle@comma{\ifx\NAT@date\space\def\NAT@date{\unskip}\else,\fi} \@ifundefined{chapter} {\gdef\refname{Works Cited}} {\gdef\bibname{Works Cited}}} @@ -984,7 +986,7 @@ Schlegl", {\renewcommand\bibname{Works Cited}} \else \let\cite\citep - \newcommand\citepage[2][]{\citetext{#2}} + \newcommand\citepage[2][]{\citeyearpar[\unskip #1]{#2}} \newcommand\citepageM[2][]{ \citetext{#2}} \newcommand\citeindirect[2][]{\citep[#1][qtd. in]{#2}} \newcommand\citeindirectM[2][]{ \citep[#1][qtd. in]{#2}}