From 0516700230b2d30df6102fa6f632dd457c6627c7 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 21 Nov 2003 04:02:29 +0000 Subject: [PATCH] Subtle natbib implementation changes --- mlastyle.dtx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mlastyle.dtx b/mlastyle.dtx index 6aead1c..dd60132 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -880,19 +880,18 @@ Schlegl", % \subsection{Style} % \begin{macro}{\bibstyle@mlastyle} % This first block is the beginnings of an implementation for -% \package{natbib}. Surely there is a better way. +% \package{natbib}. (Surely there is a better way.) % \begin{macrocode} \newcommand{\bibstyle@mlastyle}{% \bibpunct[\mlastyle@space]{\mlastyle@brack(}{\mlastyle@brack)}% - {;}{a}{\mlastyle@comma}{,} + {\unskip;}{a}{\mlastyle@comma}{,} \gdef\mlastyle@brack##1{\ifx\NAT@date\mlastyle@notitle \ifmlastyle@pages ##1\else\ifNAT@swa\ifnum \NAT@ctype=0 ##1\else\unskip\fi\else\unskip\fi\fi\else ##1\fi} \gdef\mlastyle@comma{\ifx\NAT@date\mlastyle@notitle\else,\fi} - \gdef\mlastyle@space{\ifx\NAT@date\mlastyle@notitle{}\else{} \fi} \gdef\mlastyle@space{\ifx\NAT@date\mlastyle@notitle - \ifnum\NAT@ctype<2 - \ifNAT@par\ifNAT@swa{} \fi\else{} \fi\fi\else{} \fi} + \ifnum\NAT@ctype=1{} \fi\else{} \fi} +% \ifNAT@par\ifNAT@swa{} \fi\else{} \fi\fi\else{} \fi} \gdef\citetext##1{(##1)} \@ifundefined{chapter} {\gdef\refname{Works Cited}} @@ -903,7 +902,7 @@ Schlegl", % This hack represents an empty title in the MLA bibliography style. % \begin{macrocode} \def\mlastyle@notitle - { \ \ \ \ \unskip\unskip\unskip\unskip\unskip\unskip} + { \ \ \ \ \unskip\unskip\unskip\unskip\unskip} \RequirePackage{natbib} \newif\ifmlastyle@pages \renewcommand\NAT@citetp -- 2.30.2