Debian Codegraph @

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

raw
1 % xifthen.4ht (2021-12-25-13:54), generated from tex4ht-4ht.tex
2 % Copyright 2021 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 2021-12-25-13:54}
20
21 \def \TE@repl #1#2{%
22 \long \def \@tempc ##1#1##2{%
23 \def \@tempb{\@tempc}%
24 \sv:begingroup % Thanks MPG
25 \toks@ {##2}%
26 \edef \@tempa {\the \toks@}% <- UF v1.3
27 \expandafter \endgroup
28 \ifx \@tempa \@tempb
29 \toks@ \expandafter {\the \toks@ ##1}%
30 \expandafter \@gobble
31 \else
32 \toks@ \expandafter {\the \toks@ ##1#2}%
33 \expandafter \@tempc
34 \fi
35 ##2%
36 }%
37 \toks@ \expandafter {\expandafter}%
38 \expandafter \@tempc \the \toks@ #1\@tempc
39 }
40
41 \Hinput{xifthen}
42 \endinput
43