texlive[64661] Master: sansmathfonts (9oct22)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 9 22:15:02 CEST 2022


Revision: 64661
          http://tug.org/svn/texlive?view=revision&revision=64661
Author:   karl
Date:     2022-10-09 22:15:02 +0200 (Sun, 09 Oct 2022)
Log Message:
-----------
sansmathfonts (9oct22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/sansmathfonts/README.txt
    trunk/Master/texmf-dist/doc/fonts/sansmathfonts/sansmathfonts.pdf
    trunk/Master/texmf-dist/doc/fonts/sansmathfonts/sansmathfonts.tex
    trunk/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Modified: trunk/Master/texmf-dist/doc/fonts/sansmathfonts/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/sansmathfonts/README.txt	2022-10-09 00:06:04 UTC (rev 64660)
+++ trunk/Master/texmf-dist/doc/fonts/sansmathfonts/README.txt	2022-10-09 20:15:02 UTC (rev 64661)
@@ -1,6 +1,6 @@
 The sansmathfonts package provides math fonts designed to work with the Computer Modern sans serif typeface, as well as some missing Computer Modern sans serif text fonts.
 
-This version was released 2021/06/22.
+This version was released 2022/10/09.
 
 This package is released under the LaTeX Project Public License. See
   https://www.latex-project.org//lppl/

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

Modified: trunk/Master/texmf-dist/doc/fonts/sansmathfonts/sansmathfonts.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/sansmathfonts/sansmathfonts.tex	2022-10-09 00:06:04 UTC (rev 64660)
+++ trunk/Master/texmf-dist/doc/fonts/sansmathfonts/sansmathfonts.tex	2022-10-09 20:15:02 UTC (rev 64661)
@@ -1,4 +1,4 @@
-% !TEX TS-program = pdflatex
+% !TEX TS-program = LuaLaTeX
 
 % sansmathfonts.tex
 %
@@ -6,11 +6,11 @@
 %
 % author: Ariel Barton
 %
-% Copyright Ariel Barton, 2013--2021
+% Copyright Ariel Barton, 2013--2022
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
-% version 1.3 of this license or (at your option) any
+% version 1.3c of this license or (at your option) any
 % later version.
 % The latest version of the license is in
 %    http://www.latex-project.org/lppl.txt
@@ -22,13 +22,13 @@
 % The complete list of files considered part of this work is in
 % the file `sansmathfonts.pdf' and its source code `sansmathfonts.tex'.
 %
-% Date: 2021/06/22
+% Date: 2022/10/09
 
 \documentclass{amsart}
 
 \raggedbottom
 
-\usepackage[T1]{fontenc}
+\usepackage[OT1]{fontenc}
 \usepackage[I]{sansmathfonts}
 %\renewcommand{\sfdefault}{xcmss}\let\mathserif\mathrm
 \usepackage{hyperref, amsfonts, esint, slantsc, bm}
@@ -84,7 +84,7 @@
 \section{Package options}
 
 \begin{itemize}
-\item \texttt{[I]} The \texttt{[I]} package option puts the serifs back on the capital I even in text mode. This option only works with the OT1 and U font encodings.
+\item \texttt{[I]} The \texttt{[I]} package option puts the serifs back on the capital I even in text mode. This option only works with the OT1 and U font encodings. It will work under \textsf{pdflatex}'s defaults; in Lua\LaTeX\ or Xe\LaTeX, you will need to change the text encoding by saying \texttt{\string\usepackage[OT1]{fontenc}}.
 \item \texttt{[onlymath]}, \texttt{[nottext]}. These options provide sans serif math but do not change the text sans serif font.
 \item \texttt{[onlytext]}, \texttt{[notmath]}. These options provide sans serif text fonts and improve the behavior of \texttt{\char`\\mathsf} but do not change the default math font from roman to sans serif. You can get a similar effect by not using the \textsf{sansmathfonts} package and using the line \texttt{\char`\\renewcommand\char`\{\char`\\sfdefault\char`\}\char `\{xcmss\char`\}}
 or
@@ -517,5 +517,7 @@
 June 2019: Rewrote the file \texttt{omxcmssex.fd} to allow the math extended characters to be loaded at arbitrary sizes.
 \item
 June 2021: Rewrote the OT1, T1, and U font definition files to substitute bold-extended fonts for bold fonts as necessary. Added some package errors and warnings if the document font encoding is not supported.
+\item
+October 2022: Bug fix to allow compatibility with Lua\LaTeX\ and Xe\LaTeX.
 \end{itemize}
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty	2022-10-09 00:06:04 UTC (rev 64660)
+++ trunk/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty	2022-10-09 20:15:02 UTC (rev 64661)
@@ -4,11 +4,11 @@
 %
 % author: Ariel Barton
 %
-% Copyright Ariel Barton, 2013
+% Copyright Ariel Barton, 2013--2022
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
-% version 1.3 of this license or (at your option) any
+% version 1.3c of this license or (at your option) any
 % later version.
 % The latest version of the license is in
 %    http://www.latex-project.org/lppl.txt
@@ -21,7 +21,7 @@
 % the file `sansmathfonts.pdf' and its source code `sansmathfonts.tex'.
 %
 
-\ProvidesPackage{sansmathfonts}[2021/06/22]
+\ProvidesPackage{sansmathfonts}[2022/10/09]
 
 \newif \ifmath at sansmathfonts \math at sansmathfontstrue
 \newif \iftext at sansmathfonts \text at sansmathfontstrue
@@ -43,8 +43,10 @@
 \ifx\U at sansmathfonts \f at encoding \else
 	\I at sansmathfontsfalse
 	\PackageWarning{sansmathfonts}
-		{The [I] package option is only compatible with the OT1 and U 
-			font encodings. I will ignore the [I] package option.}
+		{The [I] package option is only 
+		compatible with the OT1 and U font encodings. 
+		To use the [I] option, please use the fontenc 
+		package with OT1 encoding: \string\usepackage[OT1]\string{fontenc\string}}
 	\ifx\TOne at sansmathfonts \f at encoding \else 
 		\text at sansmathfontsfalse
 		\PackageWarning{sansmathfonts}
@@ -54,10 +56,13 @@
 \fi\fi
 
 \let\sfdefault at sansmathfonts\sfdefault
+\def\Usfdefault at sansmathfonts{cmss}
 \iftext at sansmathfonts
 	\def\sfdefault at sansmathfonts{xcmss}
+	\def\Usfdefault at sansmathfonts{xcmss}
 	\ifI at sansmathfonts
 		\def\sfdefault at sansmathfonts{cmsmf}%
+		\def\Usfdefault at sansmathfonts{cmsmf}%
 	\fi
 \fi
 
@@ -72,7 +77,7 @@
 \DeclareFontSubstitution{OML}{cmssm}{m}{it}
 \DeclareFontSubstitution{OMS}{cmsssy}{m}{n}
 \DeclareFontSubstitution{OMX}{cmssex}{m}{n}
-\DeclareFontSubstitution{U}{\sfdefault at sansmathfonts}{m}{n}
+\DeclareFontSubstitution{U}{\Usfdefault at sansmathfonts}{m}{n}
 \DeclareSymbolFont{operators}   {OT1}{cmsmf} {m}{n}
 \DeclareSymbolFont{letters}     {OML}{cmssm} {m}{it}
 \DeclareSymbolFont{symbols}     {OMS}{cmsssy}{m}{n}
@@ -96,7 +101,9 @@
 		\ifI at sansmathfonts
 			\PackageError{sansmathfonts}
 			{The [I] package option is only compatible with 
-				the OT1 and U font encodings.}
+				the OT1 and U font encodings. To use the [I] option,
+				please use the fontenc package with OT1 encoding:
+				\string\usepackage[OT1]\string{fontenc\string}}
 			{Please do not use the [I] option for the sansmathfonts 
 				package, or select your font encoding before you load 
 				the sansmathfonts package.}

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2022-10-09 00:06:04 UTC (rev 64660)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2022-10-09 20:15:02 UTC (rev 64661)
@@ -399,7 +399,8 @@
  'csvtolatex',  "die 'skipping, w32 only, visual basic'",
  'csvtools',    "die 'skipping, replaced by datatools'",
  'ctable',      "&MAKEflatten",
- 'ctantools',   "die 'skipping, not sure we should usurp the cmd name ctan'",
+ 'ctan-bibdata',"die 'skipping, updated daily'",
+ 'ctantools',   "die 'skipping, should not usurp the cmd name ctan'",
  'ctib',        "&MAKEflatten",
  'cuprum',      "&MAKEflatten",
  'cursor',      "die 'skipping, no known license, very old and small'",



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