texlive[73622] Master/texmf-dist: mitthesis (27jan25)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 28 22:07:01 CET 2025


Revision: 73622
          https://tug.org/svn/texlive?view=revision&revision=73622
Author:   karl
Date:     2025-01-28 22:07:01 +0100 (Tue, 28 Jan 2025)
Log Message:
-----------
mitthesis (27jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf
    trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex
    trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex
    trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/committee_members.tex
    trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex
    trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
    trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf
    trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex	2025-01-28 21:07:01 UTC (rev 73622)
@@ -3,7 +3,7 @@
 
 % This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
 %
-% Version: 1.18, 2025/1/17
+% Version: 1.19, 2025/01/28
 %
 % Author: John H. Lienhard, copyright 2025. Reuse under the MIT license: https://ctan.org/license/mit 
 
@@ -11,19 +11,21 @@
 
 %% Don't modify the \DocumentMetadata command unless you know what it does. 
 %% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out.
-\DocumentMetadata{
+\DocumentMetadata 
+{
 	lang		= en-US,
 	pdfversion  = 1.7,
     pdfstandard = a-2b,
 %	pdfstandard = ua-2,% a-4f,% 
 %	pdfversion  = 2.0,
-%	debug		= {xmp-export}, % creates and xmpi file useful for checking metadata
+%	debug		= {xmp-export}, % note that subject entries are all fine in dc format of outputted xmpi file.
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \documentclass[twoside]{mitthesis}% fontset=newtx, fontset=libertine, fontset=libertinus, fontset=lmodern, 
-%						fontset=newtx-sans-text, fontset=fira-newtxsf, fontset=heros-stix2, fontset=stix2, fontset=lmodern
+%						fontset=newtx-sans-text, fontset=fira-newtxsf, fontset=heros-stix2, fontset=stix2, 
+%						fontset=lmodern,fontset=lucida
 %
 % option [twoside]		gives facing-page behavior for printing; omitting twoside will eliminate even-numbered blank pages.
 % option [lineno]	 	provides line numbers, as for editing
@@ -308,8 +310,8 @@
 %%% Appendicies of thesis  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \appendix
-\include{appendixa}
-\include{appendixb}
+\include{appendixa}% listings example
+\include{appendixb}% longtable example
 
 %%% Bibliography (biblatex)  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex	2025-01-28 21:07:01 UTC (rev 73622)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.08, 2025/01/15
+% Version: 1.09, 2025/01/28
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -98,7 +98,7 @@
 $\rho \neq \textrm{fn}(p)$:
 \begin{align}
 \frac{d\Gamma}{dt} &{}= \frac{d}{dt} \int_{\mathcal{C}} \mathbf{u} \cdot d\mathbf{r}\\
-				   &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\Biggr)}_{=\, 0} \\[-2pt]
+				   &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\biggr)}_{=\, 0} \\[-2pt]
                    &{}= \iint_{\mathcal{S}} \nabla \times \frac{D\mathbf{u}}{Dt}  \cdot d\mathbf{A}\\
                    &{}= \iint_{\mathcal{S}}  \nabla p \times \nabla \left( \frac{1}{\rho}\right) \cdot d\mathbf{A}
 \end{align}

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/committee_members.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/committee_members.tex	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/committee_members.tex	2025-01-28 21:07:01 UTC (rev 73622)
@@ -1,5 +1,5 @@
 % Sample thesis committee page for mitthesis.cls
-% Version 1.01, 2024/10/08
+% Version 1.02, 2025/01/28
 %
 % This page is not required by the MIT Libraries, but some departments require it.
 %
@@ -33,6 +33,10 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+\ExplSyntaxOn % class file includes code for when tagging is not active.
+\tag_struct_begin:n {tag=Sect, title=Committee~Members}
+\ExplSyntaxOff
+
 \begin{flushright}
 
 \CommitteePageTitle{Thesis committee}
@@ -67,4 +71,8 @@
 
 \end{flushright}
 
+\ExplSyntaxOn
+\tag_struct_end:
+\ExplSyntaxOff
+
 \cleardoublepage

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex	2025-01-28 21:07:01 UTC (rev 73622)
@@ -1,7 +1,7 @@
 % From mitthesis package
 % Documentation: https://ctan.org/pkg/mitthesis
 
-\ProvidesFile{mydesign.tex}[2024/06/28 v1.04 Typographic design options for thesis]
+\ProvidesFile{mydesign.tex}[2025/01/28 v1.05 Typographic design options for thesis]
 
 %%%%%%%%%%  Color support  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -50,16 +50,19 @@
 % 
 % see documentation for details of how to customize headings
 
-\RequirePackage{titlesec}
+%\RequirePackage{titlesec}
 
 % these titlesec commands just automate the bold math in some headings (rest follows default styles)
-\titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{}
-\titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{}
-\titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
 
+%\titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{}
+%\titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{}
+%\titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
+
 % ==> NOT every font includes a bold math version, so you may need other math macros in the headings to get bold math <==
 
+% mitthesis.cls adds \mathversion{bold} by patching section heading without using titlesec.
 
+
 %%%%%%%%%  Change page margins  %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % 
 % The default thesis margin is 1 inch all around. You may want different margins (e.g., to add a gutter for binding),

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/README.md	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/README.md	2025-01-28 21:07:01 UTC (rev 73622)
@@ -1,7 +1,7 @@
   
   #mitthesis --- A LaTeX template for an MIT thesis#
 
-  v1.18 dated 2025/1/17
+  v1.19 dated 2025/01/28
 
   ####Overview####
   This class provides a LaTeX template to format an MIT thesis according to
@@ -56,6 +56,13 @@
  
  ####Change log####
 
+ v1.19 (28 January 2025)
+ - stop default loading of titlesec package, and \\mathversion{bold} with \\patchcmd instead, to preserve tags
+ - add temporary patches (tagging related) for caption with lof/lot and for large delimiters in some fonts
+ - further adjustments to tagging code (passim)
+ - fix minor bug in chapter1.tex
+ - edit documentation
+
  v1.18 (17 January 2025)
  - remove “In:” from references to journal papers
  - edits to title and abstract macros to better accommodate tagged pdf

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

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex	2025-01-28 21:07:01 UTC (rev 73622)
@@ -1,7 +1,7 @@
 % !TEX TS-program = lualatex
 % !TEX encoding = UTF-8 Unicode
 
-% Version date: 2 November 2024
+% Version date: 28 January 2025
 
 \DocumentMetadata 
 {
@@ -224,7 +224,7 @@
 \subsection{PDF/A compliance}
 PDF/A-2b compliance is automatic if \verb|\DocumentMetadata{pdfstandard = a-2b, pdfversion=1.7}| is issued before the \verb|\documentclass{..}| command and \textit{provided that your graphics are also compliant}. This command was added to \LaTeX\ in June 2022. For older versions of \LaTeX, PDF/A compliance requires post-processing (for example, by using the PreFlight function of Adobe Acrobat).  
 
-Current \LaTeX\ development (ca.~2024) is working toward fully \textit{accessible} PDF/A. \LaTeX\ already supports the PDF 2.0 standard, and PDF tagging is under development.  Depending upon the packages loaded, the \LuaLaTeX\ engine can produce ``well-tagged pdf'': PDF/UA-2 or PDF/A-4f. More \LaTeX\ packages will be rolled forward over time. Note that compliance (e.g., PDF/A-2u) can depend on your fonts and figures.
+Current \LaTeX\ development (ca.~2025) is working toward fully \textit{accessible} PDF/A. \LaTeX\ already supports the PDF 2.0 standard, and PDF tagging is under development.  Depending upon the packages loaded, the \LuaLaTeX\ engine can produce ``well-tagged pdf'': PDF/UA-2 or PDF/A-4F.  More \LaTeX\ packages will be rolled forward over time. Note that compliance can depend on your fonts and figures (e.g., for PDF/UA-2).
 
 
 \section{SETTING UP TITLE PAGE, ABSTRACT, AND BIBLIOGRAPHY}
@@ -439,7 +439,7 @@
 \midrule
 caption    & also loaded by \texttt{mydesign.tex} 		& support for caption styling \\
 subcaption & also loaded by \texttt{mydesign.tex}		& support for subfigures within figures \\
-titlesec   & also loaded by \texttt{mydesign.tex} 		& support for styling section headings \\
+%titlesec   & also loaded by \texttt{mydesign.tex} 		& support for styling section headings \\
 xcolor	   & also loaded by \texttt{mydesign.tex} 		& support for colors, including colored fonts \\[0.7em]
 array	   & --- & additional options for formatting table columns \\
 booktabs   & --- & better quality tables, with additional commands \\

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls	2025-01-28 21:06:49 UTC (rev 73621)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls	2025-01-28 21:07:01 UTC (rev 73622)
@@ -7,8 +7,8 @@
 %%  MIT Libraries' requirements as of 2025.
 %%
 %%  This file's version and date:
-	\def\versionno{1.18}
-	\def\versiondate{2025/01/17\space}
+	\def\versionno{1.19}
+	\def\versiondate{2025/01/28\space}
 %%
 %%  Author: John H. Lienhard, V
 %%          Department of Mechanical Engineering
@@ -213,17 +213,40 @@
 	}%
 \else
 	\RequirePackage[dvipsnames,svgnames,x11names]{xcolor}
-%
+
 	\RequirePackage{caption,subcaption}
-%
-    \RequirePackage{titlesec}    
-    % these titlesec commands just automate the bold math in some headings (rest follows default styles)
+
+	% Patch headings to automatically use bold math. Removed titlesec 2025/01/27
     % NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <== 
     % Predefined fontsets for which bold math exists are: CMR, Fira, Libertinus, Lucida, Newtx
-    \titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection}{1em}{}
-    \titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{}
-    \titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}   
-%
+	\patchcmd{\section}{\normalfont}{\mathversion{bold}\normalfont}{}{}
+	\patchcmd{\subsection}{\normalfont}{\mathversion{bold}\normalfont}{}{}
+	\patchcmd{\subsubsection}{\normalfont}{\mathversion{bold}\normalfont}{}{}
+	\patchcmd{\paragraph}{\normalfont}{\mathversion{bold}\normalfont}{}{}
+	\patchcmd{\subparagraph}{\normalfont}{\mathversion{bold}\normalfont}{}{}
+
+	\ExplSyntaxOn 
+	% temporary patch for lof/lot issue, will drop eventually, 2025/01/28
+	\cs_if_exist:NT \tag_struct_end:n {
+	  \AtBeginDocument{ 
+			\renewcommand*\caption at anchor[1]{%
+	        \ifmeasuring@ \else
+           	\caption at raisedlink{\MakeLinkTarget*{#1}}%
+	        \fi}%  
+	  }
+	 % temporary patch to fix tagging bug with large delimiters in some fonts, drop when resolved, 2025/01/28
+	 \AtBeginDocument{ 
+        \cs_set:Npn \bBigg@ #1 #2 {
+          {
+            \ensuremath {
+              \Uvextensible height~#1~ \dimexpr0.5\big at size\relax ~ depth ~#1~  \dimexpr0.5\big at size\relax~ axis~exact~#2
+            }
+          }
+      	 }
+       }
+      }
+	\ExplSyntaxOff
+
 	\AtBeginDocument{
 		\hypersetup{
 		linkcolor=Blue3,% color names from xcolor package
@@ -997,7 +1020,7 @@
                 \setlength{\parskip}{7.5pt plus 1pt minus 1pt}% edited all vertical space on this page 2023/10/25
                 \setlength{\parindent}{0pt}\pdfbookmark[0]{Title\ page}{titlepage}
                 {
-                	\tag_struct_begin:n{tag=Title}
+                	\tag_struct_begin:n{tag=Title, title=Title}
                     \Large\textbf{\g_mitthesis_title_tl}
                     %\phantomsection\addcontentsline{toc}{chapter}{Title\ page}
                     \par



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