texlive[55915] Master/texmf-dist: newtx (23jul20)

commits+karl at tug.org commits+karl at tug.org
Thu Jul 23 23:24:03 CEST 2020


Revision: 55915
          http://tug.org/svn/texlive?view=revision&revision=55915
Author:   karl
Date:     2020-07-23 23:24:03 +0200 (Thu, 23 Jul 2020)
Log Message:
-----------
newtx (23jul20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newtx/README
    trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
    trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
    trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
    trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/newtx/newtx-subs.tex

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/README	2020-07-23 21:23:12 UTC (rev 55914)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README	2020-07-23 21:24:03 UTC (rev 55915)
@@ -1,11 +1,17 @@
 This package, initially based on txfonts, provides many fixes and enhancements to the txfonts package, splitting it into two separate packages---newtxtext and newtxmath, which may be run independently of one another. It provides scaling, improved metrics, and other options. In particular, newtxmath offers a libertine option which substitutes Linux Libertine (provided with TeXLive and MikTeX) italic and Greek letters for the default Times letters, providing a good match for the Libertine text font, which is heavier than Computer Modern but lighter than Times, and in my experience, looks very sharp and clear on the screen.
 
-Current version: 1.627 2020-05-17
+Current version: 1.628 2020-07-22
 
 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.626
+Changes in version 1.628
+1. Removed no longer neede \k macro from newtxtext.sty.
+2. Added a number of \pdfglyphtounicode entries to newtxmath.sty
+3. Added code to \ntx at alfa macro in newtxmath.sty in order to extend its ability to pass unprocessed item through to LaTeX.
+4. Added option noOT1 to newtxmath to allow the user to specify whether using OT1 for operators, with UC Greek, is less important than using T1 for operators, so that accented characters may be used in operator names.
+
+Changes in version 1.627
 Corrected some fontdimen settings in ntx[b]exa, ntx[b]sym and ntx[b]syc.
 
 Changes in version 1.626
@@ -78,7 +84,7 @@
 3. Added the changes needed for stix2 option to work as an enhanced option, able to generate conformant PDF/A-1b pdf output.
 
 Changes in version 1.601
-1. 1. Changed name of file newtx.subs to newtx-subs.tex, with similar changes for other such files.
+1. Changed name of file newtx.subs to newtx-subs.tex, with similar changes for other such files.
 2. Placed the \pdfglyphtounicode lines in a conditional block in newpxmath.sty so it could continue to be used with other engines. (Thanks Hironobu Yamashita.)
 3. Added option ebgaramond to substitute ebgaramond Roman and Greek Letters for Times in math.
 

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex	2020-07-23 21:23:12 UTC (rev 55914)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex	2020-07-23 21:24:03 UTC (rev 55915)
@@ -73,7 +73,7 @@
 \item macros have been added to bring the calls to Greek symbols more into conformity with \textsc{psnfss} and Mathtime Pro~2;
 \item problems using \textsc{ams} macro packages before \textsf{txfonts} are settled;
 \item \verb|\coloneq| and \verb|\eqcolon| now point to the correct glyphs;
-\item The problem with the {\tt ogonek} accent  and tabular environments (bad definition of \verb|\k|) is fixed;
+\item The problem with the {\tt ogonek} accent  and tabular environments (bad definition of \verb|\k|) is fixed: (the definition of \verb|\k| is removed as of version 1.628, being no longer of use);
 \item The default encoding for \textsf{newtxtext} is now T$1$, but support is offered also for OT$1$ and LY$1$. As some add-on packages are available only in T$1$, that seems the best current choice.
 \item Sans serif is by default taken from TeXGyreHeros, and by default at 90\% of the scale factor (set by {\tt scaled}, default value {\tt1}). The option {\tt helvratio=.98} will change that to 98\%.
 \item \verb|\varkappa| $\varkappa$ has been moved from {\tt AMSb} to {\tt lettersA}, and is now accompanied by an upright form \verb|\upvarkappa| $\upvarkappa$ which behaves as it should when using the {\tt frenchmath} option.
@@ -273,6 +273,7 @@
 \item Option {\tt nonewtxmathopt} (or {\tt scale}, a mistake I cannot now erase) causes newtxmath to not make use of the optical math sizes (7{\tt pt}, 5{\tt pt}), as preferred by some.
 \item Option {\tt subscriptcorrection} enables the special spacing of some subscripts. (The default is {\tt nosubscriptcorrection}.)
 \item The \textsf{newtxmath} package contains three different Blackboard Bold alphabets, where original \textsf{txfonts} contained two. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{txfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below.
+\item {\tt noOT1} affects only those text-math combinations where {\tt operators} is defined by default to OT1 with Greek uppercase letters. It causes {\tt operators} to keep the same encoding as in tex, allowing operatornames to use accented charaters, but losing Greek uppercase.
 \item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving  a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.) If this option is selected, then, as of version 1.53, new definitions are made for the missing negated symbols. The package {\tt centernot} is now required.
 \item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt txfonts} versions of the \textsc{ams} symbols ({\tt AMSm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save two of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalfa} package.) \textbf{Important note:} if you load an AMS class, like {\tt amsart}, then some trickery will be involved. The AMS classes have an option, {\tt noamsfonts} which currently (2017) does not work as advertised, but is fixed in \TeX Live 2018. It is supposed to prevent the loading of {\tt AMSa} and {\tt AMSb}, which waste two slots. The following workaround seems like a reasonable stopgap until then.
 \begin{verbatim}

Added: trunk/Master/texmf-dist/tex/latex/newtx/newtx-subs.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtx-subs.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtx-subs.tex	2020-07-23 21:24:03 UTC (rev 55915)
@@ -0,0 +1,17 @@
+{f}{-3}
+{j}{-3}
+{p}{-}
+{y}{-}
+{A}{-2}
+{B}{-}
+{D}{-}
+{H}{-}
+{I}{-}
+{K}{-}
+{L}{-}
+{M}{-}
+{N}{-0.5}
+{P}{-}
+{X}{-}
+{\rho}{-1.5}
+{\mu}{-1}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/newtx/newtx-subs.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2020-07-23 21:23:12 UTC (rev 55914)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2020-07-23 21:24:03 UTC (rev 55915)
@@ -11,8 +11,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.626}
-\def\filedate{2020/05/02}
+\def\fileversion{1.628}
+\def\filedate{2020/07/22}
 \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
 \@ifundefined{newtxmathLoaded}{}{\endinput}
 
@@ -21,6 +21,7 @@
 \csname newtxmathLoaded\endcsname
 \let\newtxmathLoaded\endinput
 \RequirePackage{amsmath} % improves extendable delimiter handling
+\RequirePackage{ifthen}
 \RequirePackage{etoolbox}
 %\RequirePackage{trimspaces} % for trim at pre@space
 
@@ -82,8 +83,10 @@
 \newif\iftx at stxtwo
 \newif\iftx at sbc
 %\newif\iftx at spc
+\newif\iftx at nootone % do not switch to OT1 for operators
+\newif\iftx at digits % use digits from letters
 \newif\iftx at isenh % the math style is enhanced and can make use of new macros
-% Currently (2019-12-11) only txmath, libertine, XCharter, ebgaramond, stickstoo, utopia, nc and cochineal have been enhanced.
+% Currently (2019-12-11) only txmath, libertine, XCharter, ebgaramond, stickstoo, utopia, nc, minion and cochineal have been enhanced.
 \newif\iftx at cochf % switch to long f
 \newif\iftx at cochrho % switch to long rho
 \newif\iftx at fourier 
@@ -96,7 +99,8 @@
 \ifx\tx at rmdefault\@tx at ptm \tx at hastmtrue\fi\@ifundefined{ver at newtxtext.sty}{}{\tx at hastmtrue}
 \@ifundefined{ver at tgtermes.sty}{}{\tx at hastmtrue}
 \iftx at hastm\def\rmdefaultB{ntxtlf}\fi
-
+% test if tm is loaded minimally as with XeLaTeX newtxmath
+\ifthenelse{\equal{\rmdefault}{ntxtlf}}{\tx at hastmtrue\def\rmdefaultB{ntxtlf}}{}
 %\expandafter\ifx\csname qnc at scale\endcsname\relax
 %\else
 %    \let\znc at scale=\qnc at scale % scale set by tgschola.sty
@@ -243,6 +247,8 @@
 \DeclareOption{alty}{\tx at XChaltytrue} % only in XCharter, added im 1.611
 \DeclareOption{varg}{\def\X at s@v at rg{1}}
 \DeclareOption{varvw}{\def\X at s@v at rg{0}}
+\DeclareOption{internaldigits}{\tx at digitstrue}
+\DeclareOption{noOT1}{\tx at nootonetrue}
 
 \ExecuteOptions{%
 amssymbols,uprightGreek,nosubscriptcorrection}
@@ -316,6 +322,8 @@
 \iftx at minion\edef\rmdefaultB{MinionPro-TLF}\fi
 \edef\bold at wt{\ifx\iflibertine at otf\undefined b\else sb\fi}
 \let\tx at enc\encodingdefault
+%:
+\iftx at nootone\tx at otfalse\fi
 \iftx at ot\let\tx at enc\ot at one\fi
 \DeclareSymbolFont{operators}{\tx at enc}{\rmdefaultB}{m}{n}
 \SetSymbolFont{operators}{bold}{\tx at enc}{\rmdefaultB}{\bold at wt}{n}
@@ -439,17 +447,18 @@
 %\show\tx at subs
 
 \iftx at 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 at digits
+    \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}
+\fi
 \iftx at upscr
  \DeclareRobustCommand{\mathscr}[1]{\ntx at alfa{#1}{196}{222}{248}{249}{}{letters}}
   \DeclareMathSymbol{\imathscr}{\mathord}{letters}{248}
@@ -2359,7 +2368,7 @@
 			\ifnum\ntx at jmath>255\relax #1\ntx at tmpc=256 \message{^^JNo jmath in this alphabet^^J}\fi
 		\else % neither \imath nor \jmath
 			\ifiscseq{#1}{#1\ntx at tmpc=256 }{% not a cs
-			\ntx at tmpc=\number\@xp`#1}
+			\ntx at tmpc=\number\@xp`#1}			
 		\fi
 	\fi
 	%\message{^^JCharacter index = \the\ntx at tmpc^^J}
@@ -2400,11 +2409,13 @@
 			\fi
 		\fi
 	\fi
-	\ifnum\ntx at tmpc<256\relax
+	\ifnum\tx at IsAlNum>\z@
+	  \ifnum\ntx at tmpc<256\relax
 		\edef\ntx at char{"\@xp\hexnumber@\csname sym\ntx at fam\endcsname\nhex{2}{\the\ntx at tmpc}}
 		%\message{^^Joutput char = \ntx at char^^J}
   		\@xp\mathchar\ntx at char%\traceoff
-  	\fi %end of ifnum <256
+  	  \fi %end of ifnum <256
+	\fi %end of ifnum >0
 }
 % This really needs to be reorganized
 \iftx at stxtwo
@@ -2758,6 +2769,7 @@
 %%%%%%% Additional pdf to unicode values not in Ross Moore's collection
 % Conditional needed for engines other than pdflatex
 \ifx\pdfglyphtounicode\@undefined \else 
+\pdfgentounicode=1
 \pdfglyphtounicode{nPerp}{2AEB 2215}% .. .. 
 \pdfglyphtounicode{periodcentered.B}{00B7}
 \pdfglyphtounicode{periodcentered.BB}{22C5}
@@ -2769,5 +2781,14 @@
 \pdfglyphtounicode{emptyset.alt2}{2205}
 \pdfglyphtounicode{transpose}{1D40}
 \pdfglyphtounicode{hermitconj}{22B9}
+\pdfglyphtounicode{EM}{0058 0058 0058 0058 0058 0058 0058 0058}%
+\pdfglyphtounicode{NUL}{0060 0060 0060 0060 0060 0060 0060 0060}%
+\pdfglyphtounicode{uni222B.dsp}{222B FE01}%
+\pdfglyphtounicode{summationdisplay.1}{2211 FE01}%
+\pdfglyphtounicode{summationdisplay}{2211 FE01}%    
+\pdfglyphtounicode{radicalbig}{221A FE01}%
+\pdfglyphtounicode{radicalbigg}{221A FE02}%
+\pdfglyphtounicode{radicalBig}{221A FE03}%
+\pdfglyphtounicode{radicalBigg}{221A FE04}%
 \fi
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2020-07-23 21:23:12 UTC (rev 55914)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2020-07-23 21:24:03 UTC (rev 55915)
@@ -1,7 +1,7 @@
 \NeedsTeXFormat{LaTeX2e}
 
-\def\fileversion{1.625}
-\def\filedate{2020/03/02}
+\def\fileversion{1.628}
+\def\filedate{2020/07/22}
 \ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
 
 \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)}
@@ -272,19 +272,19 @@
 %%%
 
 \def\T at n@@nc at d@ng{T1}
-\def\T at n@@nc at d@ngM at cr@M at d{%
-\DeclareTextCommand{\k}{T1}[1]{{\ooalign{\hidewidth\char12\crcr##1}}}%
-}
+%\def\T at n@@nc at d@ngM at cr@M at d{%
+%\DeclareTextCommand{\k}{T1}[1]{{\ooalign{\hidewidth\char12\crcr##1}}}%
+%}
 
 \def\LY at n@@nc at d@ng{LY1}
-\def\LY at n@@nc at d@ngM at cr@M at d{%
-\DeclareTextCommand{\k}{LY1}[1]{{\ooalign{\hidewidth\char7\crcr##1}}}%
-}
+%\def\LY at n@@nc at d@ngM at cr@M at d{%
+%\DeclareTextCommand{\k}{LY1}[1]{{\ooalign{\hidewidth\char7\crcr##1}}}%
+%}
 
-\AtBeginDocument{%
-\ifx\encodingdefault\T at n@@nc at d@ng\T at n@@nc at d@ngM at cr@M at d\fi%
-\ifx\encodingdefault\LY at n@@nc at d@ng\LY at n@@nc at d@ngM at cr@M at d\fi%
-}
+%\AtBeginDocument{%
+%\ifx\encodingdefault\T at n@@nc at d@ng\T at n@@nc at d@ngM at cr@M at d\fi%
+%\ifx\encodingdefault\LY at n@@nc at d@ng\LY at n@@nc at d@ngM at cr@M at d\fi%
+%}
 
 %\ifntx at babel
 %    \renewcommand*{\rmdefault}{ntx\ntx at figurealign%



More information about the tex-live-commits mailing list.