diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-20 20:10:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-20 20:10:20 +0000 |
commit | 2505ce617cee223c5cca09ff2823d871aa8a18c4 (patch) | |
tree | 5b60276e5e63af07cfe1a4aba4b3d3d048065b12 /Master/texmf-dist/tex/latex/msu-thesis | |
parent | 6d4b7c0e419451ddb0c2b22ccc6d296b65bb4324 (diff) |
msu-thesis (20jul23)
git-svn-id: svn://tug.org/texlive/trunk@67682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/msu-thesis')
-rw-r--r-- | Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls index c9d0c2b8851..63be1bba6eb 100644 --- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls +++ b/Master/texmf-dist/tex/latex/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 |