I'm working on my thesis and my university has a LaTeX template package which renames the bibliography chapter from "References" to "Bibliography" and adds it to the table of contents like so
Code: Select all
\renewcommand{\bibname}{Bibliography \addcontentsline{toc}{chapter}{Bibliography}}
Code: Select all
\usepackage{amsmath}
\bibliography{bib}
Code: Select all
! Use of \reserved@a doesn't match its definition.\protected@write ...le@protect \edef \reserved@a {\write #1{#3}}\reserved@a ... \begin{thebibliography}{1}
! Use of \reserved@a doesn't match its definition.\protected@write ... #1{#3}}\reserved@a \endgroup\if@nobreak \ifvmode \nobr... \begin{thebibliography}{1}
! Extra }, or forgotten \endgroup.\markboth ...d@protected@xdef \@themark {{#1}{#2}}\@temptokena \expandafter ... \begin{thebibliography}{1}
Can anyone tell me a workaround or an alternative to the renaming line?
Thanks.