From 9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 4 Oct 2019 03:01:00 +0000 Subject: CTAN sync 201910040301 --- fonts/newpx/README | 6 +++++- fonts/newpx/doc/newpxdoc.pdf | Bin 791615 -> 791695 bytes fonts/newpx/doc/newpxdoc.tex | 6 +++--- fonts/newpx/tex/newpx-subs.tex | 17 +++++++++++++++++ fonts/newpx/tex/newpx.subs | 17 ----------------- fonts/newpx/tex/newpxmath.sty | 12 +++++++----- 6 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 fonts/newpx/tex/newpx-subs.tex delete mode 100644 fonts/newpx/tex/newpx.subs (limited to 'fonts/newpx') diff --git a/fonts/newpx/README b/fonts/newpx/README index e6569e34cd..f728c2620f 100644 --- a/fonts/newpx/README +++ b/fonts/newpx/README @@ -1,10 +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.40 2019-09-27 +Current version: 1.401 2019-10-02 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.40 +1. Changed name of file newpx.subs to newpx-subs.tex. +2. Placed the \pdfglyphtounicode lines in a conditional block in newpxmath.sty so it could continue to be used with other engines. (Thanks Hironobu Yamashita.) + Changes in version 1.40 1. Reworked the math italics to improve the rendering of some subscripts and superscripts, where formerly, overlaps could occur with superscripts like j, f, p and y with base shapes, such as D, that are round on the right. Increasing the left side-bearing of j, etc, helps with superscripts but makes those letters leave a large gap when used as subscripts. 2. Corrected and enhanced the subscriptcorrection option to newpxmath so that it now fixes the above problem. I regret that this option is incompatible with xy-pic, both depending on making _ an active character but with very different behaviors. Newpxmath will detect if xy is loaded and disable subscriptcorrection if so. diff --git a/fonts/newpx/doc/newpxdoc.pdf b/fonts/newpx/doc/newpxdoc.pdf index 8381b1ae57..e036e06df0 100644 Binary files a/fonts/newpx/doc/newpxdoc.pdf and b/fonts/newpx/doc/newpxdoc.pdf differ diff --git a/fonts/newpx/doc/newpxdoc.tex b/fonts/newpx/doc/newpxdoc.tex index 756509ac5b..9e70498119 100644 --- a/fonts/newpx/doc/newpxdoc.tex +++ b/fonts/newpx/doc/newpxdoc.tex @@ -432,7 +432,7 @@ Version 1.6.3 of {\tt pdfx} from February 2019 mishandles math accents. A fix i \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}. 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. (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 \begin{verbatim} {j}{-3} \end{verbatim} @@ -481,12 +481,12 @@ The AMS fonts replacement, {\tt zplsym} corrects the former misplacement of \ver \subsection{symbols} \fonttable{zplsy} \newpage -\subsection{A sample newpx.subs} +\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} +\begin{filecontents*}{newpx-subs.tex} {f}{-2.5} {j}{-1.5} {p}{-1} diff --git a/fonts/newpx/tex/newpx-subs.tex b/fonts/newpx/tex/newpx-subs.tex new file mode 100644 index 0000000000..02c4b277db --- /dev/null +++ b/fonts/newpx/tex/newpx-subs.tex @@ -0,0 +1,17 @@ +{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} diff --git a/fonts/newpx/tex/newpx.subs b/fonts/newpx/tex/newpx.subs deleted file mode 100644 index 02c4b277db..0000000000 --- a/fonts/newpx/tex/newpx.subs +++ /dev/null @@ -1,17 +0,0 @@ -{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} diff --git a/fonts/newpx/tex/newpxmath.sty b/fonts/newpx/tex/newpxmath.sty index 2058b34925..5f83df3dfa 100644 --- a/fonts/newpx/tex/newpxmath.sty +++ b/fonts/newpx/tex/newpxmath.sty @@ -11,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.40} -\def\filedate{2019/09/22} +\def\fileversion{1.401} +\def\filedate{2019/10/02} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] %\@ifundefined{newpxmathLoaded}{}{\endinput} @@ -179,8 +179,8 @@ amssymbols,uprightGreek} \PackageError{newpxmath}{xy package is not compatible with the subscriptcorrection macros}{Either remove xy or disable subscriptcorrection} \fi % ifx - \IfFileExists{newpx.subs}{\loadsubfile{newpx.subs}}% - {\def\px@sb{\px@sb@dflt}\message{File newpx.subs not found. Using basic defaults for subscript correction.^^J}} + \IfFileExists{newpx-subs.tex}{\loadsubfile{newpx-subs.tex}}% + {\def\px@sb{\px@sb@dflt}\message{File newpx-subs.tex not found. Using basic defaults for subscript correction.^^J}} \fi } @@ -2202,6 +2202,8 @@ $\m@th\hfil #2#3\hfil$\crcr}}}} \repeat \typeout{***}} %%%%%%% Additional pdf to unicode values not in Ross Moore's collection +% Conditional needed for engines other than pdflatex +\ifx\pdfglyphtounicode\@undefined \else \pdfglyphtounicode{nPerp}{2AEB 2215}% .. .. \pdfglyphtounicode{periodcentered.B}{00B7} \pdfglyphtounicode{periodcentered.BB}{22C5} @@ -2213,5 +2215,5 @@ $\m@th\hfil #2#3\hfil$\crcr}}}} \pdfglyphtounicode{emptyset.alt2}{2205} \pdfglyphtounicode{transpose}{1D40} \pdfglyphtounicode{hermitconj}{22B9} - +\fi \endinput -- cgit v1.2.3