projects
/
latex-mlastyle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0a49e66
)
Subtle natbib implementation changes
author
Tim Pope
<code@tpope.net>
Fri, 21 Nov 2003 04:02:29 +0000
(
04:02
+0000)
committer
Tim Pope
<code@tpope.net>
Fri, 21 Nov 2003 04:02:29 +0000
(
04:02
+0000)
mlastyle.dtx
patch
|
blob
|
history
diff --git
a/mlastyle.dtx
b/mlastyle.dtx
index 6aead1c72050814050113c37526bdc91bb2c28c3..dd60132c8bffee67a25d97bd19271409772644f5 100644
(file)
--- 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
% \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)}%
% \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@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
\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}}
\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
% 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
\RequirePackage{natbib}
\newif\ifmlastyle@pages
\renewcommand\NAT@citetp