diff options
author | Karl Berry <karl@freefriends.org> | 2024-12-03 22:33:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-12-03 22:33:30 +0000 |
commit | 244b34ac9ab39c8b16aaa1d7831068932e5aacba (patch) | |
tree | d03e6c4932ddeedf7962141b06a3eb564ca5eab3 /Master/texmf-dist | |
parent | b617ddefcc66bcfdf45cb192f02181fdc81ba5f0 (diff) |
\textcommabelow, tex4ht r1607, \DeclareTextSymbol, tex4ht r1608
git-svn-id: svn://tug.org/texlive/trunk@73029 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 9 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 31 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 8 |
3 files changed, 42 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 754602cf45c..4a4d6d1c043 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,12 @@ +2024-12-03 Michal Hoftich <michal.h21@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@gmail.com> * tex4ht-html4.tex (html4.4ht): don't add extra paragraphs with the diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 6abad350432..ef811fe2dbf 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -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 @@ used for Fontspec support. % load tuenc definitions for commands like \quotedblbase \ifdefined\old:DeclareTextSymbol\else \input binhex - \def\DeclareTextSymbol#1#2#3{\gdef#1{\ht:special{t4ht@+&{35}x\hex{#3}{59}}\a:HChar}} + \def\DeclareTextSymbol#1#2#3{\gdef\:tempa{\ht:special{t4ht@+&{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 @@ used for Fontspec support. >>> +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@+\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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index 703b814cc61..1e7dc2b0b0a 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht @@ -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 @@ $\vcenter \expandafter\:temp\usepackage!*?: \def\:tempa{\@latex@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 @@ $\vcenter % % 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}$}}} |