texlive[43477] Master/texmf-dist: newpx (12mar17)
commits+karl at tug.org
commits+karl at tug.org
Sun Mar 12 22:53:38 CET 2017
Revision: 43477
http://tug.org/svn/texlive?view=revision&revision=43477
Author: karl
Date: 2017-03-12 22:53:37 +0100 (Sun, 12 Mar 2017)
Log Message:
-----------
newpx (12mar17)
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/tex/latex/newpx/newpxtext.sty
Modified: trunk/Master/texmf-dist/doc/fonts/newpx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newpx/README 2017-03-12 21:53:15 UTC (rev 43476)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/README 2017-03-12 21:53:37 UTC (rev 43477)
@@ -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.
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 2017-03-12 21:53:15 UTC (rev 43476)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex 2017-03-12 21:53:37 UTC (rev 43477)
@@ -96,7 +96,7 @@
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,10 +142,11 @@
\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}
@@ -152,8 +153,6 @@
\usepackage{amsmath,amsthm}
\usepackage[bigdelims,vvarbb]{newpxmath}
% option vvarbb gives you stix blackboard bold
-\useosf
-\useproportional
\linespread{1.05}
\end{verbatim}
Modified: trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty 2017-03-12 21:53:15 UTC (rev 43476)
+++ trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty 2017-03-12 21:53:37 UTC (rev 43477)
@@ -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 at adobesc % we don't use this exc. in fd, but may in future
\newif\ifzpl at scosf
\newif\ifzpl at largesc
-\newif\ifzpl at babel
-\ifdefined\bbl at tempa \zpl at babeltrue\fi
-\define at key{zpl}{babel}[true]{%
-\csname zpl at babel#1\endcsname}
+%\newif\ifzpl at babel
+%\ifdefined\bbl at tempa \zpl at babeltrue\fi
+\define at key{zpl}{babel}[true]{\relax}% for backward compatibility
+%\csname zpl at babel#1\endcsname}
\define at boolkey{zpl}{defaultsups}[true]{%
\csname zpl at defaultsups#1\endcsname}
\define at boolkey{zpl}{largesc}[true]{%
@@ -219,16 +219,16 @@
\ifx\encodingdefault\LY at n@@nc at d@ng\LY at n@@nc at d@ngM at cr@M at d\fi%
}
-\ifzpl at babel
- \renewcommand*{\rmdefault}{zpl\zpl at figurealign%
-\zpl at figurestyle}
- \normalfont
-\else
+%\ifzpl at babel
+% \renewcommand*{\rmdefault}{zpl\zpl at figurealign%
+%\zpl at figurestyle}
+% \normalfont
+%\else
\AtEndPreamble{%
\renewcommand*{\rmdefault}{zpl\zpl at figurealign%
\zpl at figurestyle}
\normalfont}
-\fi
+%\fi
\endinput
More information about the tex-live-commits
mailing list