[tex4ht-commits] [SCM] tex4ht updated: r1607 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue Dec 3 13:37:41 CET 2024
Author: michal_h21
Date: 2024-12-03 12:37:41 +0000 (Tue, 03 Dec 2024)
New Revision: 1607
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed support for \textcommabelow
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-12-01 20:54:15 UTC (rev 1606)
+++ trunk/lit/ChangeLog 2024-12-03 12:37:41 UTC (rev 1607)
@@ -1,3 +1,9 @@
+2024-12-03 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): fixed support for composed characters
+ defined using \textcommabelow.
+ https://github.com/michal-h21/make4ht/issues/157
+
2024-12-01 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): don't add extra paragraphs with the
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-12-01 20:54:15 UTC (rev 1606)
+++ trunk/lit/tex4ht-4ht.tex 2024-12-03 12:37:41 UTC (rev 1607)
@@ -6889,6 +6889,33 @@
>>>
+This is a configuration for characters that use the \''\textcommabelow' command.
+Only few of these are defined by LaTeX. The original code uses \''\oalign' to stack
+comma under the character, which results in images with TeX4ht.
+
+This code will use the original code for characters without declared mapping to Unicode,
+and also inside of pictures.
+
+\<latex ltoutenc\><<<
+\def\:tempa#1{%
+\ifcsname textcommabelow-#1\endcsname%
+\protect\leavevmode\ht:special{t4ht at +\string&{35}x\csname textcommabelow-#1\endcsname{59}}x%
+\else%
+\o:textcommabelow:{#1}%
+\fi%
+}
+\HLet\textcommabelow\:tempa
+
+\NewConfigure{textcommabelow}[2]{%
+ \expandafter\def\csname textcommabelow-#1\endcsname{#2}%
+}
+\Configure{textcommabelow}{S}{0218}
+\Configure{textcommabelow}{s}{0219}
+\Configure{textcommabelow}{T}{021A}
+\Configure{textcommabelow}{t}{021B}
+>>>
+
+
\<tuenc-xetex.4ht\><<<
% tuenc-xetex.4ht, generated from |jobname.tex
% Copyright 2018 TeX Users Group
More information about the tex4ht-commits
mailing list.