texlive[43105] Master/texmf-dist: newpx (31jan17)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 31 23:45:32 CET 2017


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

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-01-31 20:32:02 UTC (rev 43104)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/README	2017-01-31 22:45:32 UTC (rev 43105)
@@ -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.315 2017-01-30
+Current version: 1.316 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.316
+Reworked the handling of the option theoremfont to newpxtext.sty so that the plain theorem style is defined only if amsthm is loaded before newpxtext.
+
 Changes in version 1.315
 Changed newpxtext.sty so amsthm not loaded unless option theoremfont is specified. (Thanks Claudio Marsan.)
 

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-01-31 20:32:02 UTC (rev 43104)
+++ trunk/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex	2017-01-31 22:45:32 UTC (rev 43105)
@@ -114,6 +114,7 @@
 This is Theorem Italic: text numbers are upright---12345; punctuation is in many cases upright (also, parens, braces \{\} and brackets []). What about question marks and exclamations? Also upright! [These fit better with math mode punctuation and figures, like: for all $x\in[0,1]$, let $f(x)\coloneq \exp(\alpha x)$].
 \end{oldthm}
 
+If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in the its documentation and set the body font to \verb|\slshape|.
 
 Superior letters and figures may be called with either \verb|{\sustyle ...}| or \verb|\textsu{...}|, so you can emulate $18$\textsu{th} century orthography such as J\textsu{os} W\textsu{m} Smith, or print French style with , e.g., $1$\textsu{i\`ere}, M\textsu{me} Dubois or M\textsu{lle} D'Orleans.
 

Modified: trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2017-01-31 20:32:02 UTC (rev 43104)
+++ trunk/Master/texmf-dist/tex/latex/newpx/newpxtext.sty	2017-01-31 22:45:32 UTC (rev 43105)
@@ -8,7 +8,7 @@
 % 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.315}
+\def\fileversion{1.316}
 \def\filedate{2017/01/30}
 \ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
 
@@ -143,18 +143,20 @@
 
 %\AtEndPreamble{%
 \ifzpl at thrm
-	\RequirePackage{amsmath,amsthm} % in case of theoremfont
-	\newtheoremstyle{plain}
-	{\medskipamount}   % ABOVESPACE, was \topset
-    {\medskipamount}   % BELOWSPACE, was \topset
-    {\slshape}  % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation
-    {}       % INDENT (empty value is the same as 0pt)
-    {\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]
-    %\fi%
+	%\RequirePackage{amsmath,amsthm} % in case of theoremfont
+	\ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty
+		\@ifpackageloaded{ntheorem}\relax{%
+		\newtheoremstyle{plain}
+		{\medskipamount}   % ABOVESPACE, was \topsep
+    	{\medskipamount}   % BELOWSPACE, was \topsep
+    	{\slshape}  % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation
+    	{}       % INDENT (empty value is the same as 0pt)
+    	{\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]
+    	} % end @ifpackageloaded
+    \fi%
 \fi%}		
 
 %%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list