diff --git a/source/latex/uosdocs/uosdocs.dtx b/source/latex/uosdocs/uosdocs.dtx index 7399bf719776c471178885b2f68a07318d65418f..0ff9f17ddd8ab3ca2dfc9b5c852b147036d27170 100644 --- a/source/latex/uosdocs/uosdocs.dtx +++ b/source/latex/uosdocs/uosdocs.dtx @@ -1393,9 +1393,12 @@ Data: Author (Year) Title. URI [dataset]} % \begin{macro}{\frontmatter} % \begin{macro}{\mainmatter} % \begin{macro}{\backmatter} +% \begin{macro}{\appendix} % % Define \texttt{frontmatter},\texttt{mainmatter},\texttt{backmatter} for the article class -% and rename the bibliography to something that makes more sense. +% and rename the bibliography to something that makes more sense. For other classes make the +% Appendix entry in the table of contents better and rename the references in a slightly +% different way. % % \begin{macrocode} %<*article> @@ -1404,10 +1407,25 @@ Data: Author (Year) Title. URI [dataset]} \newcommand\bibname{References} \newcommand\backmatter{} %</article> +%<*thesis|minithesis|progress|project|report|gdp> +\renewcommand\bibname{References} +\let\oldappendix\appendix % Put full appendix name in ToC +\renewcommand{\appendix}{% + \oldappendix + \let\oldacl@pp=\addcontentsline + \def\addcontentsline##1##2##3{\oldacl@pp{##1}{##2}{\appendixname\space ##3}} +} +\let\oldbackmatter\backmatter +\def\backmatter{% + \oldbackmatter + \let\addcontentsline=\oldacl@pp + } +%</thesis|minithesis|progress|project|report|gdp> % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % \begin{macrocode} %</thesis|minithesis|progress|project|report|article|gdp|gdpsummary> @@ -1555,11 +1573,11 @@ say not much at all %<*testthesis|testminithesis|testprogress> \chapter{Glossary [if relevant]} %</testthesis|testminithesis|testprogress> -\chapter{References} -To use list of references as well as the bibliography section use the \texttt{multibbl} package. \bibliographystyle{uos} \bibliography{UOS} %<*testthesis|testminithesis|testprogress> +\chapter{Bibliography} +To use bibliography as well as the references section use the \texttt{multibbl} package. \chapter{Index [if relevant]} %</testthesis|testminithesis|testprogress> %</testthesis|testminithesis|testprogress|testproject|testreport|testgdp>