summaryrefslogtreecommitdiff
path: root/fonts/newpx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-04 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2019-10-04 03:01:00 +0000
commit9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 (patch)
treef67d308a037384664193d9a2cfca27d8b0579701 /fonts/newpx
parent93c3758895674cc9ea3e8aaeeb3cf5d1bdc0e3be (diff)
CTAN sync 201910040301
Diffstat (limited to 'fonts/newpx')
-rw-r--r--fonts/newpx/README6
-rw-r--r--fonts/newpx/doc/newpxdoc.pdfbin791615 -> 791695 bytes
-rw-r--r--fonts/newpx/doc/newpxdoc.tex6
-rw-r--r--fonts/newpx/tex/newpx-subs.tex (renamed from fonts/newpx/tex/newpx.subs)0
-rw-r--r--fonts/newpx/tex/newpxmath.sty12
5 files changed, 15 insertions, 9 deletions
diff --git a/fonts/newpx/README b/fonts/newpx/README
index e6569e34cd..f728c2620f 100644
--- a/fonts/newpx/README
+++ b/fonts/newpx/README
@@ -1,11 +1,15 @@
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.
3. Added new script alphabets to math italics by extending the encoding from oml to full 256 slots, so they can be used without wasting math families.
diff --git a/fonts/newpx/doc/newpxdoc.pdf b/fonts/newpx/doc/newpxdoc.pdf
index 8381b1ae57..e036e06df0 100644
--- a/fonts/newpx/doc/newpxdoc.pdf
+++ b/fonts/newpx/doc/newpxdoc.pdf
Binary files 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 b/fonts/newpx/tex/newpx-subs.tex
index 02c4b277db..02c4b277db 100644
--- a/fonts/newpx/tex/newpx.subs
+++ b/fonts/newpx/tex/newpx-subs.tex
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