%% 
%% This is file `mlbib.sty',
%% generated with the docstrip utility.
%% 
%% The original source files were:
%% 
%% mlbib.dtx  (with options: `package')
%% 
%% Copyright (C) 1992, 1996 by Wenzel Matiaske, mati1831@perform.ww.tu-berlin.de 
%% 
%% You are not allowed to distribute this file without the 
%% original source mlbib.dtx. For distribution of the 
%% sources see the copyright notice in the file mlbib.dtx. 
%% 
\def\filename{mlbib}
\def\fileversion{1.0}
\def\filedate{1996/10/30}
\def\docdate{1995/10/30}

\ProvidesPackage{mlbib}
                [\filedate\space\fileversion\space%
                  LaTeX2e package (wm)]
\providecommand{\bblfont}[1]{\def\bblsize{#1}}       \def\bblsize{}
\providecommand{\bblauthorfont}[1]{\def\bblnf{#1}}   \def\bblnf{}
\providecommand{\bbltitlefont}[1]{\def\bbltf{#1}}    \def\bbltf{}
\providecommand{\bblvolumefont}[1]{\def\bblvf{#1}}   \def\bblvf{}
\providecommand{\bblleft}[1]{\def\bbllb{#1}}         \def\bbllb{}
\providecommand{\bblright}[1]{\def\bblrb{#1}}        \def\bblrb{}
\providecommand{\citeauthorfont}[1]{\def\citenf{#1}}    \def\citenf{}
\providecommand{\citebetween}[1]{\def\citebet{#1}}      \def\citebet{}
\providecommand{\citeleft}[1]{\def\citelb{#1}}          \def\citelb{}
\providecommand{\citeright}[1]{\def\citerb{#1}}         \def\citerb{}
\providecommand{\citeasnounleft}[1]{\def\citeanlb{#1}}  \def\citeanlb{}
\providecommand{\citeasnounright}[1]{\def\citeanrb{#1}} \def\citeanrb{}
\newif\if@multilanguage   \@multilanguagetrue
\newif\if@smallskip        \@smallskipfalse
\newif\if@noskip           \@noskipfalse
\DeclareOption{thesis}{
\def\bblcaptionsenglish{%
  \def\bbland{, and\ }
  \def\bbled{ed.}
  \def\bbleds{eds.}
  \def\bblbyed{edited by}
  \def\bblvol{vol.}
  \def\bblVol{Vol.}
  \def\bbljvol{}
  \def\bblno{no.}
  \def\bblNo{No.}
  \def\bbledit{edition}
  \def\bblp{p.}
  \def\bblpp{pp.}
  \def\bblchap{chapter}
  \def\bbltrep{Technical Report}
  \def\bblmth{Master's thesis}
  \def\bblphd{Ph.~D. thesis}
  \def\bbllq{``}
  \def\bblrq{''}
  \def\citepp{,\ }}
\def\bblcaptionsfrench{%
  \def\bbland{\ et\ }
  \def\bbled{r\'{e}d.}
  \def\bbleds{r\'{e}ds.}
  \def\bblbyed{edit\'e par }
  \def\bblvol{tome}
  \def\bblVol{tm.}
  \def\bbljvol{}
  \def\bblno{no.}
  \def\bblNo{No.}
  \def\bbledit{\'{e}dition}
  \def\bblp{page}
  \def\bblpp{pages}
  \def\bblchap{chapitre}
  \def\bbltrep{Papier d'\'{e}tudes}
  \def\bblmth{Th\`{e}se du dipl\^{o}me}
  \def\bblphd{Th\`{e}se du doctorat}
  \def\bbllq{\flqq}
  \def\bblrq{\frqq}
  \def\citepp{,\ }}
\def\bblcaptionsgerman{%
  \def\bbland{\ und\ }
  \def\bbled{Hrsg.}
  \def\bbleds{Hrsg.}
  \def\bblbyed{hrsg. von }
  \def\bblvol{Bd.}
  \def\bblVol{Bd.}
  \def\bbljvol{}
  \def\bblno{Nr.}
  \def\bblNo{Nr.}
  \def\bbledit{Auf\/lage}
  \def\bblp{S.}
  \def\bblpp{S.}
  \def\bblchap{Kapitel}
  \def\bbltrep{Arbeitspapier}
  \def\bblmth{Diplomarbeit}
  \def\bblphd{Dissertation}
  \def\bbllq{\glqq}
  \def\bblrq{\grqq}
  \def\citepp{, S.\ }}%%%
  \bblfont{\small}
  \bblauthorfont{}
  \bbltitlefont{\itshape}
  \bblvolumefont{\bfseries}
  \bblleft{(}    \bblright{)}
  \citeauthorfont{\itshape}
  \citebetween{; }
  \citeleft{}         \citeright{}
  \citeasnounleft{(}  \citeasnounright{)}
}%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{journal}{
\def\bblcaptionsenglish{%
  \def\bbland{\ \&\ }
  \def\bbled{ed.}
  \def\bbleds{eds.}
  \def\bblbyed{ed. by}
  \def\bblvol{vol.}
  \def\bblVol{Vol.}
  \def\bbljvol{}
  \def\bblno{no.}
  \def\bblNo{No.}
  \def\bbledit{edition}
  \def\bblp{}
  \def\bblpp{}
  \def\bblchap{chap.}
  \def\bbltrep{Tech. rep.}
  \def\bblmth{Master's thesis}
  \def\bblphd{PhD thesis}
  \def\bbllq{}
  \def\bblrq{}
  \def\citepp{,\ }}
\def\bblcaptionsfrench{%
  \def\bbland{\ \&\ }
  \def\bbled{r\'{e}d.}
  \def\bbleds{r\'{e}ds.}
  \def\bblbyed{edit\'e par}
  \def\bblvol{tome}
  \def\bblVol{tm.}
  \def\bbljvol{}
  \def\bblno{no.}
  \def\bblNo{No.}
  \def\bbledit{\'{e}dition}
  \def\bblp{}
  \def\bblpp{}
  \def\bblchap{chap.}
  \def\bbltrep{Papier d'\'{e}tudes}
  \def\bblmth{Th\`{e}se du dipl\^{o}me}
  \def\bblphd{Th\`{e}se du doctorat}
  \def\bbllq{}
  \def\bblrq{}
  \def\citepp{,\ }}
\def\bblcaptionsgerman{%
  \def\bbland{\ \&\ }
  \def\bbled{Hg.}
  \def\bbleds{Hg.}
  \def\bblbyed{hg. von}
  \def\bblvol{Bd.}
  \def\bblVol{Bd.}
  \def\bbljvol{}
  \def\bblno{Nr.}
  \def\bblNo{Nr.}
  \def\bbledit{Aufl.}
  \def\bblp{}
  \def\bblpp{}
  \def\bblchap{Kap.}
  \def\bbltrep{Arbeitspapier}
  \def\bblmth{Diplomarbeit}
  \def\bblphd{Diss.}
  \def\bbllq{}
  \def\bblrq{}
  \def\citepp{,\ }}
  \bblfont{\footnotesize}
  \bblauthorfont{\scshape}
  \bbltitlefont{}
  \bblvolumefont{}
  \bblleft{(}     \bblright{)}
  \citeauthorfont{\scshape}
  \citebetween{; }
  \citeleft{(}        \citeright{)}
  \citeasnounleft{(}  \citeasnounright{)}
}%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{paper}{
\def\bblcaptionsenglish{%
   \def\bbland{, and\ }
   \def\bbled{(ed.)}
   \def\bbleds{(eds.)}
   \def\bblbyed{edited by}
   \def\bblvol{vol.}
   \def\bblVol{Vol.}
   \let\bbljvol\bblvol
   \def\bblno{no.}
   \def\bblNo{No.}
   \def\bbledit{edition}
   \def\bblp{p.}
   \def\bblpp{pp.}
   \def\bblchap{chapter}
   \def\bbltrep{Technical Report}
   \def\bblmth{Master's thesis}
   \def\bblphd{Ph.~D. thesis}
   \def\bbllq{}
   \def\bblrq{}
   \def\citepp{,\ }}
\def\bblcaptionsfrench{%
   \def\bbland{\ et\ }
   \def\bbled{r\'{e}d.}
   \def\bbleds{r\'{e}ds.}
   \def\bblbyed{edit\'e par}
   \def\bblvol{tome}
   \def\bblVol{tm.}
   \def\bbljvol{}
   \def\bblno{no.}
   \let\bbljvol\bblvol
   \def\bblno{no.}
   \def\bblNo{No.}
   \def\bbledit{\'{e}dition}
   \def\bblp{}
   \def\bblpp{}
   \def\bblchap{chapitre}
   \def\bbltrep{Papier d'\'{e}tudes}
   \def\bblmth{Th\`{e}se du dipl\^{o}me}
   \def\bblphd{Th\`{e}se du doctorat}
   \def\bbllq{}
   \def\bblrq{}
   \def\citepp{,\ }}
\def\bblcaptionsgerman{%
   \def\bbland{\ und\ }
   \def\bbled{(Hrsg.)}
   \def\bbleds{(Hrsg.)}
   \def\bblbyed{hrsg. von}
   \def\bblvol{Bd.}
   \def\bblVol{Bd.}
   \def\bbljvol{Jg.}
   \def\bblno{Nr. }
   \def\bblNo{Nr. }
   \def\bbledit{Aufl.}
   \def\bblp{S.}
   \def\bblpp{S.}
   \def\bblchap{Kap.}
   \def\bbltrep{Arbeitspapier}
   \def\bblmth{Diplomarbeit}
   \def\bblphd{Dissertation}
   \def\bbllq{}
   \def\bblrq{}
   \def\citepp{, S.\ }}%%%
  \bblfont{\small}
  \bblauthorfont{\itshape}
  \bbltitlefont{}
  \bblvolumefont{}
  \bblleft{}     \bblright{}
  \citeauthorfont{\itshape}
  \citebetween{; }
  \citeleft{(}        \citeright{)}
  \citeasnounleft{(}  \citeasnounright{)}
}
\DeclareOption{multilingual}{\@multilanguagetrue}
\DeclareOption{singlelingual}{\@multilanguagefalse}
\DeclareOption{smallskip}{\@smallskiptrue}
\DeclareOption{noskip}{\@noskiptrue\@smallskiptrue}
\DeclareOption{normalskip}{\@smallskipfalse}
\ExecuteOptions{thesis,multilingual,normalskip}
\ProcessOptions
\@ifundefined{mdqon}{%
  \InputIfFileExist{german}{}{}}{}
\@ifundefined{mdqon}{%
  \@warning{Style option `german' undefined,}
  \typeout{\@spaces\@spaces\@spaces\space\space\space
            Using english captions in the bibliography.}
  \let\bblenglish=\bblcaptionsenglish
  \let\bblfrench=\bblcaptionsenglish
  \let\bblgerman=\bblcaptionsenglish
  \bblenglish
}{
  \def\extrasUSenglish{\bblcaptionsenglish}
  \def\extrasenglish{\bblcaptionsenglish}
  \def\extrasgerman{\frenchspacing
     \lefthyphenmin\tw@ \righthyphenmin\tw@ \bblcaptionsgerman}
  \let\extrasaustrian=\extrasgerman
  \def\extrasfrench{\frenchspacing \bblcaptionsfrench}
  \def\frenchTeX{\mdqoff \let"\dq \umlauthigh \let\3\original@three
     \selectlanguage{french}}
  \if@multilanguage
    \let\bblenglish=\originalTeX
    \let\bblfrench=\frenchTeX
    \let\bblgerman=\germanTeX
  \else
    \let\bblenglish=\relax
    \let\bblfrench=\relax
    \let\bblgerman=\relax
  \fi
  \ifnum\language=\l@german
    \selectlanguage{german}
  \else\ifnum\language=\l@austrian
    \selectlanguage{austrian}
  \else\ifnum\language=\l@french
    \selectlanguage{french}
  \else\ifnum\language=\l@english
    \selectlanguage{english}
  \else
    \selectlanguage{USenglish}
  \fi\fi\fi\fi
}
\@ifundefined{bibname}{\def\bibname{Bibliography}}{}

\newdimen\bibhang \setlength{\bibhang}{2em}
\@ifundefined{chapter}{%
 \def\thebibliography#1{%
    \section*{\refname\@mkboth{\refname}{\refname}}\list
        {\relax}{\setlength{\labelsep}{0em}
        \if@smallskip
          \setlength{\itemsep}{0\p@ plus .07em}
          \if@noskip
          \setlength{\parsep}{0\p@ plus .07em}
          \fi
        \fi
        \setlength{\itemindent}{-\bibhang}
        \setlength{\leftmargin}{\bibhang}}
        \def\newblock{\hskip .11em plus .33em minus .07em}
        \sloppy\clubpenalty4000\widowpenalty4000
        \sfcode`\.=1000\relax}}{%
 \def\thebibliography#1{%
    \chapter*{\bibname\@mkboth{\bibname}{\bibname}}\list
       {\relax}{\setlength{\labelsep}{0em}
        \if@smallskip
          \setlength{\itemsep}{0\p@ plus .07em}
          \if@noskip
          \setlength{\parsep}{0\p@ plus .07em}
          \fi
        \fi
       \setlength{\itemindent}{-\bibhang}
       \setlength{\leftmargin}{\bibhang}}
       \def\newblock{\hskip .11em plus .33em minus .07em}
       \sloppy\clubpenalty4000\widowpenalty4000
       \sfcode`\.=1000\relax}}
\@ifundefined{option@cbib}{}{
 \def\thebibliography#1{%
    \section*{\refname%
        \@ifundefined{option@journal}{\@mkboth{\refname}{\refname}}{}}
        \list
        {\relax}{\setlength{\labelsep}{0em}
        \if@smallskip
          \setlength{\itemsep}{0\p@ plus .07em}
          \if@noskip
          \setlength{\parsep}{0\p@ plus .07em}
          \fi
        \fi
        \setlength{\itemindent}{-\bibhang}
        \setlength{\leftmargin}{\bibhang}}
        \def\newblock{\hskip .11em plus .33em minus .07em}
        \sloppy\clubpenalty4000\widowpenalty4000
        \sfcode`\.=1000\relax}}
\def\endthebibliography{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}
\def\@biblabel#1{}
\def\@citex[#1]#2{%
    \if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
    \def\@citea{}\@cite{\@for\@citeb:=#2\do{\@citea\def\@citea{\citebet{}}%
       \@ifundefined{b@\@citeb}{{\@eB\textbf{?}}\@warning%
         {Citation `\@citeb' on page \thepage \space undefined}}%
{\csname b@\@citeb\endcsname}}}{#1}}
\let\@internalcite\cite
\def\cite{\@ifstar{\citeasnoun}{\new@cite}}
\def\new@cite{\def\@citeseppen{-1000}%
     \def\@cite##1##2{\citelb##1\if@tempswa\citepp ##2\fi\citerb }%
     \def\citeauthoryear##1##2{{\citenf ##1} ##2}\def\@eB{}\@internalcite}%
\def\citeasnoun{\def\@citeseppen{-1000}%
    \def\@cite##1##2{##1\if@tempswa\citepp ##2\citeanrb\else\citeanrb\fi}%
    \def\citeauthoryear##1##2{{\citenf ##1} \citeanlb##2}%
    \def\@eB{(}\@internalcite}
\def\citeyear{\def\@citeseppen{-1000}%
   \def\@cite##1##2{##1\if@tempswa\citepp ##2\fi}%
   \def\citeauthoryear##1##2{##2}\def\@eB{}\@internalcite}
\def\citeauthor{\def\@citeseppen{-1000}%
  \def\@cite##1##2{##1\if@tempswa\citepp ##2\fi}%
  \def\citeauthoryear##1##2{{\citenf ##1}}\def\@eB{}\@internalcite}
\endinput
%% 
%% End of file `mlbib.sty'.