texlive[60748] Master/texmf-dist: newpx (13oct21)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 13 22:27:35 CEST 2021


Revision: 60748
          http://tug.org/svn/texlive?view=revision&revision=60748
Author:   karl
Date:     2021-10-13 22:27:34 +0200 (Wed, 13 Oct 2021)
Log Message:
-----------
newpx (13oct21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newpx/README
    trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
    trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
    trunk/Master/texmf-dist/fonts/afm/public/newpx/pxbmiaX.afm
    trunk/Master/texmf-dist/fonts/afm/public/newpx/pxmiaX.afm
    trunk/Master/texmf-dist/fonts/tfm/public/newpx/pxbmiaX.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/newpx/pxmiaX.tfm
    trunk/Master/texmf-dist/fonts/type1/public/newpx/pxbmiaX.pfb
    trunk/Master/texmf-dist/fonts/type1/public/newpx/pxmiaX.pfb
    trunk/Master/texmf-dist/tex/latex/newpx/TeXGyrePagellaX.fontspec
    trunk/Master/texmf-dist/tex/latex/newpx/newpxmath.sty

Modified: trunk/Master/texmf-dist/doc/fonts/newpx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newpx/README	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/README	2021-10-13 20:27:34 UTC (rev 60748)
@@ -1,10 +1,16 @@
 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.425 2021-09-12
+Current version: 1.426 2021-10-12
 
 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.426
+1. Corrected a serious error in the code for parsing newpx-subs.tex for subscript corrections.
+2. Added subscriptcorrectionfile, a new option to newpxmath, allows you to specify a different subscript correction file than the usual newpx-subs.tex.
+3. Changed the documentation to modify the recommendation for handling newpx-subs.tex.
+4. Small changes in px[b]miaX.{pfb,afm,tfm} to permit simpler fontinst scripts.
+
 Changes in version 1.425
 Corrections to examples in documentation, mostly about loading amsmath before amsthm. (Thanks Maurice Hansen.)
 

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

Modified: trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex	2021-10-13 20:27:34 UTC (rev 60748)
@@ -252,9 +252,9 @@
 \item 
 \begin{itemize}
 \item{\tt varg} causes the math italic letter $g$ to be replaced by $\varg$;
-\item{\tt cmintegrals} instructs \textsf{newpxmath} to load a thicker version of the Computer Modern integral in place of the \textsf{newpxmath} default---the pxfonts integral (identical to the integral in the Wolfram fonts), which is not to everyone's taste---a consequence is that none of the special forms of \textsf{pxfonts} integrals are available; \textbf{As of version 1.3, this option does nothing, as the new default is slanted integrals.}
-\item The option {\tt cmbraces} instructs {\tt newpxmath} to ignore the brace collections from {\tt pxfonts}, substituting a collection based on thickened versions of the Computer Modern braces, which I find much easier to distinguish from other delimiters. This works quite well in regular weight but looks a bit clunky in bold.
-\item [NEW] The new option {\tt bigdelims} offers delimiters which are a bit larger than the standard delimiters and the normal and {\tt big} sizes, with more distinction between the two than in the standard package. With {\tt bigdelims}, the option {\tt cmbraces} is ignored.
+\item Option {\tt cmintegrals} is now useless---the original ugly integral sign have been replaced.%instructs \textsf{newpxmath} to load a thicker version of the Computer Modern integral in place of the \textsf{newpxmath} default---the pxfonts integral (identical to the integral in the Wolfram fonts), which is not to everyone's taste---a consequence is that none of the special forms of \textsf{pxfonts} integrals are available; \textbf{As of version 1.3, this option does nothing, as the new default is slanted integrals.}
+%\item The option {\tt cmbraces} instructs {\tt newpxmath} to ignore the brace collections from {\tt pxfonts}, substituting a collection based on thickened versions of the Computer Modern braces, which I find much easier to distinguish from other delimiters. This works quite well in regular weight but looks a bit clunky in bold.
+\item The options {\tt cmbraces} and  {\tt bigdelims} now have no effect but do no harm---it is now the default behavior to use a larger size of delimiters than in the original package.
 \end{itemize}
 \item the combination
 \begin{verbatim}
@@ -261,7 +261,13 @@
 \usepackage{amsmath}% loads amstext, amsbsy, amsopn but not amssymb
 \usepackage{newpxmath}
 \end{verbatim}
-causes no error, unlike the same combination with {\tt pxfonts}, but does nothing significant. The package {\tt newpxmath} loads the package {\tt amsmath} if it was not previously loaded. Options to {\tt amsmath} such as {\tt leqno,intlimits} may be passed to {\tt amsmath} via options to the documentclass. 
+causes no error, unlike the same combination with {\tt pxfonts}, but does nothing significant. The package {\tt newpxmath} loads the package {\tt amsmath} if it was not previously loaded. Options to {\tt amsmath} such as {\tt leqno,intlimits} may be passed to {\tt amsmath} via options to the documentclass. It is useful if you want to load {\tt amsthm} because the required order of loading is
+\begin{verbatim}
+\usepackage{amsmath}
+\usepackage{amsthm} % amsmath must be loaded before amsthm
+\usepackage{newpxmath} % amsthm must be loaded before newpxmath
+\end{verbatim}
+
 %The integrals are as defined in {\tt pxfonts}. %With
 %\begin{verbatim}
 %\usepackage[cmintegrals]{newpxmath}
@@ -270,7 +276,7 @@
 \item {\tt uprightGreek} and {\tt slantedGreek} determine the form of Greek alphabet loaded---the default is {\tt uprightGreek}, which loads upright uppercase and slanted lowercase Greek symbols, as is customary in Anglo-American mathematical typesetting. With the option {\tt slantedGreek}, which you might want to use if you cared about ISO standards, all Greek symbols are slanted. No matter which is set, \verb|\Gammaup| (or \verb|\upGamma|) gives you upright \verb|\Gamma|, etc, and \verb|\Deltait|, \verb|zetait| give you italic (i.e., slanted) versions of those letters, and \verb|\mathnormal{\Omega}| etc will always produce the slanted version of uppercase Greek letters. (The macro \verb|\mathnormal| means essentially ``use the version of the symbol in {\tt letters}''---i.e., the math italic form. This did not always work as expected in versions prior to 1.27.)
 \item The \textsf{newpxmath} package contains three different Blackboard Bold alphabets, where original \textsf{pxfonts} contained one. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{pxfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below.
 \item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving  a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.)
-\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt pxfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save one of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalfa} package.)
+\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt pxfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save one of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalpha} package.)
 \end{itemize}
 
 \textsc{Example:}
@@ -278,7 +284,7 @@
 \documentclass[leqno]{article}
 \usepackage[osf,theoremfont]{newpxtext} % T1, lining figures in math, osf in text
 \usepackage{textcomp} % required for special glyphs
-\usepackage[varg,bigdelims]{newpxmath}
+\usepackage[varg]{newpxmath}
 \usepackage[scr=rsfso]{mathalfa}% \mathscr is fancier than \mathcal
 \usepackage{bm} % load after all math to give access to bold math
 %\useosf %no longer needed unless using babel
@@ -448,11 +454,39 @@
 \end{verbatim}
 and then use \verb|$x_{\jj}$| instead of \verb|$x_j$|, turning $x_j$ into $x_{\jj}$.
 
-If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named,  {\tt newpx-subs.tex}. There is already such a file located in the {\tt newpx} distribution in the \verb|tex/latex/newpx| folder. (The contents of this file are also listed at the end of this appendix, from which they may be more easily copied.) If you wish to make changes to this file, copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. (The contents of this file are also listed at the end of this appendix, from which they may be more easily copied.) The entries in the file are lines like
+If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named,  {\tt newpx-subs.tex}. There is already such a file located in the {\tt newpx} distribution in the \verb|tex/latex/newpx| folder. 
+
+(New as of version $1.426$:) If you wish to make changes to {\tt newpx-subs.tex}, it is possible though not wise to copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. The problem is that it is easy to forget where the file is located when you want to make changes. For the moment, my advice is to place the file contents with your changes inside a {\tt filecontents} environment at the top of your source file, as shown below. The effect will be to write that file in the same folder as your source, overwriting any existing copy. Version $1.426$ also offers you a new option {\tt subscriptcorrectionfile} that lets you specify a file name other than the default {\tt newpx-subs.tex} that can be used to specify a subscript correction file for some special use.
+
+\textbf{A sample newpx-subs.tex:}\\
+Copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{|
+and pasting it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document.
 \begin{verbatim}
+\begin{filecontents*}[force,nosearch]{newpx-subs.tex}
+{f}{-2.5}
+{j}{-1.5}
+{p}{-1}
+{y}{-1}
+{A}{-1.5}
+{B}{-1}
+{D}{-1}
+{H}{-1}
+{I}{-1}
+{K}{-1}
+{L}{-1}
+{M}{-1}
+{N}{-0.5}
+{P}{-1}
+{X}{-1}
+{\rho}{-1.5}
+{\mu}{-1}
+\end{filecontents*}
+\end{verbatim}
+The entries in the file are lines like
+\begin{verbatim}
 {j}{-3}
 \end{verbatim}
-each of which will have the same effect as the above macro if the first item in the subscript is j. You can also specify Greek letters with lines like
+each of which will have the same effect as the above macro \verb|\jj| if the first item in the subscript is {\tt j}. You can also specify Greek letters with lines like
 \begin{verbatim}
 {\beta}{-1.5}
 \end{verbatim}
@@ -496,31 +530,4 @@
 \newpage  
 \subsection{symbols}
 \fonttable{zplsy}
-\newpage 
-\subsection{A sample newpx-subs.tex}
-You may either copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{|
-and pasting it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document, or make your own file, omitting those outer two lines.
-
-\begin{verbatim}
-\begin{filecontents*}{newpx-subs.tex}
-{f}{-2.5}
-{j}{-1.5}
-{p}{-1}
-{y}{-1}
-{A}{-1.5}
-{B}{-1}
-{D}{-1}
-{H}{-1}
-{I}{-1}
-{K}{-1}
-{L}{-1}
-{M}{-1}
-{N}{-0.5}
-{P}{-1}
-{X}{-1}
-{\rho}{-1.5}
-{\mu}{-1}
-\end{filecontents*}
-
-\end{verbatim}
 \end{document}  
\ No newline at end of file

Modified: trunk/Master/texmf-dist/fonts/afm/public/newpx/pxbmiaX.afm
===================================================================
--- trunk/Master/texmf-dist/fonts/afm/public/newpx/pxbmiaX.afm	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/fonts/afm/public/newpx/pxbmiaX.afm	2021-10-13 20:27:34 UTC (rev 60748)
@@ -1,6 +1,6 @@
 StartFontMetrics 2.0
-Comment Generated by FontForge 20200314
-Comment Creation Date: Sun Mar 21 13:08:27 2021
+Comment Generated by FontForge 20201107
+Comment Creation Date: Tue Oct 12 16:42:29 2021
 FontName pxbmiaX
 FullName pxbmiaX
 FamilyName pxbmiaX
@@ -13,7 +13,7 @@
 Version 3.1
 EncodingScheme FontSpecific
 FontBBox -26 -302 1115 899
-StartCharMetrics 208
+StartCharMetrics 169
 C 0 ; WX 556 ; N u1D6AA ; B 28 -3 539 682 ;
 C 1 ; WX 687 ; N u1D6AB ; B 25 0 662 693 ;
 C 2 ; WX 833 ; N u1D6AF ; B 47 -17 787 695 ;
@@ -139,6 +139,7 @@
 C 123 ; WX 313 ; N u1D58E.dtls ; B 22 -11 302 540 ;
 C 124 ; WX 323 ; N u1D58F.dtls ; B 35 -168 289 539 ;
 C 125 ; WX 588 ; N uni019B.alt ; B 0 -7 569 699 ;
+C 126 ; WX 333 ; N hyphen ; B 39 220 285 313 ;
 C 127 ; WX 279 ; N tie ; B 225 543 659 714 ;
 C 129 ; WX 888 ; N u1D538 ; B 4 -9 877 705 ;
 C 130 ; WX 740 ; N u1D539 ; B 16 -9 716 698 ;
@@ -166,34 +167,7 @@
 C 152 ; WX 784 ; N u1D54F ; B 3 -9 776 705 ;
 C 153 ; WX 667 ; N u1D550 ; B -2 -9 665 710 ;
 C 154 ; WX 817 ; N uni2124 ; B 4 -9 800 697 ;
-C 155 ; WX 488 ; N u1D552 ; B 26 -10 452 483 ;
-C 156 ; WX 665 ; N u1D553 ; B 25 -10 628 717 ;
-C 157 ; WX 470 ; N u1D554 ; B 26 -10 433 483 ;
-C 158 ; WX 547 ; N u1D555 ; B 26 -10 513 717 ;
-C 159 ; WX 481 ; N u1D556 ; B 26 -10 445 483 ;
-C 160 ; WX 538 ; N u1D557 ; B 34 0 511 717 ;
-C 161 ; WX 525 ; N u1D558 ; B 26 -229 490 484 ;
-C 162 ; WX 688 ; N u1D559 ; B 34 0 652 717 ;
-C 163 ; WX 407 ; N u1D55A ; B 26 0 376 717 ;
-C 164 ; WX 396 ; N u1D55B ; B 32 -229 308 717 ;
 C 165 ; WX 676 ; N u1D55C ; B 11 -18 680 733 ;
-C 166 ; WX 421 ; N u1D55D ; B 34 0 384 717 ;
-C 167 ; WX 949 ; N u1D55E ; B 16 0 923 483 ;
-C 168 ; WX 649 ; N u1D55F ; B 16 0 625 483 ;
-C 169 ; WX 515 ; N u1D560 ; B 26 -10 489 483 ;
-C 170 ; WX 559 ; N u1D561 ; B 33 -228 521 483 ;
-C 171 ; WX 549 ; N u1D562 ; B 26 -228 513 484 ;
-C 172 ; WX 517 ; N u1D563 ; B 26 0 482 483 ;
-C 173 ; WX 385 ; N u1D564 ; B 37 -10 349 482 ;
-C 174 ; WX 436 ; N u1D565 ; B 28 -10 400 608 ;
-C 175 ; WX 660 ; N u1D566 ; B 16 -11 628 472 ;
-C 176 ; WX 677 ; N u1D567 ; B 23 -15 644 472 ;
-C 177 ; WX 926 ; N u1D568 ; B 30 -15 892 472 ;
-C 178 ; WX 632 ; N u1D569 ; B 23 0 606 472 ;
-C 179 ; WX 681 ; N u1D56A ; B 23 -229 649 472 ;
-C 180 ; WX 553 ; N u1D56B ; B 10 0 520 472 ;
-C 181 ; WX 407 ; N u1D55A.dtls ; B 26 0 376 484 ;
-C 182 ; WX 396 ; N u1D55B.dtls ; B 32 -229 308 483 ;
 C 186 ; WX 350 ; N caron ; B -2 556 353 741 ;
 C 187 ; WX 350 ; N breve ; B 16 556 335 728 ;
 C 188 ; WX 791 ; N uni2AEB ; B 65 0 727 579 ;
@@ -209,18 +183,5 @@
 C 253 ; WX 600 ; N plus ; B 35 0 565 533 ;
 C 254 ; WX 350 ; N grave ; B 8 556 259 751 ;
 C 255 ; WX 350 ; N acute ; B 91 556 341 751 ;
-C -1 ; WX 1000 ; N NameMe.64.1 ; B 0 0 0 0 ;
-C -1 ; WX 592 ; N NameMe.53 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.54 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.55 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.56 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.57 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.58 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.59 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.60 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.61 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.62 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.63 ; B 20 -16 567 692 ;
-C -1 ; WX 592 ; N NameMe.64 ; B 20 -16 567 692 ;
 EndCharMetrics
 EndFontMetrics

Modified: trunk/Master/texmf-dist/fonts/afm/public/newpx/pxmiaX.afm
===================================================================
--- trunk/Master/texmf-dist/fonts/afm/public/newpx/pxmiaX.afm	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/fonts/afm/public/newpx/pxmiaX.afm	2021-10-13 20:27:34 UTC (rev 60748)
@@ -1,6 +1,6 @@
 StartFontMetrics 2.0
-Comment Generated by FontForge 20200314
-Comment Creation Date: Sun Mar 21 13:02:49 2021
+Comment Generated by FontForge 20201107
+Comment Creation Date: Tue Oct 12 16:42:59 2021
 FontName pxmiaX
 FullName pxmiaX
 FamilyName pxmiaX
@@ -17,7 +17,7 @@
 XHeight 450
 Ascender 642
 Descender -217
-StartCharMetrics 208
+StartCharMetrics 209
 C 0 ; WX 556 ; N uni0393 ; B 22 -3 536 692 ;
 C 1 ; WX 689 ; N uni0394 ; B 27 -4 662 697 ;
 C 2 ; WX 786 ; N uni0398 ; B 22 -20 764 709 ;
@@ -166,10 +166,10 @@
 C 149 ; WX 864 ; N u1D54C ; B 15 -16 847 696 ;
 C 150 ; WX 864 ; N u1D54D ; B 17 -12 838 696 ;
 C 151 ; WX 1098 ; N u1D54E ; B 5 -12 1086 696 ;
-C 152 ; WX 864 ; N u1D54F ; B 11 0 846 696 ;
-C 153 ; WX 759 ; N u1D550 ; B 23 0 740 696 ;
-C 154 ; WX 769 ; N uni2124 ; B 9 0 754 696 ;
-C 155 ; WX 488 ; N u1D552 ; B 26 -10 452 483 ;
+C 152 ; WX 863 ; N u1D54F ; B 10 0 844 695 ;
+C 153 ; WX 758 ; N u1D550 ; B 23 0 738 695 ;
+C 154 ; WX 767 ; N uni2124 ; B 9 0 753 695 ;
+C 155 ; WX 605 ; N u1D552 ; B 39 -10 569 483 ;
 C 156 ; WX 665 ; N u1D553 ; B 25 -10 628 717 ;
 C 157 ; WX 470 ; N u1D554 ; B 26 -10 433 483 ;
 C 158 ; WX 547 ; N u1D555 ; B 26 -10 513 717 ;
@@ -221,6 +221,7 @@
 C 234 ; WX 0 ; N uni030A ; B -333 530 -128 729 ;
 C 235 ; WX 0 ; N uni030B ; B -325 521 -35 674 ;
 C 236 ; WX 0 ; N uni030C ; B -371 525 -89 678 ;
+C 237 ; WX 333 ; N hyphen ; B 39 243 285 297 ;
 C 251 ; WX 569 ; N dblbracketleft ; B 83 -284 478 825 ;
 C 252 ; WX 591 ; N dblbracketright ; B 47 -284 440 825 ;
 C 253 ; WX 669 ; N plus ; B 63 -2 609 544 ;

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

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

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

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

Modified: trunk/Master/texmf-dist/tex/latex/newpx/TeXGyrePagellaX.fontspec
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newpx/TeXGyrePagellaX.fontspec	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/tex/latex/newpx/TeXGyrePagellaX.fontspec	2021-10-13 20:27:34 UTC (rev 60748)
@@ -1,8 +1,10 @@
 \defaultfontfeatures[TeXGyrePagellaX]
   {
   Extension = .otf ,
-  UprightFont = TeXGyrePagellaX-Regular,
-  BoldFont = TeXGyrePagellaX-Bold,
-  ItalicFont = TeXGyrePagellaX-Italic,
-  BoldItalicFont = TeXGyrePagellaX-BoldItalic
+  UprightFont = TeXGyrePagellaX-Regular ,
+  BoldFont = TeXGyrePagellaX-Bold ,
+  ItalicFont = TeXGyrePagellaX-Italic ,
+  BoldItalicFont = TeXGyrePagellaX-BoldItalic ,
+  SlantedFont = TeXGyrePagellaX-Slanted ,
+  BoldSlantedFont = TeXGyrePagellaX-BoldSlanted ,
   }

Modified: trunk/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newpx/newpxmath.sty	2021-10-13 18:59:56 UTC (rev 60747)
+++ trunk/Master/texmf-dist/tex/latex/newpx/newpxmath.sty	2021-10-13 20:27:34 UTC (rev 60748)
@@ -11,8 +11,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.424}
-\def\filedate{2021/06/01}
+\def\fileversion{1.426}
+\def\filedate{2021/10/12}
 \ProvidesPackage{newpxmath}
 	[\filedate\space v\fileversion]
 %\@ifundefined{newpxmathLoaded}{}{\endinput}
@@ -27,7 +27,7 @@
 % replacement for \ifiscs
 \def\ifiscseq#1{\ifcat$\expandafter\@gobble\string#1$\expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi}%\def\ly at one{LY1}
 \def\t at one{T1}
-%\def\ot at one{OT1}
+\def\ot at one{OT1}
 
 \input{binhex}
 \RequirePackage{xkeyval}
@@ -35,7 +35,10 @@
 
 \newif\ifpx at sbc
 %\newif\ifpx at spc
+\newif\ifpx at nootone % do not switch to OT1 for operators
 
+
+
 %\newcommand\enablesbcorrection{\px at sbctrue\AtBeginDocument{\mathcode`\_=\string"8000 \catcode`\_=12\relax}}
 %\newcommand\disablesbcorrection{\px at sbcfalse\catcode`\_=8\relax}
 %\newcommand\enablespcorrection{\px at spctrue\AtBeginDocument{\mathcode`\^=\string"8000 \catcode`\^=12\relax}}
@@ -94,13 +97,16 @@
 %   \fi%
 %  \fi%
 % \fi}
+%\traceon
 \newtoks\px at tA % accumulate \if\next
 \newtoks\px at tB % accumulate \fi
 \newcommand*{\loadsubfile}[1]{\readsufile{#1}%creates toks px at tA. px at tB
 \px at tA\expandafter{\the\expandafter\px at tA\the\px at tB}
-\expandafter\def\expandafter\px at sb\expandafter{\the\px at tA}\enablesbcorrection}
+\expandafter\def\expandafter\px at sb\expandafter{\the\px at tA}}
+%\enablesbcorrection}
 %\newcommand*{\loadsupfile}[1]{\readsufile{#1}%creates toks px at tA. px at tB
 %\def\px at sp{\the\px at tA \the\px at tB}\enablespcorrection}
+\def\px at subs{newpx-subs.tex} % default name of subscript kerns file
 \newread\px at su
 
 \def\readsufile#1{%
@@ -114,6 +120,7 @@
   \fi
   \repeat
 }
+
 %\def\px at Prepend#1(to:)#2{\toks0={#1}%
 %    \edef\px at act{\noexpand#2={\the\toks0 \the#2}}%
 %    \px at act}
@@ -126,7 +133,7 @@
 
 \def\px at addrec#1#2{%
 \ifiscseq{#1}{\px at tA\expandafter{\the\px at tA\ifx}}{\px at tA\expandafter{\the\px at tA\if}}
-\px at tA\expandafter{\the\px at tA\ifx\px at next #1\mkern #2 mu\else}
+\px at tA\expandafter{\the\px at tA\px at next #1\mkern #2 mu\else}
 \px at tB\expandafter{\the\px at tB\fi}}
 %px at AppendToks\toks0(to:)\px at tA \px at AppendToks\fi(to:)\px at tB}
 
@@ -148,6 +155,7 @@
 
 \newif\ifpx at varbb \newif\ifpx at vvarbb \newif\ifpx at symbolsC \newif\ifpx at bigdelims \newif\ifpx at frenchm % french math
 \px at symbolsCtrue
+\DeclareOption{subscriptcorrectionfile}{\def\px at subs{#1}}
 \DeclareOption{nosubscriptcorrection}{\px at sbcfalse}
 \DeclareOption{subscriptcorrection}{\px at sbctrue}
 \DeclareOption{bigdelims}{\px at bigdelimstrue}
@@ -164,6 +172,7 @@
 \DeclareOption{frenchmath}{\px at frenchmtrue}
 \DeclareOption{upint}{\px at upinttrue}
 \DeclareOption{smallerops}{\px at smopstrue}
+\DeclareOption{noOT1}{\px at nootonetrue}
 \DeclareOption{fracspacing}{%
   \def\setSYdimens{%
     \fontdimen 8\font=0.789\fontdimen6\font % was 0.677 of a quad
@@ -179,8 +188,8 @@
 	\PackageError{newpxmath}{xy package is not compatible with the subscriptcorrection macros}{Either remove xy or disable  
 	subscriptcorrection}
   \fi % ifx
-	\IfFileExists{newpx-subs.tex}{\loadsubfile{newpx-subs.tex}}%
-	{\def\px at sb{\px at sb@dflt}\message{File newpx-subs.tex not found. Using basic defaults for subscript correction.^^J}}
+	\IfFileExists{\px at subs}{\loadsubfile{\px at subs}}%
+	{\def\px at sb{\px at sb@dflt}\message{File \px at subs\space not found. Using basic defaults for subscript correction.^^J}}
 \fi
 }
 
@@ -194,16 +203,21 @@
 %\DeclareSymbolFont{operators}{OT1}{zpltlf}{m}{n}
 %\SetSymbolFont{operators}{bold}{OT1}{zpltlf}{b}{n}
 % was formerly existing text fonts for operators
-\DeclareSymbolFont{operators}{OT1}{\rmdefault}{m}{n}
-\SetSymbolFont{operators}{bold}{OT1}{\rmdefault}{b}{n}
+\let\px at enc\encodingdefault
+%:
+\ifpx at nootone\else
+\let\px at enc\ot at one\fi
+
+\DeclareSymbolFont{operators}{\px at enc}{\rmdefault}{m}{n}
+\SetSymbolFont{operators}{bold}{\px at enc}{\rmdefault}{b}{n}
 \def\operator at font{\mathgroup\symoperators}
 
 \DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n}
-\DeclareMathAlphabet{\mathit}{OT1}{\rmdefault}{m}{it}
+\DeclareMathAlphabet{\mathit}{\px at enc}{\rmdefault}{m}{it}
 \DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n}
 \DeclareSymbolFontAlphabet{\mathrm}{operators}
-\DeclareMathAlphabet{\mathbf}{OT1}{\rmdefault}{b}{n}
-\SetMathAlphabet{\mathit}{bold}{OT1}{\rmdefault}{b}{it}
+\DeclareMathAlphabet{\mathbf}{\px at enc}{\rmdefault}{b}{n}
+\SetMathAlphabet{\mathit}{bold}{\px at enc}{\rmdefault}{b}{it}
 
 \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}
 \SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n}
@@ -396,10 +410,10 @@
 \ifpx at sbc
 \AtBeginDocument{\mathcode`\_=\string"8000 \catcode`\_=12\relax} \begingroup
  \catcode`\_=13 % active
- \gdef_{\s@@b}
+ \gdef_{\expandafter\s@@b@}
 \endgroup
 %
-\def\s@@b{\ifpx at sbc\expandafter\s@@b@\else\expandafter\sb\fi}
+%\def\s@@b{\expandafter\s@@b@}
 \def\s@@b@#1{\def\px at next@{#1}%
 \px at sbptoks={#1}%
 \px at Pop\px at sbptoks(into:)\px at next% px at next first non-blank token



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