texlive[73029] Master/texmf-dist: \textcommabelow, tex4ht r1607,
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 3 23:33:30 CET 2024
Revision: 73029
https://tug.org/svn/texlive?view=revision&revision=73029
Author: karl
Date: 2024-12-03 23:33:30 +0100 (Tue, 03 Dec 2024)
Log Message:
-----------
\textcommabelow, tex4ht r1607, \DeclareTextSymbol, tex4ht r1608
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1607
https://tug.org/svn/texlive?view=revision&revision=1608
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-12-03 22:00:19 UTC (rev 73028)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-12-03 22:33:30 UTC (rev 73029)
@@ -1,3 +1,12 @@
+2024-12-03 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): fixed picture support for characters
+ defined using \DeclareTextSymbol.
+
+ * 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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-12-03 22:00:19 UTC (rev 73028)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-12-03 22:33:30 UTC (rev 73029)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1605 2024-11-28 14:57:28Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1608 2024-12-03 12:43:17Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -6873,7 +6873,7 @@
% load tuenc definitions for commands like \quotedblbase
\ifdefined\old:DeclareTextSymbol\else
\input binhex
- \def\DeclareTextSymbol#1#2#3{\gdef#1{\ht:special{t4ht at +&{35}x\hex{#3}{59}}\a:HChar}}
+ \def\DeclareTextSymbol#1#2#3{\gdef\:tempa{\ht:special{t4ht at +&{35}x\hex{#3}{59}}\a:HChar}\HLet#1\:tempa}
\input tuenc.def
% this command is defined by tuenc, but doesn't work out of the box with TeX4ht
\let\DeclareTextSymbol\old:DeclareTextSymbol
@@ -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
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2024-12-03 22:00:19 UTC (rev 73028)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2024-12-03 22:33:30 UTC (rev 73029)
@@ -1,4 +1,4 @@
-% latex.4ht (2024-10-13-14:26), generated from tex4ht-4ht.tex
+% latex.4ht (2024-11-28-13:39), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2024 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-10-13-14:26}
+\immediate\write-1{version 2024-11-28-13:39}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -2363,7 +2363,7 @@
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex at e@error}
\ifx \:temp\:tempa
- % latex209.4ht (2024-10-13-14:26), generated from tex4ht-4ht.tex
+ % latex209.4ht (2024-11-28-13:39), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2024 TeX Users Group
%
@@ -2382,7 +2382,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-10-13-14:26}
+\immediate\write-1{version 2024-11-28-13:39}
\let\:fnsymbol\@fnsymbol
\def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}}
More information about the tex-live-commits
mailing list.