summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/README5
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdfbin284805 -> 284345 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex9
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty24
4 files changed, 20 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README
index f5fc8b0bc8d..db0de689405 100644
--- a/Master/texmf-dist/doc/fonts/newpx/README
+++ b/Master/texmf-dist/doc/fonts/newpx/README
@@ -1,10 +1,13 @@
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.317 2017-02-12
+Current version: 1.318 2017-03-11
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.318
+Modified newpxtext.sty so that text figure styles are selected always in the \AtEndPreamble hook. (Formerly, using babel would prevent this.)
+
Changes in version 1.317
Redistributed a number of math glyphs from the symbol font in order to prevent bad rounding of heights that adversely affected the thickness of the horizontal bar on the radical.
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
index 0d8bf9fce46..d897aa1aeab 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
index 0971c66e767..ae6327ae5ad 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
@@ -96,7 +96,7 @@ to load the roman and typewriter text fonts at 95\% of normal size, and the sans
load roman and typewriter text fonts at 95\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.95*0.96$.
The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. As of version $1.23$, {\tt newpxtext} loads initially with lining figures so the math package uses lining figures in math mode. The option {\tt osf} switches to old-style figures in text at the very end of the preamble, forcing the use of oldstyle figures in text, but not math. In previous versions, it was necessary to run
-\verb|\useosf| after loading math. This is no longer required unless the {\tt babel} package is loaded, but does no harm. See the discussion in section 4 for further details.
+\verb|\useosf| after loading math. This is no longer required, but does no harm. See the discussion in section 4 for further details.
@@ -142,18 +142,17 @@ If you want full control, the options {\tt spacing, stretch, shrink} allow you t
\section{Usage with {\tt babel}}
-You should normally load {\tt babel} before loading {\tt newpxtext} in order for {\tt babel} to function as expected. {\tt Newpxtext} will set an internal flag to indicate that {\tt babel} is being used. Option \texttt{babel} should be used only if you are forced to load {\tt babel} after {\tt newpxtext}. There appears to be an incompatibility between parts of {\tt babel} and \verb|\AtEndPreamble|. If you use {\tt babel}, and a math package, you have to omit the {\tt osf} option and use the macro \verb|\useosf| after loading the math package if you want oldstyle figures in text mode and lining figures in math mode. A similar macro \verb|\useproportional| makes proportional figures the default outside math mode. For example:
+You should normally load {\tt babel} before loading {\tt newpxtext} in order for {\tt babel} to function as expected. A similar macro \verb|\useproportional| makes proportional figures the default outside math mode. For example:
\begin{verbatim}
\usepackage[greek.polutonico,english]{babel}
-\usepackage[theoremfont,largesc,tighter]{newpxtext}
+% the next line makes text figures proportional, oldstyle, while math uses lining figures
+\usepackage[theoremfont,largesc,tighter,p,osf]{newpxtext}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[varqu,varl]{inconsolata}
\usepackage{amsmath,amsthm}
\usepackage[bigdelims,vvarbb]{newpxmath}
% option vvarbb gives you stix blackboard bold
-\useosf
-\useproportional
\linespread{1.05}
\end{verbatim}
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index df7c1a99baa..3d6b077a6c2 100644
--- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
+++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
@@ -8,8 +8,8 @@
% Modified the definition of \k to bypass problem with grouping.
% Text is now directed to an extension of TeXGyrePagella rather than ppl.
-\def\fileversion{1.316}
-\def\filedate{2017/01/30}
+\def\fileversion{1.318}
+\def\filedate{2017/03/11}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)}
@@ -28,10 +28,10 @@
\newif\ifzpl@adobesc % we don't use this exc. in fd, but may in future
\newif\ifzpl@scosf
\newif\ifzpl@largesc
-\newif\ifzpl@babel
-\ifdefined\bbl@tempa \zpl@babeltrue\fi
-\define@key{zpl}{babel}[true]{%
-\csname zpl@babel#1\endcsname}
+%\newif\ifzpl@babel
+%\ifdefined\bbl@tempa \zpl@babeltrue\fi
+\define@key{zpl}{babel}[true]{\relax}% for backward compatibility
+%\csname zpl@babel#1\endcsname}
\define@boolkey{zpl}{defaultsups}[true]{%
\csname zpl@defaultsups#1\endcsname}
\define@boolkey{zpl}{largesc}[true]{%
@@ -219,16 +219,16 @@
\ifx\encodingdefault\LY@n@@nc@d@ng\LY@n@@nc@d@ngM@cr@M@d\fi%
}
-\ifzpl@babel
- \renewcommand*{\rmdefault}{zpl\zpl@figurealign%
-\zpl@figurestyle}
- \normalfont
-\else
+%\ifzpl@babel
+% \renewcommand*{\rmdefault}{zpl\zpl@figurealign%
+%\zpl@figurestyle}
+% \normalfont
+%\else
\AtEndPreamble{%
\renewcommand*{\rmdefault}{zpl\zpl@figurealign%
\zpl@figurestyle}
\normalfont}
-\fi
+%\fi
\endinput