texlive[72800] Master/texmf-dist: ysabeau (8nov24)

commits+karl at tug.org commits+karl at tug.org
Fri Nov 8 23:10:37 CET 2024


Revision: 72800
          https://tug.org/svn/texlive?view=revision&revision=72800
Author:   karl
Date:     2024-11-08 23:10:37 +0100 (Fri, 08 Nov 2024)
Log Message:
-----------
ysabeau (8nov24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/ysabeau/README
    trunk/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdf
    trunk/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex
    trunk/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty

Modified: trunk/Master/texmf-dist/doc/fonts/ysabeau/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/ysabeau/README	2024-11-08 22:06:55 UTC (rev 72799)
+++ trunk/Master/texmf-dist/doc/fonts/ysabeau/README	2024-11-08 22:10:37 UTC (rev 72800)
@@ -51,11 +51,12 @@
 
 muxkernel at gmail dot com
 
-Current version: 1.4 (2024/11/05)
+Current version: 1.5 (2024/11/06)
 
 History versions:
 
 1.1: Initial release (2024/01/31)
 1.2: Add oldstylenums command and update doc (2024/10/22)
-1.3: Remove starred forms of textsuperscript and textsubscript commands (thanks Sebastian Wasiuta)
+1.3: Remove starred forms of textsuperscript and textsubscript commands
 1.4: Added some new commands for figures: liningnums, tabularliningnums and tabularoldstylenums. textsuperscript and textsubscript commands were removed (2024/11/05)
+1.5: Restore starred and unstarred forms of textsuperscript and textsubscript commands. This fix repairs footnotemarkers in footnotes (2024/11/06)

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

Modified: trunk/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex	2024-11-08 22:06:55 UTC (rev 72799)
+++ trunk/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex	2024-11-08 22:10:37 UTC (rev 72800)
@@ -51,7 +51,7 @@
 % TABLES
 
 \usepackage{longtable,booktabs}
-\usepackage[font=small]{caption}
+\usepackage[font=footnotesize]{caption}
 \usepackage{float}
 
 % LISTS
@@ -251,6 +251,11 @@
 \verb|\textsup{}| & \verb|\supfigures| or \verb|\supstyle| & \textsup{1234567890} \\
 \verb|\textsuperior{}| & \verb|\supfigures| or \verb|\supstyle| & \textsuperior{1234567890} \\
 \verb|\supscript{}| & \verb|\supfigures| or \verb|\supstyle| & \supscript{1234567890} \\
+\verb|\textsuperscript{}| & {} & \textsuperscript{1234567890} \\
+\verb|\textsuperscript*{}| & {} & \textsuperscript*{1234567890} \\
+
+
+
 \bottomrule
 \end{tabular}
 \end{table}
@@ -293,16 +298,18 @@
 \verb|\textinf{}| & \verb|\inffigures| or \verb|\infstyle| & \textinf{1234567890} \\
 \verb|\textinferior{}| & \verb|\inffigures| or \verb|\infstyle| & \textinferior{1234567890} \\
 \verb|\subscript{}| & \verb|\inffigures| or \verb|\infstyle| & \subscript{1234567890} \\
+\verb|\textsubscript{}| & {} & \textsubscript{1234567890} \\
+\verb|\textsubscript*{}| & {} & \textsubscript*{1234567890} \\
 \bottomrule
 \end{tabular}
 \caption*{\textsc{Note:} denominators and inferiors are different: a\textde{1}\textinf{1}b.}
 \end{table}
 \def\solidus{{\fontencoding{TS1}\selectfont\char47}}
-\section{\texorpdfstring{\protect\textsuperscript{Text}}{Text}\texorpdfstring{\protect\solidus}{\slash}\texorpdfstring{\protect\textsubscript{fractions}}{fractions}}
+\section{\texorpdfstring{\protect\textsuperscript*{Text}}{Text}\texorpdfstring{\protect\solidus}{\slash}\texorpdfstring{\protect\textsubscript*{fractions}}{fractions}}
 \label{sec:fractions}
 \begin{table}[H]
 \centering
-\caption{\protect\textsuperscript{Text}\solidus\protect\textsubscript{fractions}}
+\caption{\protect\textsuperscript*{Text}\solidus\protect\textsubscript*{fractions}}
 \begin{tabular}{@{}ll@{}}
 \toprule
 Command or declaration & Render as \\

Modified: trunk/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty	2024-11-08 22:06:55 UTC (rev 72799)
+++ trunk/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty	2024-11-08 22:10:37 UTC (rev 72800)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.4}
-\def\filedate{2024/11/05}
+\def\fileversion{1.5}
+\def\filedate{2024/11/06}
 \ProvidesPackage{ysabeau}[\filedate\space v\fileversion\space Ysabeau fonts for LaTeX (NMH).]
 
 % Large portions of code was stolen from Michael Sharpe (cochineal.sty). Credits for him.
@@ -7,9 +7,7 @@
 
 \DeclareEncodingSubset{TS1}{Ysabeau-*}{0}
 \DeclareEncodingSubset{LGR}{Ysabeau-*}{0}
-%\RequirePackage[QX,L7X,CS,LGR,T5,T4,TS3,T3,T2C,T2B,T2A,LY1,T1]{fontenc} % Default
-\RequirePackage[TS1,T1]{fontenc}
-\RequirePackage[full]{textcomp}
+\RequirePackage{fontenc,textcomp}
 \RequirePackage{mweights}
 \RequirePackage{xstring,ifthen,scalefnt} % For \textfrac
 \RequirePackage{etoolbox} % For new commands
@@ -136,22 +134,18 @@
   \@nomath\lfstyle\relax
   \fontfamily{Ysabeau-LF}\selectfont %
 }% Lining Figures
-\let\liningnums\lfstyle % Added 2024/11/05
 \DeclareRobustCommand{\tlfstyle}{%
   \@nomath\tlfstyle\relax
   \fontfamily{Ysabeau-TLF}\selectfont %
 }% Tabular Lining Figures
-\let\tabularliningnums\tlfstyle % Added 2024/11/05
 \DeclareRobustCommand{\osfstyle}{%
   \@nomath\osfstyle\relax
   \fontfamily{Ysabeau-OsF}\selectfont %
 }% Oldstyle Figures
-\let\oldstylenums\osfstyle % Added 2024/11/05
 \DeclareRobustCommand{\tosfstyle}{%
   \@nomath\tosfstyle\relax
   \fontfamily{Ysabeau-TOsF}\selectfont %
 }% Tabular Oldstyle Figures
-\let\tabularoldstylenums\tosfstyle % Added 2024/11/05
 \DeclareRobustCommand{\textlf}[1]{%
   {\lfstyle #1}%
 }% Lining Figures
@@ -170,6 +164,13 @@
 OsF}\fontshape{sc}\selectfont #1}%
 }\fi% use OsF in small caps
 
+% Here we provides some aliases for figure commands
+
+\let\liningnums\lfstyle
+\let\tabularliningnums\tlfstyle
+\let\oldstylenums\osfstyle
+\let\tabularoldstylenums\tosfstyle
+
 \IfFileExists{fontaxes.sty}{
     \RequirePackage{fontaxes}
     \DeclareRobustCommand\swshape{\not at math@alphabet\swshape\relax
@@ -185,10 +186,10 @@
     \DeclareTextFontCommand{\textsup}{\supfigures}
     \let\textsu\textsup
     \let\textsuperior\textsup
-    \let\supstyle\supfigures % Add by me
-    \let\supscript\supfigures % Added 2024/11/05   
-    %\let\@oldtextsuperscript\textsuperscript % clash with some serif fonts
-    %\def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup} % clash with some serif fonts    
+    \let\supstyle\supfigures
+    \let\supscript\supfigures
+    \let\@oldtextsuperscript\textsuperscript
+    \def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup}
     \def\@makefnmark{%
         \mbox{\footnotemarkfont\textsuperscript{\@thefnmark}}}
     \@ifundefined{ftntm at font}%
@@ -203,10 +204,10 @@
     \DeclareTextFontCommand{\textinf}{\inffigures}
     \let\textin\textinf
     \let\textinferior\textinf
-    \let\infstyle\inffigures % Add by me
-    \let\subscript\inffigures % Added 2024/11/05
-    %\let\@oldtextsubscript\textsubscript % clash with some serif fonts
-    %\def\textsubscript{\@ifstar\@oldtextsubscript\textinf} % clash with some serif fonts
+    \let\infstyle\inffigures
+    \let\subscript\inffigures
+    \let\@oldtextsubscript\textsubscript
+    \def\textsubscript{\@ifstar\@oldtextsubscript\textinf}
 
     \fa at naming@exception{figures}{{numerators}{proportional}}{Numr}
     %\fa at naming@exception{figures}{{numerator}{proportional}}{Numr}
@@ -215,10 +216,9 @@
     \def\numfigures{\@nomath\numfigures
         \fontfigurestyle{numerators}\selectfont}
     \let\nufigures\numfigures
-    \DeclareTextFontCommand{\textnum}{\numfigures}
-    %\let\textnu\textnum % Clash when you use T1 and LGR encodings (babel package). Fix later (from XCharter package)
+    \DeclareTextFontCommand{\textnum}{\numfigures}    
     \let\textnumerators\textnum
-    \let\numstyle\numfigures % Add by me
+    \let\numstyle\numfigures
 
     \fa at naming@exception{figures}{{denominators}{proportional}}{Dnom}
     %\fa at naming@exception{figures}{{denominator}{proportional}}{Dnom}
@@ -230,7 +230,7 @@
     \DeclareTextFontCommand{\textden}{\denfigures}
     \let\textde\textden
     \let\textdenominators\textden
-    \let\denstyle\denfigures % Add by me
+    \let\denstyle\denfigures
 
 }{}
 



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