texlive[60400] Master/texmf-dist: xcharter (2sep21)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 2 22:30:52 CEST 2021


Revision: 60400
          http://tug.org/svn/texlive?view=revision&revision=60400
Author:   karl
Date:     2021-09-02 22:30:52 +0200 (Thu, 02 Sep 2021)
Log Message:
-----------
xcharter (2sep21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/xcharter/README
    trunk/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
    trunk/Master/texmf-dist/fonts/afm/public/xcharter/XCharterMathBMI.afm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/XCharterMathBMI.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi0.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi2.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi3.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi0.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi2.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi3.tfm
    trunk/Master/texmf-dist/fonts/type1/public/xcharter/XCharterMathBMI.pfb
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi0.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi2.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi3.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi0.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi2.vf
    trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi3.vf
    trunk/Master/texmf-dist/tex/latex/xcharter/XCharter.sty

Modified: trunk/Master/texmf-dist/doc/fonts/xcharter/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter/README	2021-09-02 20:28:25 UTC (rev 60399)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter/README	2021-09-02 20:30:52 UTC (rev 60400)
@@ -21,7 +21,13 @@
 Portions of the font modifications are Copyright (c) 2009--2012, Andrey Panov; Copyright (c) 2013--2021, Michael Sharpe.
 
 
-Current version: 1.221 2021-05-30
+Current version 1.222 2021-09-01
+
+Changes in version 1.222
+1. Corrected the Bold Italic Greek math font so that epsilon and varepsilon are no longer interchanged. (Thanks Holger Gerhardt.)
+2. Renamed \textin to \textinf (denominator figures) so as not to conflict with hyperref usage.
+
+Changes in version 1.221
 Removed a number of empty tfm files and references to them in some fd files.
 
 Changes in version 1.22 (never distributed)

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

Modified: trunk/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex	2021-09-02 20:28:25 UTC (rev 60399)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex	2021-09-02 20:30:52 UTC (rev 60400)
@@ -5,7 +5,7 @@
 \input glyphtounicode.tex 
 \InputIfFileExists{glyphtounicode-cmr.tex}{}{} 
 \InputIfFileExists{glyphtounicode-ntx.tex}{}{}
-\usepackage[a-1b]{pdfx} % version 1.6.4 or higher
+%\usepackage[a-1b]{pdfx} % version 1.6.4 or higher
 \usepackage[margin=1in]{geometry} 
 \usepackage[parfill]{parskip} 
 \usepackage{graphicx}
@@ -64,7 +64,7 @@
 \verb|\useosf| (usable only in the preamble) may be used for changing the text figure style to {\tt osf} though math mode will use lining figures.
 \item \verb|\useosfI| (usable only in the preamble) may be used for changing the text figure style to {\tt osfI} though math mode will use lining figures.
 \item \verb|\textsu| prints its argument in superior figures, e.g., \verb|\textsu{12}| results in \textsu{12}. The effect is the same with \verb|{\sustyle 12}|.
-\item \verb|\textin| prints its argument in inferior figures, e.g., \verb|\textin{12}| results in \textin{12}. The effect is the same with \verb|{\instyle 12}|.
+\item \verb|\textinf| prints its argument in inferior figures, e.g., \verb|\textinf{12}| results in \textinf{12}. The effect is the same with \verb|{\instyle 12}|. (In versions of {\tt XCharter} prior to $1.221$, \verb|\textinf| was named \verb|\textin|, but the latter conflicts with {\tt hyperref} which redefines it to point to U+2208.)
 \item \verb|\textlf| prints its argument in lining figures, e.g., \verb|\textlf{12}| results in \textlf{12}. The effect is the same with \verb|{\lfstyle 12}|.
 \item \verb|{\osfstyle 23}| prints \textosf{23} using whatever oldstyle option is in force. 
 \item \verb|\textosf| prints its argument in oldstyle figures using, in effect, the {\tt osf} option---e.g., \verb|\textosf{12}| results in \textosf{12}. 
@@ -207,7 +207,7 @@
 
 \textsc{XCharter-Roman-ts1}
 \fonttable{XCharter-Roman-ts1}
-\newpage
+%\newpage
 \section{Usage with fontspec}
 Because the package supplies a file named {\tt XCharter.fontspec} whose contents list the {\tt otf} files that correspond to each of Regular, Bold, Italic, BoldItalic, Slanted and BoldSlanted, you may load XCharter with just
 \begin{verbatim}

Modified: trunk/Master/texmf-dist/fonts/afm/public/xcharter/XCharterMathBMI.afm
===================================================================
--- trunk/Master/texmf-dist/fonts/afm/public/xcharter/XCharterMathBMI.afm	2021-09-02 20:28:25 UTC (rev 60399)
+++ trunk/Master/texmf-dist/fonts/afm/public/xcharter/XCharterMathBMI.afm	2021-09-02 20:30:52 UTC (rev 60400)
@@ -1,6 +1,6 @@
 StartFontMetrics 2.0
-Comment Generated by FontForge 20190801
-Comment Creation Date: Thu Nov 21 11:12:51 2019
+Comment Generated by FontForge 20200314
+Comment Creation Date: Sun Aug 29 11:43:57 2021
 FontName XCharterMathBMI
 FullName XCharter Math Bold Italic
 FamilyName XCharterMath
@@ -53,7 +53,7 @@
 C 35 ; WX 628 ; N u1D737 ; B -30 -218 591 744 ;
 C 36 ; WX 567 ; N u1D738 ; B 25 -222 524 499 ;
 C 37 ; WX 598 ; N u1D739 ; B 24 -11 562 744 ;
-C 38 ; WX 519 ; N u1D750 ; B 28 -11 475 499 ;
+C 38 ; WX 519 ; N u1D73A ; B 28 -11 475 499 ;
 C 39 ; WX 563 ; N u1D73B ; B 34 -225 543 744 ;
 C 40 ; WX 558 ; N u1D73C ; B 24 -219 514 499 ;
 C 41 ; WX 637 ; N u1D73D ; B 34 -11 592 744 ;
@@ -72,7 +72,7 @@
 C 54 ; WX 596 ; N u1D74C ; B -87 -219 562 499 ;
 C 55 ; WX 805 ; N u1D74D ; B 23 -219 747 739 ;
 C 56 ; WX 793 ; N u1D74E ; B 22 -11 761 499 ;
-C 57 ; WX 511 ; N u1D73A ; B 24 -11 467 499 ;
+C 57 ; WX 511 ; N u1D750 ; B 24 -11 467 499 ;
 C 58 ; WX 662 ; N u1D751 ; B 33 -11 639 744 ;
 C 59 ; WX 1001 ; N u1D755 ; B 33 -11 948 486 ;
 C 60 ; WX 611 ; N u1D754 ; B 24 -218 566 492 ;

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/XCharterMathBMI.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi0.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi2.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchbmi3.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi0.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi2.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/xcharter/zchmi3.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/type1/public/xcharter/XCharterMathBMI.pfb
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi0.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi2.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchbmi3.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi0.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi2.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/xcharter/zchmi3.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/xcharter/XCharter.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xcharter/XCharter.sty	2021-09-02 20:28:25 UTC (rev 60399)
+++ trunk/Master/texmf-dist/tex/latex/xcharter/XCharter.sty	2021-09-02 20:30:52 UTC (rev 60400)
@@ -3,8 +3,8 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 
-\def\fileversion{1.213}
-\def\filedate{2020/11/25}
+\def\fileversion{1.222}
+\def\filedate{2021/09/01}
 
 \ProvidesPackage{XCharter}[\filedate\space v\fileversion]
 
@@ -30,8 +30,8 @@
     \fa at naming@exception{figures}{{inferior}{tabular}}{Inf}
     \def\infigures{\@nomath\infigures
         \fontfigurestyle{inferior}\selectfont}
-    \DeclareTextFontCommand{\textin}{\infigures}
-    \let\textinferior\textin
+    \DeclareTextFontCommand{\textinf}{\infigures}
+    \let\textinferior\textinf
 
     \fa at naming@exception{figures}{{numerators}{proportional}}{Numr}
     \fa at naming@exception{figures}{{numerators}{tabular}}{Numr}
@@ -87,6 +87,7 @@
   \fontfamily{XCharter-TOsF}\selectfont }
 \def\textlf#1{{\lfstyle #1}}
 %\def\textosf#1{{\osfstyle #1}}
+\edef\XCh at dfltfigurestyle{TLF}
 
 \newcommand*{\XCharter at scale}{1}
 \IfFileExists{xkeyval.sty}{
@@ -106,6 +107,8 @@
 %\ifdefined\bbl at tempa \XCh at babeltrue\fi
 \newif\if at XCh@scosf
 \newif\if at XCh@srb
+\newif\ifXCh at thrm
+
 \def\XCharter at altone{1}% default is to use 1, not I
 \newif\if at XCh@sups
 \DeclareOptionX{foresolidus}{\gdef\XCh at foresolidus{#1}}
@@ -116,6 +119,7 @@
 \edef\XCharter at altone{1}}
 \DeclareOptionX{oldstyleI}{\edef\XCharter at figurestyle{TOsF}%
 \edef\XCharter at altone{}}
+\DeclareOptionX{theoremfont}{\XCh at thrmtrue}
 \DeclareOptionX{osf}{\edef\XCharter at figurestyle{TOsF}\edef\XCharter at altone{1}}
 \DeclareOptionX{osfI}{\edef\XCharter at figurestyle{TOsF}\edef\XCharter at altone{}}
 \DeclareOptionX{sups}{\@XCh at supstrue}
@@ -136,6 +140,23 @@
 \newcommand{\textosf}[1]{{\fontencoding{T1}\fontfamily{XCharterx}\selectfont #1}}% to get XCharter osf
 \newcommand{\textosfI}[1]{{\fontencoding{T1}\fontfamily{XChartery}\selectfont #1}}% to get XCharter osfI
 
+\ifXCh at thrm
+	%\RequirePackage{amsmath,amsthm} % in case of theoremfont
+	\ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty
+		\@ifpackageloaded{ntheorem}\relax{%
+		\newtheoremstyle{plain}
+		{\medskipamount}   % ABOVESPACE, was \topsep
+    	{\medskipamount}   % BELOWSPACE, was \topsep
+    	{\thfamily}  % BODYFONT--\thfamily is italic with upright figures and punctuation
+    	{}       % INDENT (empty value is the same as 0pt)
+    	{\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection
+    	{.}         % HEADPUNCT
+    	{5pt plus 1pt minus 1pt} % HEADSPACE
+    	{}          % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
+    	} % end @ifpackageloaded
+    \fi%
+\fi%}		
+
 \renewcommand*{\bfdefault}{b}
 \renewcommand*{\scdefault}{sc}% for better compatibility with mathdesign
 
@@ -221,8 +242,29 @@
 %    \renewcommand*{\rmdefault}{XCharter-\XCharter at figurestyle}
 %	\normalfont
 %\else
+
+\DeclareRobustCommand\thfamily % new family for theorem font
+        {\not at math@alphabet\thfamily\relax
+         \fontfamily\thdefault\fontshape{it}\selectfont}
+\DeclareRobustCommand{\textth}[1]{%
+  {\thfamily #1}%
+}
+\let\textthit\textth
+
 \AtEndPreamble{%
 \renewcommand*{\rmdefault}{XCharter-\XCharter at figurestyle}
+%\def\XCharter at thfigurestyle{\XCharter at figurestyle}
+\ifx\XCharter at figurestyle\XCh at dfltfigurestyle
+  \def\XCharter at thfigurestyle{tlf}
+\else
+  \def\XCharter at thfigurestyle{osf}
+\fi % there just two possible figure styles for the theorem font
+
+\newcommand*{\thdefault}{XCharterTH-\XCharter at thfigurestyle}
+\ifXCh at thrm
+    \theoremstyle{plain}
+    \patchcmd{\th at plain}{\itshape}{\thfamily}{\message{Replaced itshape by thfamily in theorem style plain.}}{\message{Unable to replace itshape by thfamily in theorem style plain.}}
+\fi
 \normalfont}
 %\fi
 



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