texlive[54436] Master/texmf-dist: turabian-formatting (20mar20)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 20 22:27:47 CET 2020


Revision: 54436
          http://tug.org/svn/texlive?view=revision&revision=54436
Author:   karl
Date:     2020-03-20 22:27:47 +0100 (Fri, 20 Mar 2020)
Log Message:
-----------
turabian-formatting (20mar20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/turabian-formatting/README
    trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.pdf
    trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.tex
    trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
    trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls
    trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-thesis.cls

Modified: trunk/Master/texmf-dist/doc/latex/turabian-formatting/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/turabian-formatting/README	2020-03-20 21:27:34 UTC (rev 54435)
+++ trunk/Master/texmf-dist/doc/latex/turabian-formatting/README	2020-03-20 21:27:47 UTC (rev 54436)
@@ -1,4 +1,4 @@
-Turabian Formatting for LaTeX (2018/08/01)
+Turabian Formatting for LaTeX (2020/03/19)
 
 
 INTRODUCTION
@@ -37,7 +37,7 @@
 
 
 ==============================
-Copyright 2013-2018 Omar Abdool
+Copyright 2013-2020 Omar Abdool
 
 This work may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3 of this license

Modified: trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.tex	2020-03-20 21:27:34 UTC (rev 54435)
+++ trunk/Master/texmf-dist/doc/latex/turabian-formatting/turabian-formatting-doc.tex	2020-03-20 21:27:47 UTC (rev 54436)
@@ -1,7 +1,7 @@
 % Turabian Formatting for LaTeX -- Package Documentation
 %
 % ==============================
-% Copyright 2013-2018 Omar Abdool
+% Copyright 2013-2020 Omar Abdool
 %
 % This work may be distributed and/or modified under the conditions of the LaTeX
 % Project Public License (LPPL), either version 1.3 of this license or (at your
@@ -19,7 +19,7 @@
 % and turabian-formatting-doc.pdf (in addition to the README file).
 %
 % ==============================
-% Last updated: 2018/08/01
+% Last updated: 2020/03/19
 %
 %
 
@@ -50,7 +50,7 @@
 \usepackage{marginnote}
 \renewcommand*{\raggedleftmarginnote}{}
 \renewcommand*{\marginfont}{\ttfamily}
-\renewcommand*{\marginnotevadjust}{2\baselineskip}
+\renewcommand*{\marginnotevadjust}{\parskip}
 
 \usepackage{geometry}
 \geometry{top=1.5in, bottom=1.75in, left=1.75in, right=1.75in}
@@ -196,7 +196,7 @@
 
 The \texttt{twocolumn} option, however, is not supported. More so, the \texttt{turabian-thesis} document class does not support the \texttt{notitlepage} option.
 
-Both documents classes, by default, are set to \texttt{oneside}. The \texttt{twoside} option is also supported.
+Both document classes, by default, are set to \texttt{oneside}. The \texttt{twoside} option is also supported.
 
 \clearpage
 \subsection{Ragged Right (Left Align) Text}
@@ -230,7 +230,9 @@
 To produce a list of endnotes, use the \textcmd{theendnotes} command provided by the \texttt{endnotes} package. Through the \texttt{endnotes} option, each endnote is single-spaced with a ``blank line between notes." The default heading for this list of endnotes is typeset as \emph{Notes}.\footnote{%
 	The \emph{Notes} heading, when using the \texttt{turabian-researchpaper} document class, is typeset with \textcmd{section*}. The \texttt{turabian-thesis} document class, however, typesets the \emph{Notes} heading with \textcmd{chapter*}. If there are no endnotes preceding \textcmd{theendnotes}, this command will generate a \emph{Notes} heading with an empty endnotes list.}
 
-When used with \texttt{turabian-thesis}, the numbering of endnotes is restarted at the beginning of each chapter. In this case, the endnotes list then uses subheadings that divide endnotes by each chapter.\autocite[162]{turabian_manual_2018}
+When used with \texttt{turabian-thesis}, the numbering of endnotes is restarted at the beginning of each chapter (using the \textcmd{chapter} command).\footnote{%
+	The starred \textcmd{chapter*} command does not restart the numbering of endnotes.}
+In this case, the endnotes list then uses subheadings that divide endnotes by each chapter.\autocite[162]{turabian_manual_2018}
 
 
 \clearpage
@@ -335,7 +337,7 @@
 \texttt{turabian-researchpaper} provides the optional \textcmd{course} command for typesetting course information (such as the course title).
 
 \marginnote{\textbackslash institution\{\}\newline \textbackslash department\{\}\newline \textbackslash location\{\}}
-\texttt{turabian-thesis} also provides: (1) \textcmd{institution} for typesetting the institution at the top of the page, (2) for typesetting the name of the department, and (3) \textcmd{location} for typesetting a location just above the date.
+\texttt{turabian-thesis} also provides: (1) \textcmd{institution} for typesetting the institution at the top of the page, (2) \textcmd{department} for typesetting the name of the department, and (3) \textcmd{location} for typesetting a location just above the date.
 
 To create a custom title page, use the \texttt{titlepage} environment.
 
@@ -416,9 +418,9 @@
 \label{sec:required_packages}
 
 
-This package requires \LaTeX{}2e and makes use of the following packages installed as part of a standard \LaTeX{} distribution: \texttt{etoolbox}, \texttt{setspace}, \texttt{nowidow}, \texttt{footmisc}, \texttt{endnotes}, and \texttt{xparse}.
+This package requires \LaTeX{}2e and makes use of the following packages installed as part of a standard \LaTeX{} distribution: \texttt{etoolbox}, \texttt{setspace}, \texttt{nowidow}, \texttt{footmisc}, and \texttt{endnotes}.
 
-The following packages are highly recommended: \texttt{biblatex-chicago}, \texttt{csquotes}, \texttt{fancyhdr}, \texttt{tocloft}, \texttt{ellipsis}, and \texttt{threeparttable}.
+The following packages are highly recommended: \texttt{biblatex-chicago}, \texttt{csquotes}, \texttt{tocloft}, \texttt{ellipsis}, and \texttt{threeparttable}.
 
 
 \clearpage
@@ -426,6 +428,24 @@
 \label{sec:updates}
 
 
+\marginnote{\rmfamily{2020/03/19}}%
+
+Part, chapter, section, and subsection headings are easier to adjust. This includes better support for \textcmd{MakeUppercase}.
+
+Vertical spacing, in typesetting part, chapter, section, and subsection headings, is more precise.
+
+The \texttt{appendixes} environment provides better support for adjusting the typesetting of appendix headings.
+
+Improved support for \texttt{biblatex}.
+
+The bibliography/references list, by default, is no longer included in the table of contents (instead, use the \texttt{heading=bibintoc} option with \textcmd{printbibliography}).
+
+Significantly improved support for implementing endnotes with the \texttt{endnotes} package.
+
+The \textcmd{chapter*} command no longer resets footnote and endnote counters.
+
+The \texttt{xparse} package is no longer required.
+
 \marginnote{\rmfamily{2018/08/01}}%
 
 If the \texttt{biblatex-chicago} package is loaded by the user, the \texttt{noibid} option is no longer passed to the package by default.
@@ -438,7 +458,7 @@
 
 The \textcmd{tableofcontents} command no longer causes subsequent pages to be typeset using the \texttt{plain} page style.
 
-Paragraphs immediately following chapter, section, and subsection headings now have an indentation of 0.5 inches.
+Paragraphs, immediately following chapter, section, and subsection headings, now have an indentation of 0.5 inches.
 
 The lists of figures, tables, and illustrations each appear as entries in the table of contents.
 

Modified: trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty	2020-03-20 21:27:34 UTC (rev 54435)
+++ trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty	2020-03-20 21:27:47 UTC (rev 54436)
@@ -4,7 +4,7 @@
 % and Dissertations," 9th edition.
 %
 % ==============================
-% Copyright 2013-2018 Omar Abdool
+% Copyright 2013-2020 Omar Abdool
 %
 % This work may be distributed and/or modified under the conditions of the LaTeX
 % Project Public License (LPPL), either version 1.3 of this license or (at your
@@ -27,7 +27,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{turabian-formatting}[2018/08/01 Turabian Formatting]
+\ProvidesPackage{turabian-formatting}[2020/03/19 Turabian Formatting]
 
 
 % Package options: flags and variables
@@ -74,13 +74,12 @@
 
 \setlength\footskip{0.5in}
 
-% Text spacing is double spaced
+% Text spacing is double-spaced
 \RequirePackage{setspace}
 \setstretch{2}
 
 
-% Preserve normalsize and footnotesize single spacing baselineskip values
-
+% Preserve normalsize and footnotesize single-spacing baselineskip values
 \newlength\tf at singlelineskip
 \newlength\tf at fnsinglelineskip
 
@@ -143,13 +142,12 @@
 
 % Footnotes: readjust footnote rule size and placement
 \renewcommand{\footnoterule}{%
-	\vspace*{-3pt}
-	\hrule width 2in height 0.4pt
-	\vspace*{-4pt}}
+	\kern-3\p@
+	\hrule \@width 2in height 0.4\p@
+	\kern-4\p@}
 
-% Footnotes: make command to set footnote punctuation
-\newcommand{\tf at setfnpunct}[1]{\def\tf at thefnpunct{#1\,\,}}
-\tf at setfnpunct{.}
+% Footnotes: set default footnote punctuation
+\def\tf at thefnpunct{.\,\,}
 
 % Footnotes: renew command for typesetting footnotes
 \renewcommand{\@makefntext}[1]{%
@@ -163,8 +161,8 @@
 \def\ps at headings{%
 	\let\@oddfoot\@empty
 	\let\@evenfoot\@empty
-	\def\@evenhead{\thepage\hfil\slshape\leftmark}
-	\def\@oddhead{{\slshape\rightmark}\hfil\thepage}
+	\def\@evenhead{\thepage}
+	\def\@oddhead{\hfil\thepage}
 	\let\@mkboth\@gobbletwo
 	\let\markboth\@mkboth
 	\let\chaptermark\@gobble
@@ -192,8 +190,10 @@
 % Set top section command name to "section" (default)
 \def\tf at topsecname{section}
 
-% Set adjustment for baselineskip after \section and \section* headings
-\def\tf at adjaftersec{\dimexpr \baselineskip -\tf at singlelineskip -\p@ \relax}
+% Redefine \@afterheading to adjust for baselineskip after headings
+\def\tf at adjaftersec{\dimexpr \baselineskip -\tf at singlelineskip \relax}
+\let\tf at tempafterheading\@afterheading
+\def\@afterheading{\vskip -\tf at adjaftersec\relax \tf at tempafterheading}
 
 % Headings formatting: \section, \subsection, and \subsubsection
 \setcounter{secnumdepth}{0}
@@ -201,47 +201,96 @@
 \renewcommand{\section}{%
 	\@startsection{section}{1}%
 		{\z@}%
-		{-\tf at singlelineskip}%
+		{2\tf at singlelineskip}%
 		{\tf at singlelineskip}%
-		{\normalfont\bfseries\normalsize\singlespacing\centering}}
+		{\normalfont\bfseries\normalsize\centering}}
 
 \renewcommand{\subsection}{%
 	\@startsection{subsection}{2}%
 		{\z@}%
-		{-\tf at singlelineskip}%
+		{2\tf at singlelineskip}%
 		{\tf at singlelineskip}%
-		{\normalfont\mdseries\normalsize\singlespacing\centering}}
+		{\normalfont\mdseries\normalsize\centering}}
 
 \renewcommand{\subsubsection}{%
 	\@startsection{subsubsection}{3}%
 		{\z@}%
-		{-\tf at singlelineskip}%
+		{2\tf at singlelineskip}%
 		{\tf at singlelineskip}%
-		{\normalfont\bfseries\normalsize\singlespacing\raggedright}}
+		{\normalfont\bfseries\normalsize\raggedright}}
 
-% Headings formatting: following paragraphs start with an indent
-\def\tf at afterindent{\@afterindenttrue}
+% Sections: section heading formatting
+\def\tf at makesectionhead#1#2#3#4#5{%
+	\vskip -\tf at singlelineskip\relax
+	\begingroup
+		\singlespacing
+		#4{%
+			\@hangfrom{\hskip #3\relax\@svsec}%
+			\interlinepenalty \@M #5\@@par}%
+	\endgroup}
 
+% Sections: formatting of TOC \addcontentsline
+\def\tf at tocline#1#2{\protect{\csname the#1\endcsname\quad}}
 
-% Table of Contents: renew formatting
+% Sections: redefine \@sect to use \tf at makesectionhead and \tf at tocline
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+	\ifnum #2>\c at secnumdepth
+		\let\@svsec\@empty
+	\else
+		\refstepcounter{#1}%
+		\protected at edef\@svsec{\@seccntformat{#1}\relax}%
+	\fi
+	\@tempskipa #5\relax
+	\ifdim \@tempskipa>\z@
+		\tf at makesectionhead{#1}{#2}{#3}{#6}{#8}
+		\csname #1mark\endcsname{#7}%
+		\addcontentsline{toc}{#1}{%
+			\ifnum #2>\c at secnumdepth \else \tf at tocline{#1}{#2} \fi #7}%
+	\else
+		\def\@svsechd{%
+			#6{\hskip #3\relax \@svsec #8}%
+			\csname #1mark\endcsname{#7}%
+			\addcontentsline{toc}{#1}{%
+				\ifnum #2>\c at secnumdepth \else \tf at tocline{#1}{#2} \fi #7}}%
+	\fi
+	\@xsect{#5}}
 
-\def\tf at tocpagestyle{\@empty}
+% Sections: redefine \@ssect
+\def\@ssect#1#2#3#4#5{%
+	\@tempskipa #3\relax
+	\ifdim \@tempskipa>\z@
+		\vskip -\tf at singlelineskip\relax
+		\begingroup
+			\singlespacing
+			#4{%
+				\@hangfrom{\hskip #1}%
+				\interlinepenalty \@M #5\@@par}%
+		\endgroup
+	\else
+		\def\@svsechd{#4{\hskip #1\relax #5}}%
+	\fi
+	\@xsect{#3}}
 
+
+% Table of Contents: set adjustment for baselineskip after toc heading
+\def\tf at adjaftersectoc{%
+	\vspace{\dimexpr \baselineskip -3\tf at singlelineskip \relax}}
+
+% Table of Contents: \@starttoc formatting hook
+\def\tf at starttocformat{\singlespacing}
+
 \renewcommand{\tableofcontents}{%
-	\tf at tocpagestyle
 	\expandafter\csname \tf at topsecname\endcsname*{\contentsname}%
-	\@mkboth{\contentsname}{\contentsname}%
+	\@mkboth{}{}%
 	\if at optraggedright
 		\let\tf at tocrmarg\@tocrmarg
 		\def\@tocrmarg{\tf at tocrmarg plus1fil}
 	\fi
-	{	\vspace{\dimexpr -3\tf at singlelineskip +1\baselineskip \relax}%
-		\singlespacing
-		\@starttoc{toc}}}%
+	\tf at adjaftersectoc
+	{\tf at starttocformat\@starttoc{toc}}}%
 
 
 % List of Figures and List of Tables: adjust titles
-
 \renewcommand{\listfigurename}{Figures}
 \renewcommand{\listtablename}{Tables}
 
@@ -262,20 +311,18 @@
 % List of Figures
 \renewcommand{\listoffigures}{%
 	\expandafter\csname \tf at topsecname\endcsname*{\listfigurename}%
-	\@mkboth{\listfigurename}{\listfigurename}%
+	\@mkboth{}{}%
 	\addcontentsline{toc}{\tf at topsecname}{\listfigurename}%
-	{	\vspace{\dimexpr -3\tf at singlelineskip +1\baselineskip \relax}%
-		\singlespacing
-		\@starttoc{lof}}}
+	\tf at adjaftersectoc
+	{\tf at starttocformat\@starttoc{lof}}}
 
 % List of Tables
 \renewcommand{\listoftables}{%
 	\expandafter\csname \tf at topsecname\endcsname*{\listtablename}%
-	\@mkboth{\listtablename}{\listtablename}%
+	\@mkboth{}{}%
 	\addcontentsline{toc}{\tf at topsecname}{\listtablename}%
-	{	\vspace{\dimexpr -3\tf at singlelineskip +1\baselineskip \relax}%
-		\singlespacing
-		\@starttoc{lot}}}
+	\tf at adjaftersectoc
+	{\tf at starttocformat\@starttoc{lot}}}
 
 % List of Illustrations
 \newcommand{\listillustrationname}{Illustrations}
@@ -283,10 +330,10 @@
 
 \newcommand{\listofillustrations}{%
 	\expandafter\csname \tf at topsecname\endcsname*{\listillustrationname}%
-	\@mkboth{\listillustrationname}{\listillustrationname}%
+	\@mkboth{}{}%
 	\addcontentsline{toc}{\tf at topsecname}{\listillustrationname}%
-	{	\vspace{\dimexpr -3\tf at singlelineskip +1\baselineskip \relax}%
-		\singlespacing
+	\tf at adjaftersectoc
+	{	\tf at starttocformat
 		{\tf at illustrsection Figures}\par\nopagebreak
 		\@starttoc{lof}
 		\vspace{\tf at singlelineskip}
@@ -295,7 +342,6 @@
 
 
 % Figures and Tables: float positioning
-
 \setlength\textfloatsep{%
 	\dimexpr 2\tf at singlelineskip +\p@ \relax minus 1\tf at singlelineskip}
 \setlength\floatsep{%
@@ -307,7 +353,6 @@
 \def\fps at figure{!htb}
 
 % Figures and Tables: caption formatting
-
 \setlength\abovecaptionskip{\z@}
 \setlength\belowcaptionskip{\z@}
 
@@ -317,7 +362,6 @@
 	\small#1. #2\par
 	\vskip\belowcaptionskip}
 
-
 % Lists: enumerate and itemize formatting
 \setlength\leftmargini{1.5\parindent}
 \setlength\leftmargin{\leftmargini}
@@ -391,7 +435,6 @@
 
 
 % thebibliography environment: formatting (adjust \@openbib at code hook default)
-
 \setlength\bibindent{\parindent}
 
 \renewcommand\@openbib at code{%
@@ -422,52 +465,36 @@
 					\DefineBibliographyStrings{english}{%
 						references = {Bibliography}}
 				\fi
+				\renewcommand{\bibitemsep}{\tf at singlelineskip}
+				\renewcommand{\bibhang}{0.5in}
 				\renewcommand{\bibsetup}{%
-					\addcontentsline{toc}{\tf at topsecname}{\bibname}
-					\vspace{\dimexpr -2\tf at singlelineskip +1\baselineskip \relax}%
-					\singlespacing%
-					\def\tf at adjaftersec{\dimexpr \tf at singlelineskip -\p@ \relax}}
-				\renewcommand{\bibitemsep}{1\baselineskip}
-				\renewcommand{\bibhang}{0.5in}
+					\vskip \tf at adjaftersec\relax
+					\vskip -\tf at singlelineskip\relax
+					\singlespacing}%
 			}{}}
 \fi
 
 
 % Endnotes: support and formatting
-
 \if at endnotesformat
 
-	\RequirePackage{endnotes, xparse}
+	\RequirePackage{endnotes}
 
 	% Changes footnote marker type and formatting
-	\tf at setfnpunct{}
+	\def\tf at thefnpunct{\,\,}
 	\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
 
 	\PassOptionsToPackage{notetype=endonly}{biblatex-chicago}
 	
-	\AtEndPreamble{%
-		% Make endnotes use of "_" not a special character when in text mode
-		\appto{\enoteheading}{%
-			\catcode`_=12
-			\begingroup\lccode`~=`_
-			\lowercase{\endgroup\let~}\sb
-			\mathcode`_="8000}
+	% Create \jobname.ent to avoid missing file error
+	\@openenotes
 
-		% Create \jobname.ent if not already defined to avoid missing file error
-		\preto{\theendnotes}{%
-			\IfFileExists{./\jobname.ent}%
-				{}%
-				{%
-					\immediate\openout\@enotes=\jobname.ent\relax
-					\immediate\write\@enotes{}%
-				}}}
-
 	% Set default endnotes formatting
 	\renewcommand{\enotesize}{\normalsize}
 	\renewcommand{\enoteformat}{%
+		\singlespacing
 		\if at optraggedright \raggedright \fi
 		\setlength\parindent{\footnotemargin}
-		\vspace{\tf at singlelineskip}
 		\theenmark.\,\,}
 
 \else

Modified: trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls	2020-03-20 21:27:34 UTC (rev 54435)
+++ trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls	2020-03-20 21:27:47 UTC (rev 54436)
@@ -4,7 +4,7 @@
 % and Dissertations," 9th edition.
 %
 % ==============================
-% Copyright 2013-2018 Omar Abdool
+% Copyright 2013-2020 Omar Abdool
 %
 % This work may be distributed and/or modified under the conditions of the LaTeX
 % Project Public License (LPPL), either version 1.3 of this license or (at your
@@ -27,7 +27,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{turabian-researchpaper}[2018/08/01 Turabian Research Paper]
+\ProvidesClass{turabian-researchpaper}[2020/03/19 Turabian Research Paper]
 
 
 % Default point size
@@ -79,51 +79,17 @@
 \RequirePackage{turabian-formatting}
 
 
-% Part: formatting
-\def\tf at partformat{\normalfont\bfseries\singlespacing\centering}
+% Sections: \section* adjustment to space after heading
+\newif\if at adjustssect\@adjustssecttrue
+\newlength\tf at ssectafterskip
 
-\def\@part[#1]#2{%
-	\ifnum \c at secnumdepth >-2\relax
-		\refstepcounter{part}%
-		\addcontentsline{toc}{part}%
-			{\protect{\partname\space\thepart}}%
-	\else
-		\addcontentsline{toc}{part}{#1}%
-	\fi
-	\markboth{}{}%
-	{	\tf at partformat
-		\interlinepenalty \@M
-		\ifnum \c at secnumdepth >-2\relax
-			\partname\nobreakspace\thepart
-			\par\nobreak
-			\vspace*{1\baselineskip}%
-		\fi
-		\ifstrempty{#2}%
-			{}%
-			{#2\par\nobreak}}%
-	\vspace{\dimexpr 3\tf at singlelineskip -\baselineskip \relax}}
-
-\def\@spart#1{%
-	{	\tf at partformat
-		\interlinepenalty \@M
-		#1\par\nobreak}%
-	\vspace{\dimexpr 3\tf at singlelineskip -\baselineskip \relax}}
-
-
 % Sections: command to disable differentiate and reformat \section*
 \gdef\noadjustssect{\@adjustssectionfalse}
 
-% Sections: \section* adjustment to space after heading
-\newif\if at adjustssection\@adjustssectiontrue
-\newlength\tf at ssect@afterskip
-\setlength\tf at ssect@afterskip{1\p@}
+% Sections: \section* heading formatting hook
+\def\tf at ssectformat#1{#1}
 
-% Sections: adjustment to space after \section heading
-\newif\if at tf@adjustsection\@tf at adjustsectionfalse
-\newlength\tf at sect@afterskip
-\setlength\tf at sect@afterskip{1\p@}
-
-% Sections: redefine \@startsection to differentiate starred version
+% Sections: redefine \@startsection to support \if at adjustssect and \tf at ssectformat
 \def\@startsection#1#2#3#4#5#6{%
 	\if at noskipsec \leavevmode \fi
 	\par
@@ -130,69 +96,54 @@
 	\@tempskipa #4\relax
 	\@afterindenttrue
 	\ifdim \@tempskipa <\z@
-		\@tempskipa -\@tempskipa \tf at afterindent
+		\@tempskipa -\@tempskipa \@afterindentfalse
 	\fi
 	\if at nobreak \everypar{} \else
 		\addpenalty\@secpenalty\addvspace\@tempskipa
 	\fi
-	\setlength\tf at ssect@afterskip{\dimexpr #5 -\tf at adjaftersec \relax}
-	\if at adjustssection
-		\ifstrequal{#1}{section}%
-			{\setlength\tf at ssect@afterskip{%
-				\dimexpr 2\tf at singlelineskip -\tf at adjaftersec \relax}}%
-			{}
+	\setlength\tf at ssectafterskip{#5}
+	\ifnum #2 =1
+		\if at adjustssect \setlength\tf at ssectafterskip{2\tf at singlelineskip} \fi
 	\fi
-	\setlength\tf at sect@afterskip{\dimexpr #5 -\tf at adjaftersec \relax}
-	\if at tf@adjustsection
-		\ifstrequal{#1}{section}%
-			{\setlength\tf at sect@afterskip{%
-				\dimexpr 2\tf at singlelineskip -\tf at adjaftersec \relax}}%
-			{}
-	\fi
 	\@ifstar
-		{\@ssect{#3}{#4}{\tf at ssect@afterskip}{#6}}%
-		{\@dblarg{\@sect{#1}{#2}{#3}{#4}{\tf at sect@afterskip}{#6}}}}
+		{\@ssect{#3}{#4}{\tf at ssectafterskip}{\tf at ssectformat{#6}}}%
+		{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
 
-% Sections: formatting between \@svsec and heading
-\protected at edef\tf at secsep#1#2{\@empty}
 
-% Sections: formatting of TOC \addcontentsline
-\def\tf at tocline#1{\protect{\csname the#1\endcsname\quad}}
+% Part: formatting (unsupported)
+\def\tf at partformat{\normalfont\bfseries\centering}
 
-% Sections: redefine \@sect to support optional two-line formatting
-\def\@sect#1#2#3#4#5#6[#7]#8{%
-	\ifnum #2>\c at secnumdepth
-		\let\@svsec\@empty
+\def\@part[#1]#2{%
+	\@afterindenttrue
+	\ifnum \c at secnumdepth >\m at ne
+		\refstepcounter{part}%
+		\addcontentsline{toc}{part}{\protect{\partname\space\thepart}}%
 	\else
-		\refstepcounter{#1}%
-		\protected at edef\@svsec{\@seccntformat{#1}\relax}%
+		\addcontentsline{toc}{part}{#1}%
 	\fi
-	\@tempskipa #5\relax
-	\ifdim \@tempskipa>\z@
-		\begingroup
-			#6{%
-				\@hangfrom{\hskip #3\relax\@svsec}%
-				\interlinepenalty \@M \tf at secsep{#1}{#8}#8\@@par}%
-		\endgroup
-		\csname #1mark\endcsname{#7}%
-		\addcontentsline{toc}{#1}{%
-			\ifnum #2>\c at secnumdepth \else
-				\tf at tocline{#1}%
-			\fi
-			#7}%
-	\else
-		\def\@svsechd{%
-			#6{\hskip #3\relax\@svsec #8}%
-			\csname #1mark\endcsname{#7}%
-			\addcontentsline{toc}{#1}{%
-				\ifnum #2>\c at secnumdepth \else
-					\tf at tocline{#1}%
-				\fi
-				#7}}%
-	\fi
-	\@xsect{#5}}
+	\markboth{}{}%
+	\begingroup
+		\setlength\parskip{\tf at singlelineskip}
+		\singlespacing
+		\interlinepenalty \@M 
+		\tf at partformat{%
+			\ifnum \c at secnumdepth >\m at ne
+				\partname\nobreakspace\thepart\relax\@@par
+			\fi%
+			#2\@@par}%
+	\endgroup
+	\vskip 2\tf at singlelineskip
+	\@afterheading}
 
+\def\@spart#1{%
+   \@afterindenttrue
+	{	\singlespacing
+		\interlinepenalty \@M
+		\tf at partformat{#1\@@par}}%
+	\vskip 2\tf at singlelineskip
+	\@afterheading}
 
+
 % Title page: commands for use with \maketitle
 \newcommand{\subtitle}[1]{\gdef\tf at subtitle{#1}}
 \subtitle{}
@@ -230,7 +181,7 @@
 	% Formatting for titlepage option
 	\renewcommand{\maketitle}{%
 		\begin{titlepage}%
-			\tf at setfnpunct{}
+			\def\tf at thefnpunct{\,\,}
 			\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
 			\let\footnoterule\relax
 			\normalfont\normalsize\centering\singlespacing
@@ -276,7 +227,6 @@
 
 
 % Table of Contents, List of Figures, and List of Tables: item number alignment
-%\def\numberline#1{\hb at xt@\@tempdima{\hfil #1\hspace{1em}}}
 
 \def\@tocrmarg{0.75in}
 \def\@pnumwidth{3.5ex}
@@ -288,30 +238,33 @@
 \renewcommand*{\l at part}[2]{%
 	\ifnum \c at tocdepth >-2\relax
 		\addpenalty{-\@highpenalty}%
-		\addvspace{1\baselineskip}%
+		\vskip 2\tf at singlelineskip %
 		\setlength\@tempdima{0.5in}%
-		\vskip \tf at singlelineskip
-		{	\parindent \z@
-			\rightskip \z@
+		{	\parindent \z@ \rightskip \z@
 			\parfillskip -\@rightskip
 			\leavevmode
 			\advance\leftskip\@tempdima
 			\hskip -\leftskip
 			\bfseries #1\nobreak\hfil \nobreak\par}
+		\if at compatibility
+			\global\@nobreaktrue
+			\everypar{\global\@nobreakfalse\everypar{}}%
+		\fi
 	\fi}
 
 \renewcommand*{\l at section}[2]{%
 	\ifnum \c at tocdepth >\z@
 		\addpenalty\@secpenalty
+		\vskip \tf at singlelineskip
 		\setlength\@tempdima{\z@}%
-		\vskip \tf at singlelineskip
-		{	\parindent \z@
-			\rightskip \@tocrmarg
+		\begingroup
+			\parindent \z@ \rightskip \@tocrmarg
 			\parfillskip -\rightskip
 			\leavevmode
 			\advance\leftskip\@tempdima
 			\hskip -\leftskip
-			#1\nobreak\hfil \nobreak\hb at xt@\@pnumwidth{\hss #2}\par}
+			#1\nobreak\hfil \nobreak\hb at xt@\@pnumwidth{\hss #2}\par
+		\endgroup
 	\fi}
 
 \renewcommand*{\l at subsection}{%
@@ -344,31 +297,43 @@
 
 % Appendixes: adjust formatting of section headings
 \def\tf at appendixsecfrmt{%
-	\DeclareRobustCommand{\@seccntformat}[1]{%
-		\ifstrequal{##1}{section}%
-			{\appendixname\space \csname the##1\endcsname}%
-			{\csname the##1\endcsname\quad}}
-	\DeclareRobustCommand{\tf at secsep}[2]{%
-		\ifstrequal{##1}{section}%
-			{\ifstrempty{##2}{}{\par\nobreak}}%
-			{\@empty}}
-	\def\tf at tocline##1{\appendixname\space \csname the##1\endcsname.\quad}
-	\@tf at adjustsectiontrue}
+	\def\thesection{\@Alph\c at section}
+	\protect\def\tf at makesectionhead##1##2##3##4##5{%
+		\vskip -\tf at singlelineskip\relax
+		\ifnum ##2 =1
+			\begingroup
+				\singlespacing
+				\interlinepenalty \@M
+				##4{\appendixname\space\thesection\relax\@@par ##5\@@par}%
+				\vskip \tf at singlelineskip
+			\endgroup
+		\else
+			\begingroup
+				\singlespacing
+				##4{%
+					\@hangfrom{\hskip ##3\relax\@svsec}%
+					\interlinepenalty \@M ##5\@@par}%
+			\endgroup
+		\fi}
+	\def\tf at tocline##1##2{%
+		\ifnum ##2 =1
+			\protect{\appendixname\space\thesection.\quad}
+		\else
+			\protect{\csname the##1\endcsname\quad}
+		\fi}}
 
 % Appendixes: make environment
 \newenvironment{appendixes}%
 	{%
 		\setcounter{secnumdepth}{1}
-		\tf at appendixsecfrmt
-		\setcounter{section}{0}%
-		\setcounter{subsection}{0}%
-		\gdef\thesection{\@Alph\c at section}%
+		\setcounter{section}{0}
+		\setcounter{subsection}{0}
+		\tf at appendixsecfrmt%
 	}%
 	{%
 		\setcounter{secnumdepth}{0}%
 		\setcounter{section}{0}%
 		\setcounter{subsection}{0}%
-		\gdef\thesection{\@arabic\c at section}%
 	}%
 
 % Appendixes: remove \appendix command
@@ -377,14 +342,10 @@
 
 % Endnotes: Notes heading formatted as \section*
 \if at endnotesformat
-	\renewcommand{\enoteheading}{%
+	\def\enoteheading{%
 		\section*{\notesname}%
-		\markboth{\notesname}{\notesname}%
-		\addcontentsline{toc}{section}{\notesname}%
-		\vspace{\dimexpr -4\tf at singlelineskip +1\baselineskip \relax}
-		\singlespacing\mbox{}%
-		\def\tf at adjaftersec{\dimexpr \tf at singlelineskip -\p@ \relax}
-		\let\tf at afterindent\@afterindenttrue}%
+		\markboth{}{}%
+		\addcontentsline{toc}{section}{\notesname}}
 \fi
 
 

Modified: trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-thesis.cls	2020-03-20 21:27:34 UTC (rev 54435)
+++ trunk/Master/texmf-dist/tex/latex/turabian-formatting/turabian-thesis.cls	2020-03-20 21:27:47 UTC (rev 54436)
@@ -4,7 +4,7 @@
 % and Dissertations," 9th edition.
 %
 % ==============================
-% Copyright 2013-2018 Omar Abdool
+% Copyright 2013-2020 Omar Abdool
 %
 % This work may be distributed and/or modified under the conditions of the LaTeX
 % Project Public License (LPPL), either version 1.3 of this license or (at your
@@ -27,7 +27,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{turabian-thesis}[2018/08/01 Turabian Theses and Dissertations]
+\ProvidesClass{turabian-thesis}[2020/03/19 Turabian Theses and Dissertations]
 
 
 % Default point size
@@ -128,57 +128,56 @@
 	\if at openright \cleardoublepage \else \clearpage \fi
 	\secdef\@part\@spart}
 
-\def\tf at partformat{\normalfont\bfseries\normalsize\singlespacing\centering}
+\def\tf at partformat{\normalfont\bfseries\normalsize\centering}
 
 % Part: heading with empty page
 \def\@part[#1]#2{%
 	\ifnum \c at secnumdepth >-2\relax
-		\if at mainmatter
-			\refstepcounter{part}%
-			\addcontentsline{toc}{part}%
-				{\protect\numberline{\partname\space\thepart}#1}%
-		\else
-			\addcontentsline{toc}{part}{#1}%
-		\fi
+		\refstepcounter{part}
+		\setcounter{footnote}{0}
+		\addcontentsline{toc}{part}%
+			{\protect\numberline{\partname\space\thepart}#1}
 	\else
-		\addcontentsline{toc}{part}{#1}%
+		\addcontentsline{toc}{part}{#1}
 	\fi
-	\markboth{}{}%
-	{	\tf at partformat
+	\markboth{}{}
+	\thispagestyle{empty}
+	\begingroup
+		\setlength\parskip{\tf at singlelineskip}
+		\singlespacing
 		\interlinepenalty \@M
-		\thispagestyle{empty}%
-		\ifnum \c at secnumdepth >-2\relax
-			\if at mainmatter
-				\partname\nobreakspace\thepart
-				\par\nobreak
-				\vspace*{1\baselineskip}%
-			\fi
-		\fi
-		#2\par}
+		\tf at partformat{
+			\ifnum \c at secnumdepth >-2\relax
+				\partname\nobreakspace\thepart\relax\@@par
+			\fi%
+			#1\@@par}%
+	\endgroup
 	\@endpart}
 
 % Part: heading with plain page style; allows following part description
 \def\@spart#1{%
 	\ifnum \c at secnumdepth >-2\relax
-		\if at mainmatter
-			\refstepcounter{part}%
-			\addcontentsline{toc}{part}%
-				{\protect\numberline{\partname\space\thepart}#1}%
-		\fi
+		\refstepcounter{part}
+		\setcounter{footnote}{0}
+		\addcontentsline{toc}{part}%
+			{\protect\numberline{\partname\space\thepart}#1}
+	\else
+		\addcontentsline{toc}{part}{#1}
 	\fi
-	\markboth{}{}%
-	{	\tf at partformat
+	\markboth{}{}
+	\thispagestyle{plain}
+	\begingroup
+		\setlength\parskip{\tf at singlelineskip}
+		\singlespacing
 		\interlinepenalty \@M
-		\thispagestyle{plain}%
-		\ifnum \c at secnumdepth >-2\relax
-			\if at mainmatter
-				\partname\nobreakspace\thepart
-				\par\nobreak
-				\vspace*{1\baselineskip}%
-			\fi
-		\fi
-		\ifstrempty{#1}{}{#1\par\nobreak}}%
-	\vspace{\dimexpr 3\tf at singlelineskip -\baselineskip \relax}
+		\tf at partformat{
+			\ifnum \c at secnumdepth >-2\relax
+				\partname\nobreakspace\thepart\relax\@@par
+			\fi%
+			#1\@@par}%
+	\endgroup
+	\vskip 2\tf at singlelineskip
+	\@afterindenttrue	
 	\@afterheading}
 
 \def\@endpart{\if at openright \cleardoublepage \else \clearpage \fi}
@@ -220,35 +219,29 @@
 		\@tfchapterbeforefalse
 	\fi}
 
-% Chapter: formatting
-\def\tf at chapformat{\normalfont\bfseries\normalsize\singlespacing\centering}
-
-\newlength\tf at adjafterchapskip
-\setlength\tf at adjafterchapskip{\z@}
-
-\def\tf at setafterchapskip{%
-	\setlength\tf at adjafterchapskip{%
-		\dimexpr 3\tf at singlelineskip -\baselineskip \relax}}
-
+% Chapter: heading layout
 \def\@chapter[#1]#2{%
 	\@figuredblnumfalse
 	\@tabledblnumfalse
-	\tf at afterindent
+	\@afterindenttrue
 	\ifnum \c at secnumdepth >\m at ne
+		\setcounter{footnote}{0}
 		\if at mainmatter
 			\tf at chapcounter
-			\typeout{\@chapapp\space\thechapter.}%
+			\typeout{\@chapapp\space\thechapter}
 			\addcontentsline{toc}{chapter}%
-				{\protect\numberline{\@chapapp\space\thechapter}#1}%
+				{\protect\numberline{\@chapapp\space\thechapter}#1}
+			\tf at endnotesection{\@chapapp\space\thechapter}
 		\else
 			\tf at restoreftcounters
-			\addcontentsline{toc}{chapter}{#1}%
+			\addcontentsline{toc}{chapter}{#1}
+			\tf at endnotesection{#1}
 		\fi
 	\else
-		\addcontentsline{toc}{chapter}{#1}%
+		\addcontentsline{toc}{chapter}{#1}
 	\fi
-	\chaptermark{#1}%
-	\@makechapterhead{#2}%
+	\chaptermark{#1}
+	\@makechapterhead{#2}
 	\@afterheading}
 
 \def\@schapter#1{%
@@ -255,50 +248,35 @@
 	\@figuredblnumfalse
 	\@tabledblnumfalse
 	\tf at restoreftcounters
-	\tf at afterindent
-	\@makeschapterhead{#1}%
+	\@afterindenttrue
+	\@makeschapterhead{#1}
 	\@afterheading}
 
+% Chapter: heading formatting
+\def\tf at chapformat{\normalfont\bfseries\normalsize\centering}
+
 \def\@makechapterhead#1{%
-	\tf at setafterchapskip
-	{	\tf at chapformat
-		\ifnum \c at secnumdepth >\m at ne
-			\if at mainmatter
-				\@chapapp\space \thechapter
-				\par\nobreak
-				\vspace*{1\baselineskip}%
-			\fi
-		\fi
+	\begingroup
+		\setlength\parskip{\tf at singlelineskip}
+		\singlespacing
 		\interlinepenalty\@M
-		\ifstrempty{#1}{}{#1\par\nobreak \vspace{\tf at adjafterchapskip}}}}
+		\tf at chapformat{
+			\ifnum \c at secnumdepth >\m at ne
+				\if at mainmatter
+					\@chapapp\space \thechapter\relax\@@par
+				\fi%
+			\fi%
+			#1\@@par}
+	\endgroup
+	\vskip 2\tf at singlelineskip}
 
 \def\@makeschapterhead#1{%
-	\tf at setafterchapskip
-	{	\tf at chapformat
+	{	\singlespacing
 		\interlinepenalty\@M
-		#1\par\nobreak
-		\vspace{\tf at adjafterchapskip}}}
+		\tf at chapformat{#1}\par\nobreak}%
+	\vskip 2\tf at singlelineskip}
 
 
-% Sections: redefine \@startsection to support adjusting space after section headings
-\def\@startsection#1#2#3#4#5#6{%
-	\if at noskipsec \leavevmode \fi
-	\par
-	\@tempskipa #4\relax
-	\@afterindenttrue
-	\ifdim \@tempskipa <\z@
-		\@tempskipa -\@tempskipa \tf at afterindent
-	\fi
-	\if at nobreak
-		\everypar{}%
-	\else
-		\addpenalty\@secpenalty\addvspace\@tempskipa
-	\fi
-	\@ifstar
-		{\@ssect{#3}{#4}{\dimexpr #5 -\tf at adjaftersec \relax}{#6}}%
-		{\@dblarg{\@sect{#1}{#2}{#3}{#4}{\dimexpr #5 -\tf at adjaftersec \relax}{#6}}}}
-
-
 % Title page: commands for use with \maketitle
 \newcommand{\subtitle}[1]{\gdef\tf at subtitle{#1}}
 \subtitle{}
@@ -357,7 +335,7 @@
 \renewcommand{\maketitle}{%
 	\begin{titlepage}%
 		\singlespacing
-		\tf at setfnpunct{}
+		\def\tf at thefnpunct{\,\,}
 		\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
 		\let\footnoterule\relax
 		\normalfont\normalsize
@@ -404,9 +382,8 @@
 \renewcommand*{\l at part}[2]{%
 	\ifnum \c at tocdepth >-2\relax
 		\addpenalty{-\@highpenalty}%
-		\addvspace{1\baselineskip}%
+		\vskip 2\tf at singlelineskip %
 		\setlength\@tempdima{1.25in}%
-		\vskip 1\baselineskip
 		{	\parindent \z@
 			\rightskip \z@
 			\parfillskip -\@rightskip
@@ -433,7 +410,7 @@
 
 \renewcommand*{\l at section}{%
 	\ifnum \c at tocdepth >\z@ \vskip \tf at singlelineskip \fi
-	\@dottedtocline{1}{1.5in}{\z@}}
+	\@dottedtocline{1}{1.25in}{\z@}}
 
 \renewcommand*{\l at subsection}{%
 	\ifnum \c at tocdepth >1 \vskip \tf at singlelineskip \fi
@@ -493,19 +470,36 @@
 
 \newcounter{appendix}
 
+% Appendixes: heading formatting
+\def\tf at appendixchapfrmt{%
+	\def\thechapter{\@Alph\c at appendix}
+	\def\@chapapp{\appendixname}%
+	\protect\def\@chapter[##1]##2{%
+		\tf at appendixcounter
+		\setcounter{footnote}{0}
+		\@afterindenttrue
+		\typeout{\@chapapp\space\thechapter}
+		\addcontentsline{toc}{chapter}%
+			{\protect\numberline{\@chapapp\space\thechapter}##1}
+		\chaptermark{##1}
+		\tf at endnotesection{\@chapapp\space\thechapter}
+		\begingroup
+			\setlength\parskip{\tf at singlelineskip}
+			\singlespacing
+			\interlinepenalty\@M
+			\tf at chapformat{\@chapapp\space \thechapter\@@par ##2\@@par}
+		\endgroup
+		\vskip 2\tf at singlelineskip
+		\@afterheading}}
+
 \newenvironment{appendixes}%
 	{%
-		\@mainmattertrue
-		\setcounter{section}{0}%
-		\def\@chapapp{\appendixname}%
-		\def\thechapter{\@Alph\c at appendix}
-		\def\tf at chapcounter{\refstepcounter{appendix}}
 		\if at doublenumerate
 			\if at tfchapterbefore \else
 				\setcounter{tf at tempchapfcnt}{\value{figure}}
 				\setcounter{tf at tempchaptcnt}{\value{table}}
 			\fi
-			\def\tf at chapcounter{%
+			\def\tf at appendixcounter{%
 				\refstepcounter{appendix}
 				\@figuredblnumtrue
 				\@tabledblnumtrue}
@@ -513,13 +507,19 @@
 			\setcounter{table}{0}
 			\def\tf at figuredblnumprefix{A}
 			\def\tf at tabledblnumprefix{A}
+		\else
+			\def\tf at appendixcounter{%
+				\refstepcounter{appendix}
+				\@figuredblnumfalse
+				\@tabledblnumfalse}
 		\fi
+		\tf at appendixchapfrmt%
 	}%
 	{%
 		\if at doublenumerate
 			\setcounter{figure}{\value{tf at tempchapfcnt}}
 			\setcounter{table}{\value{tf at tempchaptcnt}}
-		\fi
+		\fi%
 	}
 
 % Appendixes: remove \appendix command
@@ -526,57 +526,29 @@
 \def\appendix{\@empty}
 
 
-% Endnotes: layout and formatting
+% Endnotes: reset endnote counter and create endnote section heading
+\def\tf at endnotesection#1{%
+	\if at endnotesformat
+		\setcounter{endnote}{0}
+		\if at enotesopen
+			\addtoendnotes{\noexpand\tf at enotesechead{#1}}
+		\fi
+	\fi}
 
+% Endnotes: format and make endnote section heading if followed by an endnote
 \if at endnotesformat
+	\def\tf at enotesechead#1{%
+		\@ifnextchar\@doanenote%
+			{\vskip\tf at singlelineskip\relax \section*{#1}}%
+			{}}
+\fi
 
-	\let\tf at chapter\chapter
-
-	\@addtoreset{endnote}{chapter}
-
-	% Renew Notes heading formatted as \chapter* (also added to Table of Content)
-	\renewcommand{\enoteheading}{%
-		\tf at chapter*{\notesname}%
-		\@mkboth{\notesname}{\notesname}%
-		\addcontentsline{toc}{chapter}{\notesname}%
-		\vspace{\dimexpr -5\tf at singlelineskip +1\baselineskip \relax}%
-		\singlespacing\mbox{}%
-		\def\tf at adjaftersec{\dimexpr \tf at singlelineskip -\p@ \relax}
-		\let\tf at afterindent\@afterindenttrue}%
-
-	% Renew \chapter command to: (1) reset endnotes counter at each chapter, and (2) add subheadings for each chapter in \endnotes formatting.
-	\RenewDocumentCommand{\chapter}{som}{%
-		\IfBooleanTF{#1}%
-			{%	if \chapter*
-				\tf at chapter*{#3}%
-				\setcounter{endnote}{0}%
-				\addtoendnotes{%
-					\noexpand\tf at enotedivider%
-						{\noexpand\section*}{\unexpanded{#3}}}%
-			}%
-			{%	if \chapter
-				\IfNoValueTF{#2}%
-					{\tf at chapter{#3}}%
-					{\tf at chapter[#2]{#3}}%
-				\setcounter{endnote}{0}%
-				\if at mainmatter
-					\addtoendnotes{%
-						\noexpand\tf at enotedivider%
-							{\noexpand\section*}{\@chapapp\space \thechapter}}%
-				\else
-					\addtoendnotes{%
-						\noexpand\tf at enotedivider%
-							{\noexpand\section*}{\unexpanded{#3}}}%
-				\fi
-			}}
-
-	% Empty subheading divider before \theendnotes for use with \tf at enotedivider
-	\preto{\theendnotes}{%
-		\addtoendnotes{\noexpand\tf at enotedivider{}{}}}
-
-	% Make endnote divider if not followed by another endnote divider
-	\def\tf at enotedivider#1#2{\@ifnextchar\tf at enotedivider{}{#1{#2}}}%
-
+% Endnotes: Notes heading formatted as \chapter*
+\if at endnotesformat
+	\def\enoteheading{%
+		\chapter*{\notesname}%
+		\@mkboth{}{}%
+		\addcontentsline{toc}{chapter}{\notesname}}
 \fi
 
 



More information about the tex-live-commits mailing list.