%% Changes for including tools bibliographies as %% sections instead of chapters %% Laure Petrucci march 22, 2001 % definition of \begin{mybibliography} \def\mybibliography{\@ifnextchar[{\@lMybibliography}% {\@Mybibliography}} \def\@lMybibliography[#1]#2#3{ \ifnum #3=0 \section{#2}\small\rm %\section*{#2\@mkboth{#2}{#2}}\small\rm %\addcontentsline{toc}{section}{#2} \else \newpage\chapter*{#2\@mkboth{#2}{#2}}\small\rm \addcontentsline{toc}{chapter}{#2} \fi \list{\arabic{enumiv}.}{\settowidth\labelwidth{#1}% \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumiv}% \let\p@enumiv\@empty \def\theenumiv{\arabic{enumiv}}}% \def\newblock{\hskip .11em plus .33em minus .07em}% \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \def\@Mybibliography#1#2{ \ifnum #2=0 \section{#1}\small\rm \else \newpage\chapter*{#1\@mkboth{#1}{#1}}\small\rm \addcontentsline{toc}{chapter}{#1} \fi \addcontentsline{toc}{section}{#1} \list{\arabic{enumiv}.}% {\if@bibay \settowidth\labelwidth{\hspace{10\p@}\hskip-\labelsep}% \else \settowidth\labelwidth{\hspace\parindent\hskip-\labelsep}% \fi \usecounter{enumiv}% \let\p@enumiv\@empty \def\theenumiv{\arabic{enumiv}}% \leftmargin\labelwidth \advance\leftmargin\labelsep} \def\newblock{\hskip .11em plus .33em minus .07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \let\endmybibliography=\endlist