texlive[53809] Master/texmf-dist: newtxtt (16feb20)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 16 23:06:12 CET 2020


Revision: 53809
          http://tug.org/svn/texlive?view=revision&revision=53809
Author:   karl
Date:     2020-02-16 23:06:12 +0100 (Sun, 16 Feb 2020)
Log Message:
-----------
newtxtt (16feb20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newtxtt/README
    trunk/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
    trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
    trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd

Modified: trunk/Master/texmf-dist/doc/fonts/newtxtt/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtxtt/README	2020-02-16 18:07:55 UTC (rev 53808)
+++ trunk/Master/texmf-dist/doc/fonts/newtxtt/README	2020-02-16 22:06:12 UTC (rev 53809)
@@ -1,7 +1,7 @@
 This small package provides a means of accessing all features (plus scaling) of an extension of the txfont typewriter fonts as a typewriter font family to accompany any other chosen font packages. These are serifed typewriter faces that are taller and heavier than Latin Modern Typewriter and much heavier than Courier.
 
 
-Current version: 1.055
+Current version: 1.056, 2020-02-15
 
 
 As the fonts on which these were based are licensed under GPL 3.0, so are the fonts in 
@@ -19,6 +19,10 @@
 http://www.ctan.org/license/lppl1.3
 for the details of that license.
 
+Changes in version 1.056
+1. Corrected the fd files so as to be useable without loading the package. (Thanks Jean-Francois Burnol.)
+2. Added documentation about how to do this.
+
 Changes in version 1.055
 Corrected word-spacing parameters, broken in the prior version. (Thanks Yudai Nakata.)
 

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

Modified: trunk/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex	2020-02-16 18:07:55 UTC (rev 53808)
+++ trunk/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex	2020-02-16 22:06:12 UTC (rev 53809)
@@ -103,4 +103,23 @@
 \textttz{TX Typewriter: This is just a line to illustrate typewriter 0123456789. (ttz)}
 
 \textsc{Notes:} The first two are standard monospaced with the same spacing---the : is considered to be the end of a sentence---while the words in the third are  spaced more compactly, it would hyphenate if necessary, and lacks the extra space at the end of a ``sentence''.
+
+\textbf{Using the fonts without using the package:} If you wish to use these fonts without making one of the them the \verb|\ttdefault|, you may call them directly from the {\tt fd}:
+\begin{verbatim}
+{\fontfamily{newtxtt}\selectfont ...} % or newtxttz
+\end{verbatim}
+or, for finer control of the \textsc{nfss} parameters,
+\begin{verbatim}
+{\usefont{T1}{newtxtt}{b}{n} ...} % or {newtxttz}{m}{sc}, etc
+\end{verbatim}
+For further control, you may add in your preamble lines like the following to select the zero style (five choices, a to e) and the shape of quotes:
+\begin{verbatim}
+\makeatletter
+\edef\newtxtt at fig{c} % one of a--e to determine the zerostyle, defaults to a
+\newif\iftxtt at upq\txtt at upqtrue % same effect as option straightquotes 
+% remove the \txtt at upqtrue for not straightquotes, the default
+\makeatother
+
+\end{verbatim}
+
 \end{document}  
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd	2020-02-16 18:07:55 UTC (rev 53808)
+++ trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd	2020-02-16 22:06:12 UTC (rev 53809)
@@ -1,5 +1,5 @@
 \ProvidesFile{t1newtxtt.fd}
-    [2014/12/23  Font definitions for T1/newtxtt.]
+    [2020/02/15  Font definitions for T1/newtxtt.]
 
 \expandafter\ifx\csname newtxtt at scale\endcsname\relax
     \let\newtxtt@@scale\@empty
@@ -14,8 +14,11 @@
 \fi
 
 \let\newtxtt@@upq\@empty
-\expandafter\ifx\csname txtt at upqfalse\endcsname\relax    
-\else   
+\expandafter\ifx\csname txtt at upqfalse\endcsname\relax
+\csname iftrue\endcsname 
+% fix proposed by Jean Francois Burnol to prevent "extra \fi"
+% error when using newtxtt directly from fd.
+\else
     \iftxtt at upq\def\newtxtt@@upq{q}\fi
 \fi
 

Modified: trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd	2020-02-16 18:07:55 UTC (rev 53808)
+++ trunk/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd	2020-02-16 22:06:12 UTC (rev 53809)
@@ -1,5 +1,5 @@
 \ProvidesFile{t1newtxttz.fd}
-    [2014/05/30  Font definitions for T1/newtxttz.]
+    [2020/02/15  Font definitions for T1/newtxttz.]
 
 \expandafter\ifx\csname newtxtt at scale\endcsname\relax
     \let\newtxtt@@scale\@empty
@@ -14,8 +14,11 @@
 \fi
 
 \let\newtxtt@@upq\@empty
-\expandafter\ifx\csname txtt at upqfalse\endcsname\relax    
-\else   
+\expandafter\ifx\csname txtt at upqfalse\endcsname\relax
+\csname iftrue\endcsname
+% fix proposed by Jean Francois Burnol to prevent "extra \fi"
+% error when using newtxtt directly from fd.
+\else
     \iftxtt at upq\def\newtxtt@@upq{q}\fi
 \fi
 
@@ -68,3 +71,4 @@
 %}{}
 
 \endinput
+



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