From 9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 4 Oct 2019 03:01:00 +0000
Subject: CTAN sync 201910040301

---
 fonts/newtx/tex/newtxmath.sty | 54 ++++++++++++++++++++++++++++++-------------
 1 file changed, 38 insertions(+), 16 deletions(-)

(limited to 'fonts/newtx/tex/newtxmath.sty')

diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty
index a7ad97ac76..a423dacd19 100644
--- a/fonts/newtx/tex/newtxmath.sty
+++ b/fonts/newtx/tex/newtxmath.sty
@@ -10,8 +10,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.60}
-\def\filedate{2019/09/20}
+\def\fileversion{1.601}
+\def\filedate{2019/10/02}
 \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
 \@ifundefined{newtxmathLoaded}{}{\endinput}
 
@@ -234,6 +234,8 @@ amssymbols,uprightGreek,nosubscriptcorrection}
 \iftx@ntxmath\tx@isenhtrue\else
   \iftx@libertine\tx@isenhtrue\else
     \iftx@ch\tx@isenhtrue\else
+      \iftx@ebgm\tx@isenhtrue\else
+      \fi
     \fi
   \fi
 \fi
@@ -319,63 +321,70 @@ amssymbols,uprightGreek,nosubscriptcorrection}
 % Math Italic %
 %%%%%%%%%%%%%%%
 \iftx@libertine
-  \def\tx@subs{libertine.subs}
+  \def\tx@subs{newtx-libertine-subs.tex}
   \DeclareSymbolFont{letters}{OML}{nxlmi}{m}{it}
   \SetSymbolFont{letters}{bold}{OML}{nxlmi}{b}{it}
   \DeclareFontSubstitution{OML}{nxlmi}{m}{it}
 \else
   \iftx@minion
-    \def\tx@subs{minion.subs}
+    \def\tx@subs{newtx-minion-subs.tex}
     \DeclareSymbolFont{letters}{OML}{zmnmi}{m}{it}
     \SetSymbolFont{letters}{bold}{OML}{zmnmi}{b}{it}
     \DeclareFontSubstitution{OML}{zmnmi}{m}{it}  
   \else
     \iftx@gm
-      \def\tx@subs{garamond.subs}
+      \def\tx@subs{newtx-garamond-subs.tex}
       \DeclareSymbolFont{letters}{OML}{zgmmi}{m}{it}
       \SetSymbolFont{letters}{bold}{OML}{zgmmi}{b}{it}
       \DeclareFontSubstitution{OML}{zgmmi}{m}{it}  
     \else
       \iftx@bv
-       \def\tx@subs{baskervald.subs}
+       \def\tx@subs{newtx-baskervald-subs.tex}
        \DeclareSymbolFont{letters}{OML}{zbvmi}{m}{it}
         \SetSymbolFont{letters}{bold}{OML}{zbvmi}{b}{it}
         \DeclareFontSubstitution{OML}{zbvmi}{m}{it}  
       \else
         \iftx@ut
-          \def\tx@subs{utopia.subs}
+          \def\tx@subs{newtx-utopia-subs.tex}
           \DeclareSymbolFont{letters}{OML}{zutmi}{m}{it}
           \SetSymbolFont{letters}{bold}{OML}{zutmi}{b}{it}
           \DeclareFontSubstitution{OML}{zutmi}{m}{it}          
         \else
           \iftx@ch
-            \def\tx@subs{xcharter.subs}
+            \def\tx@subs{newtx-xcharter-subs.tex}
             \DeclareSymbolFont{letters}{OML}{zchmi}{m}{it}
             \SetSymbolFont{letters}{bold}{OML}{zchmi}{b}{it}
             \DeclareFontSubstitution{OML}{zchmi}{m}{it}          
           \else
             \iftx@coch
-              \def\tx@subs{cochineal.subs}
+              \def\tx@subs{newtx-cochineal-subs.tex}
               \DeclareSymbolFont{letters}{OML}{zcochmi}{m}{it}
               \SetSymbolFont{letters}{bold}{OML}{zcochmi}{b}{it}
               \DeclareFontSubstitution{OML}{zcochmi}{m}{it}           
             \else
               \iftx@ba
-			    \def\tx@subs{baskervillef.subs}
+			    \def\tx@subs{newtx-baskervillef-subs.tex}
                 \DeclareSymbolFont{letters}{OML}{zbami}{m}{it}
                 \SetSymbolFont{letters}{bold}{OML}{zbami}{b}{it}
                 \DeclareFontSubstitution{OML}{zbami}{m}{it}
               \else
                 \iftx@stxtwo
-                  \def\tx@subs{stickstoo.subs}
+                  \def\tx@subs{newtx-stickstoo-subs.tex}
                   \DeclareSymbolFont{letters}{OML}{ntxstx2mi}{m}{it}
                   \SetSymbolFont{letters}{bold}{OML}{ntxstx2mi}{b}{it}
                   \DeclareFontSubstitution{OML}{ntxstx2mi}{m}{it}                
                 \else
-                  \def\tx@subs{newtx.subs}
-                  \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
-                  \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
-                  \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+                  \iftx@ebgm
+                    \def\tx@subs{newtx-ebgaramond-subs.tex}
+      				\DeclareSymbolFont{letters}{OML}{ntxebgmi}{m}{it}
+      				\SetSymbolFont{letters}{bold}{OML}{ntxebgmi}{b}{it}
+      				\DeclareFontSubstitution{OML}{ntxebgmi}{m}{it}  
+                  \else
+                    \def\tx@subs{newtx-subs.tex}
+                    \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
+                    \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
+                    \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+                  \fi  
                 \fi
               \fi
             \fi
@@ -387,6 +396,17 @@ amssymbols,uprightGreek,nosubscriptcorrection}
 \fi
 
 \iftx@isenh
+    \DeclareMathSymbol{0}{\mathord}{letters}{132}
+    \DeclareMathSymbol{1}{\mathord}{letters}{133}
+    \DeclareMathSymbol{2}{\mathord}{letters}{134}
+    \DeclareMathSymbol{3}{\mathord}{letters}{135}
+    \DeclareMathSymbol{4}{\mathord}{letters}{136}
+    \DeclareMathSymbol{5}{\mathord}{letters}{137}
+    \DeclareMathSymbol{6}{\mathord}{letters}{138}
+    \DeclareMathSymbol{7}{\mathord}{letters}{139}
+    \DeclareMathSymbol{8}{\mathord}{letters}{140}
+    \DeclareMathSymbol{9}{\mathord}{letters}{141}
+
 \iftx@upscr
  \DeclareRobustCommand{\mathscr}[1]{\ntx@alfa{#1}{196}{222}{248}{249}{}{letters}}
   \DeclareMathSymbol{\imathscr}{\mathord}{letters}{248}
@@ -2616,6 +2636,8 @@ $\hfil\displaystyle{#1}\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}
@@ -2627,5 +2649,5 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
 \pdfglyphtounicode{emptyset.alt2}{2205}
 \pdfglyphtounicode{transpose}{1D40}
 \pdfglyphtounicode{hermitconj}{22B9}
-
+\fi
 \endinput
-- 
cgit v1.2.3

