bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EC font support missing for @code


From: Werner LEMBERG
Subject: EC font support missing for @code
Date: Mon, 13 Aug 2012 18:05:42 +0200 (CEST)

[texinfo.tex 2012-07-29.17]

Just try

  @code{þ} þ

to see what I mean.  Below a possible fix.


    Werner


======================================================================


--- texinfo.tex.old     2012-08-11 07:53:10.000000000 +0200
+++ texinfo.tex 2012-08-13 18:04:20.000000000 +0200
@@ -3146,12 +3146,17 @@
   % hopefully nobody will notice/care.
   \edef\ecsize{\csname\curfontsize ecsize\endcsname}%
   \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
-  \ifx\curfontstyle\bfstylename
-    % bold:
-    \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
+  \ifmonospace
+    % typewriter:
+    \font\thisecfont = ectt\ecsize \space at \nominalsize
   \else
-    % regular:
-    \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
+    \ifx\curfontstyle\bfstylename
+      % bold:
+      \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
+    \else
+      % regular:
+      \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
+    \fi
   \fi
   \thisecfont
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]