[tex4ht-commits] [SCM] tex4ht updated: r1399 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Oct 27 12:48:57 CEST 2023
Author: michal_h21
Date: 2023-10-27 10:48:56 +0000 (Fri, 27 Oct 2023)
New Revision: 1399
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-docbook.tex
Log:
fixed support for accented characters in docbook
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-10-25 20:40:50 UTC (rev 1398)
+++ trunk/lit/ChangeLog 2023-10-27 10:48:56 UTC (rev 1399)
@@ -1,3 +1,9 @@
+2023-10-27 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-docbook.tex (docbook.4ht): fixed support for accented
+ characters.
+ https://github.com/michal-h21/make4ht/issues/138
+
2023-10-25 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (tabularray.4ht),
Modified: trunk/lit/tex4ht-docbook.tex
===================================================================
--- trunk/lit/tex4ht-docbook.tex 2023-10-25 20:40:50 UTC (rev 1398)
+++ trunk/lit/tex4ht-docbook.tex 2023-10-27 10:48:56 UTC (rev 1399)
@@ -123,6 +123,26 @@
>>>
+We reuse old accents code from unicode.4ht, because
+we got errors for accented characters without explicit
+configuration for accents.
+
+\<latex etc\><<<
+\Configure{accents}
+{\ifmmode \expandafter\mathord\fi
+{\leavevmode
+\if !#1!\ht:special{t4ht at +&\#x#2;}%
+\else \expandafter \ifx\csname U#2#1\endcsname\relax
+ \ht:special{t4ht at +&{35}x#2;}%
+\else
+ \ht:special{t4ht at +&{35}x\csname U#2#1\endcsname;}%
+\fi \fi x%
+\ht:special{t4ht@[}x\ht:special{t4ht@]}}}
+{\ifmmode \expandafter\mathord\fi
+{#3}}
+>>>
+
+
\<configure docbook-mml latex\><<<
\def\refLink#1#2#3\EndLink{%
\ifvmode
More information about the tex4ht-commits
mailing list.