Debian Codegraph @

texmf-dist/doc/texlive/texlive-en/live4ht.cfg

raw
1 % $Id: live4ht.cfg 61734 2022-01-25 17:27:53Z karl $
2 % tex4ht configuration file for the TeX Live documentation.
3 % Accumulated over many years. Public domain.
4 %
5 % We specify tex4ht options on the htlatex command line; see ./Makefile.
6 % \Preamble still needs to be invoked, though.
7 \Preamble{}
8
9 % add extra stylesheet
10 \Configure{@HEAD}{\HCode{%
11 <link rel="stylesheet" type="text/css" href="\jobname.css" >\Hnewline
12 <link rel="stylesheet" type="text/css" href="tex-live.css" >\Hnewline
13 }}
14
15 % or LaTeX complains it is missing.
16 \begin{document}
17
18 \EndPreamble
19
20 % simplify output for HTML. We leave TeX and LaTeX alone, since tex4ht
21 % actually does the lowered E (and raised A) in CSS.
22 \def\OMEGA{Omega}
23 \def\LaTeXe{LaTeX2e}
24 \def\eTeX{e-\TeX}
25 \def\acro#1{#1}
26 \def\MF{Metafont}
27 \def\BibTeX{BibTeX}
28 \def\warningbox{}
29 \def\endwarningbox{}
30
31 \newif\ifhackliterals
32 \ifx\tldocenglish\undefined \else \hackliteralstrue \fi
33 \ifx\tldocrussian\undefined \else \hackliteralstrue \fi
34 \ifx\tldocgerman\undefined \else \hackliteralstrue \fi
35 %
36 \ifhackliterals
37 % these definitions cause "missing } inserted" at \end{tabularx} in
38 % French and Czech. don't know why.
39 %
40 % don't make these into links, as happens with \path. We only have a few
41 % special characters that actually occur.
42 \def\dirname{\texttt\bgroup\catcode`\$=12 \catcode`\_=12 \catcode`\~=12
43 \finishliteral}
44 \def\finishliteral#1{#1\egroup}
45 \let\filename=\dirname
46 \fi