diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-21 03:01:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-21 03:01:39 +0000 |
commit | a35bc42b331499fa2a8242f46a0ea88ff681249f (patch) | |
tree | 64ada492172faeda1e67e1c3d81bd74fef8926d1 /macros/latex/contrib/msu-thesis/msu-thesis.cls | |
parent | 16b3f7ad411e343f19c82febffd51601bbe90d3f (diff) |
CTAN sync 202307210301
Diffstat (limited to 'macros/latex/contrib/msu-thesis/msu-thesis.cls')
-rw-r--r-- | macros/latex/contrib/msu-thesis/msu-thesis.cls | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/macros/latex/contrib/msu-thesis/msu-thesis.cls b/macros/latex/contrib/msu-thesis/msu-thesis.cls index c9d0c2b885..63be1bba6e 100644 --- a/macros/latex/contrib/msu-thesis/msu-thesis.cls +++ b/macros/latex/contrib/msu-thesis/msu-thesis.cls @@ -185,11 +185,12 @@ % reflect the current version of the class; reinstituted spacing % after chapter titles. % Version 4.1c 2023/06/27 Removed spacing after chapter titles (again) +% Version 4.1d 2023/07/19 Fixed per chapter bibliography TOC page number bug % % Report bugs/problems/questions to <amunn@msu.edu> % -\def\msu@version{4.1c} -\def\msu@date{2023/06/27} +\def\msu@version{4.1d} +\def\msu@date{2023/07/19} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{msu-thesis}[\msu@date\space Michigan State University Thesis Class version \msu@version] \newif\ifmsu@dissertation\msu@dissertationtrue % added v2.7 boolean for \msu@thesistype @@ -801,15 +802,17 @@ % modified 4/18/2022 to allow for per-chapter bibliographies to appear either % as chapters or as sections in the bibliography. Thesis office isn't consistent in this. +% \clearpage added 7/19/2023 because page numbers were off in the TOC. +% This code probably needs to be revisited since it’s a unholy amalgam of old and new code \newcommand\msu@addbibheadtotoc{% \ifmsu@chapterbib - \phantomsection\addcontentsline{toc}{\msu@bibsection}{\bibtocname} + \clearpage\phantomsection\addcontentsline{toc}{\msu@bibsection}{\bibtocname} \else - \phantomsection\addcontentsline{toc}{chapter}{\bibtocname} + \clearpage\phantomsection\addcontentsline{toc}{chapter}{\bibtocname} \fi } % Since the bibliography page is the TOC entry we remove the bib in the TOC -% when it's introduced +% when it's introduced. This should be revisited too. \nobibintoc % removed v4 as no longer neededd % Modified 8/7/14 to add the bibliography cover page to the TOC and not the actual bibliography page % This should also work for biblatex even though memoir doesn't check for it |