summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd b/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
index 43fb99826e4..8016ed67ae4 100644
--- a/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
+++ b/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
@@ -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@scale\endcsname\relax
\let\newtxtt@@scale\@empty
@@ -14,8 +14,11 @@
\fi
\let\newtxtt@@upq\@empty
-\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
-\else
+\expandafter\ifx\csname txtt@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@upq\def\newtxtt@@upq{q}\fi
\fi