texlive[72261] Master/texmf-dist: fontsetup (12sep24)
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 12 22:16:54 CEST 2024
Revision: 72261
https://tug.org/svn/texlive?view=revision&revision=72261
Author: karl
Date: 2024-09-12 22:16:53 +0200 (Thu, 12 Sep 2024)
Log Message:
-----------
fontsetup (12sep24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fontsetup/README
trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
trunk/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex
trunk/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fontsetup/README 2024-09-11 23:41:57 UTC (rev 72260)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/README 2024-09-12 20:16:53 UTC (rev 72261)
@@ -1,5 +1,5 @@
The fontsetup package
- (Version 2.2.0, GPL3)
+ (Version 2.2.1, GPL3)
This simple package makes it trivial to switch quickly between
different quality fonts supporting Mathematics.
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex 2024-09-11 23:41:57 UTC (rev 72260)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex 2024-09-12 20:16:53 UTC (rev 72261)
@@ -15,8 +15,8 @@
\textit{by}\\[1ex]
{\large Antonis Tsolomitis}\\
University of the Aegean\\ Department of Mathematics\\[1ex]
- \textsc{8} September \textsc{2024}\\[1ex]
- Version 2.2.0, \textsc{gpl3}
+ \textsc{9} September \textsc{2024}\\[1ex]
+ Version 2.2.1, \textsc{gpl3}
\end{center}
This package is a simple wrapper-type package that makes the setup of fonts easy and
Modified: trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty 2024-09-11 23:41:57 UTC (rev 72260)
+++ trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty 2024-09-12 20:16:53 UTC (rev 72261)
@@ -1,4 +1,4 @@
-\ProvidesPackage{fontsetup}[2024/9/08 v2.2.0 For easily using font families with mathematics]
+\ProvidesPackage{fontsetup}[2024/9/11 v2.2.1 For easily using font families with mathematics]
\RequirePackage{iflang}
\RequirePackage{iftex}
% Provide a test to know if a 16bits TeX is used.
@@ -27,6 +27,7 @@
\newif\if at palatino
\newif\if at msgaramond
\newif\if at minion
+\newif\if at packagewithoptions
\newcommand*\greeksetup{%
\newcommand*\leftgrquotes{\char"201C}%
\newcommand*\rightgrquotes{\char"201E}%
@@ -45,14 +46,18 @@
\if at varnothing
\if at newcmbb
\setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Bold.otf}%
\else
\setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=2,CharacterVariant=1]{NewCMMath-Bold.otf}%
\fi
\else
\if at newcmbb
\setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=2,StylisticSet=3]{NewCMMath-Bold.otf}%
\else
\setmathfont[StylisticSet=2]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=2]{NewCMMath-Bold.otf}%
\fi
\fi
\else
@@ -59,14 +64,18 @@
\if at varnothing
\if at newcmbb
\setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=3,CharacterVariant=1]{NewCMMath-Bold.otf}%
\else
\setmathfont[CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,CharacterVariant=1]{NewCMMath-Bold.otf}%
\fi
\else
\if at newcmbb
\setmathfont[StylisticSet=3]{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold,StylisticSet=3]{NewCMMath-Bold.otf}%
\else
\setmathfont{NewCMMath-\regularorbook.otf}%
+ \setmathfont[version=bold]{NewCMMath-Bold.otf}%
\fi
\fi
\fi
@@ -80,6 +89,7 @@
\newcommand*{\regularorbook}{Book}%
\ncmsetup
\endgroup
+ \@packagewithoptionstrue
}
\DeclareOption{olddefault}{%
\input{fspolddefault}%
@@ -87,29 +97,30 @@
\newcommand*{\regularorbook}{Regular}%
\ncmsetup
\endgroup
+ \@packagewithoptionstrue
}
% Install Cambria as a system font.
% cambria.ttc, cambriai.ttf, cambriab.ttf, cambriaz.ttf
-\DeclareOption{cambria}{\input{fspcambria}}
-\DeclareOption{concrete}{\input{fspconcrete}}
-\DeclareOption{ebgaramond}{\input{fspebgaramondot}}
-\DeclareOption{erewhon}{\input{fsperewhon}\@erewhontrue}
-\DeclareOption{euler}{\input{fspeulerot}}
-\DeclareOption{fira}{\input{fspfiraot}}
-\DeclareOption{gfsartemisia}{\input{fspgfsartemisiaot}}
-\DeclareOption{gfsdidot}{\input{fspgfsdidotot}}
-\DeclareOption{gfsdidotclassic}{\input{fspgfsdidotclassicot}\@gfstrue}
-\DeclareOption{gfsneohellenic}{\input{fspgfsneohellenicot}}
-\DeclareOption{kerkis}{\input{fspkerkisot}}
-\DeclareOption{libertinus}{\@libertinustrue}
+\DeclareOption{cambria}{\input{fspcambria}\@packagewithoptionstrue}
+\DeclareOption{concrete}{\input{fspconcrete}\@packagewithoptionstrue}
+\DeclareOption{ebgaramond}{\input{fspebgaramondot}\@packagewithoptionstrue}
+\DeclareOption{erewhon}{\input{fsperewhon}\@erewhontrue\@packagewithoptionstrue}
+\DeclareOption{euler}{\input{fspeulerot}\@packagewithoptionstrue}
+\DeclareOption{fira}{\input{fspfiraot}\@packagewithoptionstrue}
+\DeclareOption{gfsartemisia}{\input{fspgfsartemisiaot}\@packagewithoptionstrue}
+\DeclareOption{gfsdidot}{\input{fspgfsdidotot}\@packagewithoptionstrue}
+\DeclareOption{gfsdidotclassic}{\input{fspgfsdidotclassicot}\@gfstrue\@packagewithoptionstrue}
+\DeclareOption{gfsneohellenic}{\input{fspgfsneohellenicot}\@packagewithoptionstrue}
+\DeclareOption{kerkis}{\input{fspkerkisot}\@packagewithoptionstrue}
+\DeclareOption{libertinus}{\@libertinustrue\@packagewithoptionstrue}
% Install Lucida in TeX tree
-\DeclareOption{lucida}{\input{fsplucidaot}}
+\DeclareOption{lucida}{\input{fsplucidaot}\@packagewithoptionstrue}
% Install MinionPro and provided fspMinionGreekSmallCaps as system fonts.
-\DeclareOption{minion}{\input{fspminion}\@miniontrue}
+\DeclareOption{minion}{\input{fspminion}\@miniontrue\@packagewithoptionstrue}
% Install Microsoft Garamond as a system font.
% Gara.ttf, Garai, Garabd
-\DeclareOption{msgaramond}{\input{fspmsgaramondot}\@msgaramondtrue}
-\DeclareOption{neoeuler}{\input{fspeulerot}}% compatibility
+\DeclareOption{msgaramond}{\input{fspmsgaramondot}\@msgaramondtrue\@packagewithoptionstrue}
+\DeclareOption{neoeuler}{\input{fspeulerot}\@packagewithoptionstrue}% compatibility
% Not released yet
% \DeclareOption{neokadmus}{\input{neokadmus}}
\DeclareOption{oldstandard}{\input{fspoldstandard}%
@@ -116,20 +127,30 @@
\if at upint
\setmathfont[StylisticSet=2]{OldStandard-Math.otf}%
\fi
+ \@packagewithoptionstrue
}
% Install Linotype Palatino as a system font.
% pala.ttf palai, palab, palabi.
% Install fspPalatinoGreekSmallCaps as a System font.
-\DeclareOption{palatino}{\input{fsppalatinoot}\@palatinotrue}
-\DeclareOption{stixtwo}{\input{fspstixtwoot}}
-\DeclareOption{talos}{\input{fsptalos}}
-\DeclareOption{times}{\input{fsptimesot}}
+\DeclareOption{palatino}{\input{fsppalatinoot}\@palatinotrue\@packagewithoptionstrue}
+\DeclareOption{stixtwo}{\input{fspstixtwoot}\@packagewithoptionstrue}
+\DeclareOption{talos}{\input{fsptalos}\@packagewithoptionstrue}
+\DeclareOption{times}{\input{fsptimesot}\@packagewithoptionstrue}
\DeclareOption{xcharter}{%
\input{fspxcharter}%
\@xchartertrue
+ \@packagewithoptionstrue
}
\DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}}
\ProcessOptions
+\if at packagewithoptions
+\else
+ \input{fspdefault}%
+ \begingroup
+ \newcommand*{\regularorbook}{Book}%
+ \ncmsetup
+ \endgroup
+\fi
\AtBeginDocument{%
\if at erewhon
\RequirePackage{fourier-otf}
Modified: trunk/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex 2024-09-11 23:41:57 UTC (rev 72260)
+++ trunk/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex 2024-09-12 20:16:53 UTC (rev 72261)
@@ -94,8 +94,8 @@
]{NewCMUncial10-Book.otf}
\newcommand{\textuncial}[1]{{\uncial #1}}
\setmathfont{NewCMMath-Book.otf}
+\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}
\setmathfont{NewCMMath-Bold.otf}[version=bold]
-\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}
\newcommand{\tttextsc}[1]{{\ttscshape#1}}
%
\let\prosgegrammeni=\undefined
Modified: trunk/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex 2024-09-11 23:41:57 UTC (rev 72260)
+++ trunk/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex 2024-09-12 20:16:53 UTC (rev 72261)
@@ -98,8 +98,8 @@
\newcommand{\textuncial}[1]{{\uncial #1}}
\setmathfont{NewCMMath-Regular.otf}
+\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Regular.otf}
\setmathfont{NewCMMath-Bold.otf}[version=bold]
-\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Regular.otf}
\newcommand{\tttextsc}[1]{{\ttscshape#1}}
%
More information about the tex-live-commits
mailing list.