texlive[67544] Master/texmf-dist: mitthesis (4jul23)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 4 21:52:56 CEST 2023


Revision: 67544
          http://tug.org/svn/texlive?view=revision&revision=67544
Author:   karl
Date:     2023-07-04 21:52:56 +0200 (Tue, 04 Jul 2023)
Log Message:
-----------
mitthesis (4jul23)

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/mitthesis-sample.bib
    trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex
    trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.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	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -3,7 +3,7 @@
 % !BIB program = biber    
 
 % This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.03, 2023/06/26
+% Version: 1.04, 2023/07/03
 % Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit 
 
 % Documentation: https://ctan.org/pkg/mitthesis

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,6 +1,6 @@
 %% Sample bibliography file for mitthesis.cls
 %%
-%% Revised: 13 June 2023
+%% Revised: 30  June 2023
 %% Copyright John H. Lienhard, MIT
 %% Offered under the MIT license: https://ctan.org/license/mit 
 
@@ -218,7 +218,7 @@
 @bookinbook{churchill1948,
   author 	= {Winston S. Churchill},
   year 		= {1948},
-  title 	= {The Gathering Storm},
+  title 	= {{The Gathering Storm}},
   series 	= {The Second World War},
   volume 	= {1},
   chapter	= {5, {``The Locust Years''}},

Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/README.md	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/README.md	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,7 +1,7 @@
   
   #mitthesis --- A LaTeX template for MIT theses#
 
-  v1.03 dated 2023/06/26.
+  v1.04 dated 2023/07/03.
 
   ####Overview####
   This class provides a LaTeX template for MIT theses formatted according to
@@ -53,6 +53,9 @@
  ---
  
  ####Change log####
+ v1.04 (3 July 2023): 
+ - Embed default fontset in class file, in case fontset directory is missing
+
  v1.03 (26 June 2023): 
  - Bug fix: fontset naming for older LaTeX formats
  - Change default biblatex style to IEEE

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,8 +1,7 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
-
 %% Default fonts
 %
 \ifpdftex
@@ -12,7 +11,7 @@
 \else
 	\typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J}
 	%
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
-    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec, so
+    % Unicode-math loads fontspec package, but default fonts are not selected by fontspec in this case.
 \fi

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -14,7 +14,7 @@
  	\RequirePackage{bm}
 \else
 	\ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts}
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
-    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec, so
+    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case.
 \fi

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -18,7 +18,7 @@
 \else
 	\typeout{^^JTeX Gyre Heros (sans serif) text font with STIX2 math font and Inconsolata monospaced font.^^J}
 	%
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode-math loads the fontspec package
 

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 %% Linux Libertine (serif) text font with newtxmath[libertine] (pdftex) or Libertinus (unicode) math font
@@ -10,16 +10,16 @@
 %
 \ifpdftex
 	\typeout{^^JLoading newtx-libertine text and math fonts with insolata typewriter font^^J}
-    \usepackage[lining,semibold]{libertine} 
-    \usepackage[T1]{fontenc}
-    \usepackage[varqu,varl]{inconsolata}% typewriter
+    \RequirePackage[lining,semibold]{libertine} 
+    \RequirePackage[T1]{fontenc}
+    \RequirePackage[varqu,varl]{inconsolata}% typewriter
 %    \usepackage{amsthm}% must be loaded before newtxmath
-    \usepackage[libertine,vvarbb]{newtxmath}
-    \usepackage{bm}% load after all math to give access to bold math
+    \RequirePackage[libertine,vvarbb]{newtxmath}
+    \RequirePackage{bm}% load after all math to give access to bold math
 \else
 	\typeout{^^JLoading Linux Libertine (serif) text font with Libertinus math font^^J}
 	%
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode math loads the fontspec package
  	%

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -12,7 +12,7 @@
 	\RequirePackage[expert,vargreek,altbullet,seriftt]{lucidabr}   % switch text and math fonts
 	\RequirePackage{bm}
 \else
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode-math loads the fontspec package
 

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.01, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -15,9 +15,9 @@
 	\RequirePackage{bm}% bold math
 \else
 	\ClassWarning{mitnewthesis}{The newtx font set requires pdflatex.  Defaulting to LMR fonts}
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
-    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec, so
+    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case.
 \fi
 
 	
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -12,9 +12,9 @@
 	\let\textsuperscript\textsu% newtx changes the default superiors font; this is needed to get commas aligned in sequential footnotes
 \else
 	\ClassWarning{mitnewthesis}{The newtx font set requires pdflatex.  Defaulting to LMR fonts}
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
-    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec, so
+    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case.
 \fi
 
 	
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -18,7 +18,7 @@
 \else
 	\typeout{^^JLoading STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font.^^J}
 	%
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode-math loads the fontspec package
 	%

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -18,7 +18,7 @@
 \else
 	\typeout{^^JLoading TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font.^^J}
 	%
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode-math loads the fontspec package
 	%

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex	2023-07-04 19:52:56 UTC (rev 67544)
@@ -1,5 +1,5 @@
 % From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/03
 % Documentation: https://ctan.org/pkg/mitthesis
 
 
@@ -14,7 +14,7 @@
 	\RequirePackage{bm}
 \else
 	\typeout{^^JLoading TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font^^J}
-    \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
     % suppress tiresome warnings about lack of integration between mathtools and unicode-math
     % unicode-math loads the fontspec package
 	%

Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls	2023-07-04 19:52:35 UTC (rev 67543)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls	2023-07-04 19:52:56 UTC (rev 67544)
@@ -7,8 +7,8 @@
 %%  MIT Libraries' requirements as of 2023.
 %%
 %%  This file's version and date:
-	\def\versionno{1.03}
-	\def\versiondate{2023/06/26\space}
+	\def\versionno{1.04}
+	\def\versiondate{2023/07/03\space}
 %%
 %%  Author: John H. Lienhard, V
 %%          Department of Mechanical Engineering
@@ -227,12 +227,26 @@
     \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 to use other math macros in the headings to get bold math <==    	
+    % ==> NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <==   	
 \fi
 
 %% Font loading
-\typeout{^^JFontset key is \mit at fontset^^J}
-\input{fontsets/\ClassName-\mit at fontset.tex}
+\typeout{^^JFontset key is \mit at fontset.^^J}
+\IfFileExists{fontsets/\ClassName-\mit at fontset.tex}{% 2023/07/03
+	\input{fontsets/\ClassName-\mit at fontset.tex}
+}{%
+	\typeout{^^JFontset file \ClassName-\mit at fontset.tex not found, using defaultfonts.}
+	\ifpdftex
+    	\typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J}
+    	\RequirePackage[T1]{fontenc}
+    	\RequirePackage{bm}
+    \else
+    	\typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J}
+        \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
+        % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
+        % Unicode-math loads fontspec package, but default fonts are not selected by fontspec in this case.
+    \fi
+}
 
 \RequirePackage{graphicx} 
 



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