Debian Codegraph @

texmf-dist/tex/generic/tex4ht/contour.4ht

raw
1 % contour.4ht (2025-10-27-13:26), generated from tex4ht-4ht.tex
2 % Copyright 2025 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2025-10-27-13:26}
20
21
22 \NewConfigure{contour}{2}
23 \def\:contourcolor{\#fff}
24 \newcommand*\:@contour[3][\con@default@copies]{%
25 \bgroup%
26 % save the contour color into \:contourcolor, it can be then used in configurations
27 \Configure{color}{\Configure{SetHColor}{\xdef\:contourcolor{\HColor}}}%
28 \color{#2}%
29 \a:contour #3\b:contour%
30 \egroup%
31 }
32 \HLet\@contour\:@contour
33
34
35 \Hinput{contour}
36 \endinput
37