summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-28 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2023-10-28 03:01:16 +0000
commit27f547140ee908fb4ce9e4b8297af7d5bf8d7ff9 (patch)
treee369cbac6d7ab890e1139cd73f5034e45af74b8b /support/TeX4ht
parente7c703c953f148411c70d5ca86dc1c1023d73806 (diff)
CTAN sync 202310280301
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-docbook.tex22
2 files changed, 27 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 9ac2a7d02d..6c152f54e5 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-27 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-4ht.tex (tabularray.4ht),
diff --git a/support/TeX4ht/source/tex4ht-docbook.tex b/support/TeX4ht/source/tex4ht-docbook.tex
index b6ac89f11d..a65ce6153c 100644
--- a/support/TeX4ht/source/tex4ht-docbook.tex
+++ b/support/TeX4ht/source/tex4ht-docbook.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-docbook.tex 1362 2023-08-27 15:01:41Z karl $
+% $Id: tex4ht-docbook.tex 1399 2023-10-27 10:48:56Z michal_h21 $
% compile 3 times: latex tex4ht-docbook
% or xhlatex tex4ht-docbook "html,3,sections+"
%
@@ -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@+&\#x#2;}%
+\else \expandafter \ifx\csname U#2#1\endcsname\relax
+ \ht:special{t4ht@+&{35}x#2;}%
+\else
+ \ht:special{t4ht@+&{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