[tex4ht-commits] [SCM] tex4ht updated: r1192 - trunk/doc/mn

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Sep 13 11:58:21 CEST 2022


Author: michal_h21
Date: 2022-09-13 09:58:20 +0000 (Tue, 13 Sep 2022)
New Revision: 1192

Modified:
   trunk/doc/mn/ChangeLog
   trunk/doc/mn/TeX4ht-doc.tex
Log:
fixed straight quote character in htf file code listings

Modified: trunk/doc/mn/ChangeLog
===================================================================
--- trunk/doc/mn/ChangeLog	2022-08-29 21:24:12 UTC (rev 1191)
+++ trunk/doc/mn/ChangeLog	2022-09-13 09:58:20 UTC (rev 1192)
@@ -1,3 +1,9 @@
+2022-09-13  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* TeX4ht-doc.tex (mn-htf.html): fixed quote characters in the HTF code
+	listings.
+	https://tex.stackexchange.com/q/657011/2891
+
 2021-05-14  Karl Berry  <karl at freefriends.org>
 
 	* TeX4ht-doc.tex: replace reference to specific converter

Modified: trunk/doc/mn/TeX4ht-doc.tex
===================================================================
--- trunk/doc/mn/TeX4ht-doc.tex	2022-08-29 21:24:12 UTC (rev 1191)
+++ trunk/doc/mn/TeX4ht-doc.tex	2022-09-13 09:58:20 UTC (rev 1192)
@@ -6400,20 +6400,31 @@
         Each of these intermediate lines provides a representation for
         a corresponding character code.    
 
-        \Example
-\Verbatim
-            ectt 0 255
-            '&#x0060;'    ''        0
-            '&#x00B4;'    ''        1
-            '&#x02C6;'    ''        2
-            '~'           ''        3
-            ..................
-            'i'          '1'       25 dotless i
-            ..................
-            ''           ''        255
-            ectt 0 255
-\EndVerbatim  
+        \Example%
+% We don't use \Verbatim for this code listings, because we want to keep 
+% the ' character as upquote
 
+ 
+ {\tt%
+ \catcode`'=\active%
+ \catcode` =\active%
+ \catcode`&=12%
+ \catcode`#=12%
+ \def {~}%
+ \obeylines%
+ \def'{\char13}%
+  ectt 0 255
+    '&#x0060;'    ''        0
+    '&#x00B4;'    ''        1
+    '&#x02C6;'    ''        2
+    '~'           ''        3
+    ..................
+    'i'          '1'       25 dotless i
+    ..................
+    ''           ''        255
+    ectt 0 255
+}%
+% \EndVerbatim  
 \EndExample
 
 \item Each intermediate line consists of three fields



More information about the tex4ht-commits mailing list.