%% %% This is file `rnmdt.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% rnmdt.dst (with options: `rnmdt') %% %% IMPORTANT NOTICE: %% %% For the copyright see the source file. %% %% You are *not* allowed to modify this file. %% %% You are *not* allowed to distribute this file. %% For distribution of the original source see the terms %% for copying and modification in the file rnmdt.dst. %% %% BibTeX style file for Russel Winder's minor variation on the name %% date style: this is essentially a minor variation on Harvard. %% This is also the CompSciNet style, not to mention the Taylor & %% Francis variation used for PAIS. %% %% Copyright (c) 1997, Russel Winder. %% \def \fileversion{v1.4} \def \filedate{1998/03/16} \def \docdate{\filedate} \newcommand \titlestring{RLW Citation style} \newcommand \packagename{rnmdt} \ifx \documentclass \undefined \wlog{LaTeX Package `\titlestring' \fileversion \space <\filedate>} \fi \NeedsTeXFormat{LaTeX2e}[1997/12/01] \ProvidesPackage{\packagename}[\filedate \space \fileversion \space \titlestring] \newcommand \rwbibcite[4]{% \global \@namedef{bhf@#1}{#2}% \global \@namedef{bha@#1}{#3}% \global \@namedef{bhy@#1}{#4}% \global \@namedef{b@#1}{\csname bha@#1\endcsname}% } \newcommand \rwbibitem{% \@ifnextchar[{\@rwiteml}% {\@rwitem}% } \def \@rwiteml[#1]#2#3#4{% \item[]% \if@filesw{% \def \protect##1{\string ##1\space}% \immediate \write \@auxout{\string \rwbibcite{#4}{#2}{#1}{#3}}% }\fi% \protect \hspace*{-\labelwidth}% \protect \hspace*{-\labelsep}% \ignorespaces% } \def \@rwitem#1#2#3{% \item[]% \if@filesw{% \def \protect##1{\string ##1\space}% \immediate \write \@auxout{\string \rwbibcite{#3}{#1}{#1}{#2}}% }\fi% \protect\hspace*{-\labelwidth}% \protect\hspace*{-\labelsep}% \ignorespaces% } \@ifundefined{refetal}{\newcommand \refetal{et~al.}}{} \newcommand \citeasnoun{% \gdef \@cite@ps{}% \@ifnextchar[{\@tempswatrue\@citexasnoun}% {\@tempswafalse\@citexasnoun[]}% } \newcommand \citeasposnoun{% \gdef \@cite@ps{'s}% \@ifnextchar[{\@tempswatrue\@citexasnoun}% {\@tempswafalse\@citexasnoun[]}% } \newcommand \citeasplposnoun{% \gdef \@cite@ps{'}% \@ifnextchar [{\@tempswatrue\@citexasnoun}% {\@tempswafalse\@citexasnoun[]}% } \newcommand \ibidCite[1]{(\ibid~p.#1)} \newcommand \ibidCiteRange[1]{(\ibid~pp.#1)} \newcommand \@enamedef[1]{\expandafter \edef \csname #1\endcsname} \def \@citex[#1]#2{% \if@filesw% \immediate \write \@auxout{\string \citation{#2}}% \fi% \def \@citea{}% \@cite{% \@for \@citeb :=#2\do {% \@citea% \def \@citea{; \penalty\@m\ }% \@ifundefined {b@\@citeb}{% \textbf{???}\@warning{Citation `\@citeb' on page \thepage \space undefined}% }% {% {\csname b@\@citeb \endcsname\@ , \csname bhy@\@citeb \endcsname}% \global \@enamedef{b@\@citeb}{\csname bha@\@citeb \endcsname}% }% }% }% {#1}% } \newif \if@firstelement \@firstelementtrue \def \@citexasnoun[#1]#2{% \if@filesw% \immediate \write \@auxout{\string \citation{#2}}% \fi% \@firstelementtrue% \def \@citea{}% \@citeasnoun{% \@for \@citeb :=#2\do {% \@citea% \def \@citea{; \penalty\@m\ }% \@ifundefined {b@\@citeb}{% \textbf{???}\@warning{Citation `\@citeb' on page \thepage \space undefined}% }% {% \if@firstelement% \@firstelementfalse% {\csname b@\@citeb\endcsname\@cite@ps\ (\csname bhy@\@citeb\endcsname}% \global \@namedef{b@\@citeb}{\csname bha@\@citeb\endcsname}% \else% {\csname b@\@citeb \endcsname\@ , \csname bhy@\@citeb \endcsname}% \global \@enamedef{b@\@citeb}{\csname bha@\@citeb \endcsname}% \fi% }% }% }% {#1}% } \renewcommand \@cite[2]{({#1\if@tempswa , #2\fi})} \newcommand \@citeasnoun[2]{{#1\if@tempswa , #2\fi})} \newcommand \unfcite{% \@ifnextchar[{\@tempswatrue\@unfcite}% {\@tempswafalse\@unfcite[]}% } \newcommand \unfshcite{% \@ifnextchar[{\@tempswatrue\@unfshcite}% {\@tempswafalse\@unfshcite[]}% } \def \@unfcite[#1]#2{% \begingroup% \def \@cite##1##2{{##1\if@tempswa , ##2\fi}}% \@citex[#1]{#2}% \endgroup% } \def \@unfshcite[#1]#2{% \begingroup% \def \@cite##1##2{{##1\if@tempswa , ##2\fi}}% \@citexsh[#1]{#2}% \endgroup% } \def \@citexsh[#1]#2{% \if@filesw% \immediate \write \@auxout{\string \citation{#2}}% \fi% \def \@citea{}% \@cite{% \@for \@citeb :=#2\do {% \@citea% \def \@citea{; \penalty\@m\ }% \@ifundefined {b@\@citeb}{% \textbf{???}\@warning{Citation `\@citeb' on page \thepage \space undefined}% }% {% {\csname bhy@\@citeb \endcsname}% \global \@enamedef{b@\@citeb}{\csname bha@\@citeb \endcsname}% }% }% }% {#1}% } \def \enddocument{% \@enddocumenthook% \@checkend{document}% \clearpage% \begingroup% \if@filesw% \immediate \closeout \@mainaux% \let \@setckpt \@gobbletwo% \let \@newl@bel \@testdef% \def \rwbibcite{\@testrwbib}%%% <=== New line added. <=== %%% \@tempswafalse% \makeatletter% \input \jobname.aux% \fi% \@dofilelist% \ifdim \font@submax >\fontsubfuzz% \relax% \@font@warning{Size substitutions with differences\MessageBreak up to \font@submax\space have occured.\@gobbletwo}% \fi% \@defaultsubs% \@refundefined% \if@filesw% \ifx \@multiplelabels \relax% \if@tempswa% \@latex@warning@no@line{Label(s) may have changed. Rerun to get cross-references right}% \fi% \else% \@multiplelabels% \fi% \fi% \endgroup% \deadcycles \z@% \@@end% } \newcommand \@testrwbib[3]{% \def \@tempa{#2}% \expandafter \ifx \csname bhf@#1\endcsname% \@tempa% \def \@tempa{#3}% \expandafter \ifx \csname bha@#1\endcsname% \@tempa% \else% \@tempswatrue% \fi% \else% \@tempswatrue% \fi% } \endinput %% %% End of file `rnmdt.sty'.