summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-04-19 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2024-04-19 03:00:56 +0000
commit059925fc0cab13a83a74089aeee51f4b09bbd914 (patch)
tree4130d56b2ad50f7cdf9dc3ef256f7848218087de /support/TeX4ht/source/tex4ht-4ht.tex
parent01aeff9f14b706b8b64c4f782f2253e431e89e49 (diff)
CTAN sync 202404190300
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex55
1 files changed, 54 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 1de9704646..e615b9603e 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1499 2024-04-07 14:55:22Z karl $
+% $Id: tex4ht-4ht.tex 1502 2024-04-18 12:55:56Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -27548,6 +27548,59 @@ xypic assum catcodes of 7 and 8 for sup and sub.
>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{xyling.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{xyling.sty}{xyling-hooks.4ht}
+>>>
+
+
+\<xyling-hooks.4ht\><<<
+% xyling-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+|<Xyling save Link|>
+\:AtEndOfPackage{%
+|<Xyling restore Link|>
+}
+\endinput
+>>> \AddFile{9}{xyling-hooks}
+
+Xyling defines its own version of the \Verb+\Link+ command,
+which breaks lot of things in TeX4ht. We must suppress this
+version and use it only inside Xyling diagrams.
+
+\<Xyling save Link\><<<
+\let\orix:xylingLink\Link
+\let\Link\relax
+>>>
+
+\<Xyling restore Link\><<<
+ \let\xyling:Link\Link
+ \let\Link\orig:xylingLink
+>>>
+
+\<xyling.4ht\><<<
+% xyling.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+|<patch Xyling Tree|>
+\Hinput{xyling}
+\endinput
+>>> \AddFile{9}{xyling}
+
+Restore the Link command inside Xyling graph drawing commands
+
+\<patch Xyling Tree\><<<
+\newcommand\xyling:Tree[2][0]{\bgroup\let\Link\xyling:Link\o:Tree:[#1]{#2}\egroup}
+\newcommand\xyling:Treek[3][0]{\bgroup\let\Link\xyling:Link\o:Treek:[#1]{#2}{#3}\egroup}
+\HLet\Tree\xyling:Tree
+\HLet\Treek\xyling:Treek
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{PicTeX}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%