texlive[43093] Master/texmf-dist: newpx (30jan17)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 31 00:30:49 CET 2017


Revision: 43093
          http://tug.org/svn/texlive?view=revision&revision=43093
Author:   karl
Date:     2017-01-31 00:30:49 +0100 (Tue, 31 Jan 2017)
Log Message:
-----------
newpx (30jan17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newpx/README
    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-01-30 23:30:25 UTC (rev 43092)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/README	2017-01-30 23:30:49 UTC (rev 43093)
@@ -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.314 2017-01-26
+Current version: 1.315 2017-01-30
 
 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.315
+Changed newpxtext.sty so amsthm not loaded unless option theoremfont is specified. (Thanks Claudio Marsan.)
+
 Changes in version 1.314
 Removed a stray { in newpxtext.sty. (Thanks Enrico Gregorio.)
 

Modified: trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2017-01-30 23:30:25 UTC (rev 43092)
+++ trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2017-01-30 23:30:49 UTC (rev 43093)
@@ -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.314}
-\def\filedate{2017/01/26}
+\def\fileversion{1.315}
+\def\filedate{2017/01/30}
 \ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
 
 \message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)}
@@ -18,7 +18,6 @@
 \let\orig at footnote=\thefootnote
 \let\orig at makefnmark=\@makefnmark
 \RequirePackage{xkeyval,etoolbox}
-\RequirePackage{amsmath,amsthm} % in case of theoremfont
 \renewcommand*{\rmdefault}{zpltlf} % the default until end of preamble
 \def\useosf{\edef\zpl at figurestyle{osf}}
 \@onlypreamble\useosf
@@ -144,7 +143,7 @@
 
 %\AtEndPreamble{%
 \ifzpl at thrm
-	%\ifdefined\newtheoremstyle
+	\RequirePackage{amsmath,amsthm} % in case of theoremfont
 	\newtheoremstyle{plain}
 	{\medskipamount}   % ABOVESPACE, was \topset
     {\medskipamount}   % BELOWSPACE, was \topset
@@ -153,7 +152,8 @@
     {\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection
     {.}         % HEADPUNCT
     {5pt plus 1pt minus 1pt} % HEADSPACE
-    {}          % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
+    {}          % CUSTOM-HEAD-SPEC
+    %\newtheorem{thm}{Theorem}[section]
     %\fi%
 \fi%}		
 



More information about the tex-live-commits mailing list