Fixed natbib bug
[latex-mlastyle.git] / mlastyle.dtx
index b6236d33267bbb4f681899d152c791a2e1a2a3be..5676423846bf988c3115975e84262e8c778869ef 100644 (file)
@@ -879,10 +879,6 @@ Schlegl",
 % This first block is the beginnings of an implementation for
 % \package{natbib}.  Surely there is a better way.
 %    \begin{macrocode}
-\newif\ifmlastyle@pages
-\renewcommand\NAT@citetp
-{\@ifnextchar[{\mlastyle@pagestrue\NAT@@citetp}%
-  {\mlastyle@pagesfalse\NAT@@citetp[]}}
 \newcommand{\bibstyle@mlastyle}{%
   \bibpunct[\mlastyle@space]{\mlastyle@brack(}{\mlastyle@brack)}%
     {;}{a}{\mlastyle@comma}{,}
@@ -906,6 +902,10 @@ Schlegl",
 \def\mlastyle@notitle
   { \ \ \ \ \unskip\unskip\unskip\unskip\unskip\unskip}
 \RequirePackage{natbib}
+\newif\ifmlastyle@pages
+\renewcommand\NAT@citetp
+{\@ifnextchar[{\mlastyle@pagestrue\NAT@@citetp}%
+  {\mlastyle@pagesfalse\NAT@@citetp[]}}
 %    \end{macrocode}
 %\end{macro}
 % \begin{macro}{\cite}