[tex4ht-commits] [SCM] tex4ht updated: r1616 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Dec 11 14:42:55 CET 2024
Author: michal_h21
Date: 2024-12-11 13:42:55 +0000 (Wed, 11 Dec 2024)
New Revision: 1616
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-unicode.tex
Log:
fixed umlauts in the T5 fontenc
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-12-08 22:14:41 UTC (rev 1615)
+++ trunk/lit/ChangeLog 2024-12-11 13:42:55 UTC (rev 1616)
@@ -1,3 +1,9 @@
+2024-12-11 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-unicode.tex (unicode.4ht): fixed suppport for umlauts and
+ other accents in the T5 font encoding.
+ https://www.reddit.com/r/LaTeX/comments/1h8pr8d/umlauts_working_when_generating_a_pdf_but_not_for/
+
2024-12-08 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (
Modified: trunk/lit/tex4ht-unicode.tex
===================================================================
--- trunk/lit/tex4ht-unicode.tex 2024-12-08 22:14:41 UTC (rev 1615)
+++ trunk/lit/tex4ht-unicode.tex 2024-12-11 13:42:55 UTC (rev 1616)
@@ -791,9 +791,31 @@
>>>
+This adds support for the T5 encoding. Most accents work out of the box,
+but carons, urings and umlauts don't. I use a macro, so in theory it could be reused
+for other encodings in a similar way as well.
+\<old unicode accents\><<<
+ %%%%
+\def\:tempa#1{%
+\Configure{accent}\ddot\ddot{|<diaeresis codes|>{}{34}}
+ {\a:accents{}{##1}} {\b:accents{uml}{##1}{##2}}
+\expand:after{\Configure{accent}}\csname #1\string\"\expandafter\endcsname
+ \csname #1\string\"\endcsname{|<diaeresis codes|>{}{34}}
+ {\a:accents{}{##1}} {\b:accents{uml}{##1}{##2}}
+\expand:after{\Configure{accent}}\csname #1\string\r\expandafter\endcsname
+ \csname #1\string\r\endcsname{|<ring codes|>{}{}}
+ {\a:accents{}{##1}} {\b:accents{uml}{##1}{##2}}
+\expand:after{\Configure{accent}}\csname #1\string\v\expandafter\endcsname
+ \csname #1\string\v\endcsname{|<caron codes|>{}{}}
+ {\a:accents{}{##1}} {\b:accents{check}{##1}{##2}}
+}
+\:tempa{T5}
+>>>
+
+
%%%%%%%%%%%%%%%%%%
\section{Odd Ends}
%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.