texlive[73890] branches/branch2024.final/Master/texmf-dist: newpx

commits+karl at tug.org commits+karl at tug.org
Tue Feb 11 21:53:46 CET 2025


Revision: 73890
          https://tug.org/svn/texlive?view=revision&revision=73890
Author:   karl
Date:     2025-02-11 21:53:46 +0100 (Tue, 11 Feb 2025)
Log Message:
-----------
newpx (branch) (11feb25)

Modified Paths:
--------------
    branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/README
    branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
    branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
    branches/branch2024.final/Master/texmf-dist/tex/latex/newpx/newpxtext.sty

Modified: branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/README
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/README	2025-02-11 20:53:15 UTC (rev 73889)
+++ branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/README	2025-02-11 20:53:46 UTC (rev 73890)
@@ -1,11 +1,14 @@
 This package, based initially on pxfonts, provides many fixes and enhancements to that package, splitting it in two parts---newpxtext and newpxmath---which may be run independently of one another. It provides scaling, improved metrics, and other options. For proper operation, the packages require that the packages newtxmath, pxfonts and TeXGyrePagella be installed and their map files enabled. The text package now relies on an extension of the TeXGyrePagella Type1 fonts that is provided with this package. The accompanying MANIFEST-newpx.txt provides details of the extension as requested by GUST-FONT-LICENSE.txt
 
-Current version: 1.540 2025-01-29
+Current version: 1.541 2025-02-10
 
 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3
 for the details of that license.
 
 Changes in version 1.540
+Corrected two lines in newpxtext.sty, replacing minzpltlf with minzpl. Same changes in documentation.
+
+Changes in version 1.540
 Removed a \fi from newpx.sty that was interfering with proper operation.
 
 Changes in version 1.539

Modified: branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex	2025-02-11 20:53:15 UTC (rev 73889)
+++ branches/branch2024.final/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex	2025-02-11 20:53:46 UTC (rev 73890)
@@ -27,7 +27,6 @@
 \newtheorem{oldthm}{Theorem}[section]
 \theoremstyle{plain}
 \newtheorem{thm}{Theorem}[section]  
-\usepackage{graphicx}
 \usepackage{url}
 %SetFonts
 % newpx text and math
@@ -319,14 +318,14 @@
 Supports  {\tt newpxmath} with an otf text font.
 \begin{verbatim}
 % Without newpx
-    \renewcommand*{\rmdefault}{zpltlf} % loads minimal version of text font for use in math
     \usepackage[T1]{fontenc} % so operators can have accented letters
-    \usepackage[list of math options]{newpxmath} % 
+    \usepackage[list of math options]{newpxmath} % loads minimal version of text font for use in math 
     \usepackage[no-math]{fontspec}
     \usepackage{} % the chosen otf text font package, or fontspec \setmainfont, etc
 % or, using newpx, only for TeXGyrePagellaX
     \usepackage[T1]{fontenc} % so operators can have accented letters
-    \usepackage[list of text and math options]{newpx} % options will be passed to text font package and newpxmath
+    \usepackage[list of text and math options]{newpx} 
+    % options will be passed to text font package and newpxmath
 \end{verbatim}
 \textsc{Notes:}
 \begin{itemize}
@@ -348,13 +347,15 @@
 \end{verbatim}
 which still works but is a bit less flexible than its modern form:
 \begin{verbatim}
-\renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
+\renewcommand*{\rmdefault}{min
+zpltlf}% minimal text family, Roman and Bold for math
 \usepackage[T1]{fontenc}
 \usepackage[<list of text and math options>]{newpx}
 \end{verbatim}
 which expands in the non-unicode case to
 \begin{verbatim}
-\renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
+\renewcommand*{\rmdefault}{minzpl}
+% minimal text family, Roman and Bold for math
 \usepackage[T1]{fontenc}
 \usepackage[<list of math options>]{newpxmath}
 \usepackage[<list of text options>]{newpxtext}
@@ -362,12 +363,12 @@
 For this arrangement, the math package needs information about the text font currently in force and the current typewriter and, possibly, the current sans serif font. The default Latin Modern text family would most likely not work well here for use as operators, \verb|\mathbf|, \verb|\mathtt| and the like. Dealing with the math part first allows you the flexibility of choosing different text fonts  for use in math than you will use for body text.
 \begin{verbatim}
 % Without newpx
-    \renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
+    \renewcommand*{\rmdefault}{minzpl}% minimal text family, Roman and Bold for math
     \usepackage[T1]{fontenc}
     \usepackage[<list of math options>]{newpxmath} % options will be as passed from newpx
     \usepackage{} % the chosen text package
     % should load tt and sans math before math
-% or, using newpx, where text font will be TeXGyrePagelleX
+% or, using newpx, where text font will be TeXGyrePagellaX
     % should load tt and sans math before newpx
     \usepackage[T1]{fontenc} % math text font zpltlf by default
     \usepackage[<list of text and math options>]{newpx} 
@@ -463,7 +464,7 @@
 
 \textsc{Example II: TeXGyrePagellaX Opentype + newpxmath (type1) + polyglossia + other Opentype.}
 \begin{verbatim}
-\renewcommand{\rmdefault}{zpltlf}% Roman and Bold PagellaX for math mode
+\renewcommand{\rmdefault}{minzpl}% Roman and Bold PagellaX for math mode
 \usepackage[T1]{fontenc} % T1 is active encoding for use in math text
 \usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
 % Next line loads amsmath, then loads amsthm
@@ -483,10 +484,10 @@
 You do not need to load {\tt amsmath}: it is loaded by {\tt newpxmath}. Option {\tt amsthm} will cause {\tt amsmath} to load before {\tt amsthm}.
 \item Babel, if used, must be specified before {\tt newpxtext}.
 \item Polyglossia, if used, must be specified after loading {\tt newpxtext}.
-\item The {\tt type1} option to {\tt cabin} is important, preventing it from loading {\tt fontspec}, which would lead to an {\tt option clash} error. \end{itemize}
+\item The {\tt type1} option to {\tt cabin} is important, preventing it from loading {\tt fontspec}, which would lead to an {\tt option clash} error. 
+\end{itemize}
 With {\tt newpx}, the above is equivalent to:
 \begin{verbatim}
-%\renewcommand{\rmdefault}{zpltlf}% Roman and Bold PagellaX for math mode
 \usepackage[T1]{fontenc} % T1 is active encoding for use in math text
 \usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
 % Next line loads amsmath, then loads amsthm
@@ -501,7 +502,7 @@
 
 \textsc{Example III: newpxtext type1 + newpxmath (type1) + polyglossia + other Opentype.}
 \begin{verbatim}
-\renewcommand{\rmdefault}{zpltlf}% Roman and Bold Pagella for math mode
+\renewcommand{\rmdefault}{minzpl}% Roman and Bold Pagella for math mode
 \usepackage[T1]{fontenc} % T1 is active encoding for use in math text
 \usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
 %Uncomment either the following line
@@ -563,7 +564,8 @@
 \begin{verbatim}
 %load LaTeX text components before math
 \usepackage[T1]{fontenc} % affects only \mathrm, \mathbf etc
-\renewcommand{\rmdefault}{zpltlf}% Roman font for use in math mode
+\renewcommand{\rmdefault}{minzpl}
+% Roman font for use in math mode
 \usepackage[scaled=.85]{beramono}% used only by \mathtt, optional
 \usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
 \usepackage{amsmath} % must be loaded before amsthm

Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2025-02-11 20:53:15 UTC (rev 73889)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2025-02-11 20:53:46 UTC (rev 73890)
@@ -8,8 +8,8 @@
 % Text is now directed to an extension of TeXGyrePagella rather than ppl.
 % 1.5 is first version of newpxtext to support both [pdf]latex and unicode latex.
 %
-\def\fileversion{1.540}
-\def\filedate{2025/01/29}
+\def\fileversion{1.541}
+\def\filedate{2025/02/10}
 \ProvidesPackage{newpxtext}[%
 \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyrePagellaX]
 
@@ -221,11 +221,11 @@
 \ifnewpx at otfmath\zpl at nomathfalse\fi
 
 \iftutex\else
-\renewcommand*{\rmdefault}{minzpltlf} % the default until end of preamble
+\renewcommand*{\rmdefault}{minzpl} % the default until end of preamble
 \renewcommand*{\familydefault}{\rmdefault}
 \fi
 \ifzpl at nomath
-\renewcommand*{\rmdefault}{minzpltlf} % the default until end of preamble
+\renewcommand*{\rmdefault}{minzpl} % the default until end of preamble
 \renewcommand*{\familydefault}{\rmdefault}
 \fi
 



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