summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg')
-rw-r--r--Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg b/Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg
new file mode 100644
index 00000000000..4da18b3c746
--- /dev/null
+++ b/Master/texmf-dist/doc/texlive/texlive-fr/live4ht.cfg
@@ -0,0 +1,47 @@
+% tex4ht configuration file for the TeX Live documentation.
+% Accumulated over many years. Public domain.
+%
+% html specifies the main output format.
+% info for extra debugging info in the log files.
+
+% better approach is to have html in one piece (including footnotes).
+% charset=utf-8 fails for French, all accented letters get lost.
+\Preamble{html,info,fn-in}
+
+% add extra stylesheet
+\Configure{@HEAD}{\HCode{%
+<link rel="stylesheet" type="text/css" href="\jobname.css" />\Hnewline
+<link rel="stylesheet" type="text/css" href="tex-live.css" />\Hnewline
+}}
+
+% or LaTeX complains it is missing.
+\begin{document}
+
+\EndPreamble
+
+% simplify output for HTML. We leave TeX and LaTeX alone, since tex4ht
+% actually does the lowered E (and raised A) in CSS.
+\def\OMEGA{Omega}
+\def\LaTeXe{LaTeX2e}
+\def\eTeX{e-\TeX}
+\def\acro#1{#1}
+\def\MF{Metafont}
+\def\BibTeX{BibTeX}
+\def\warningbox{}
+\def\endwarningbox{}
+
+\newif\ifhackliterals
+\ifx\tldocenglish\undefined \else \hackliteralstrue \fi
+\ifx\tldocrussian\undefined \else \hackliteralstrue \fi
+\ifx\tldocgerman\undefined \else \hackliteralstrue \fi
+%
+\ifhackliterals
+ % these definitions cause "missing } inserted" at \end{tabularx} in
+ % French and Czech. don't know why.
+ %
+ % don't make these into links, as happens with \path. We only have a couple
+ % special characters that actually occur.
+ \def\dirname{\texttt\bgroup\catcode`\$=12 \catcode`\_=12 \finishliteral}
+ \def\finishliteral#1{#1\egroup}
+ \let\filename=\dirname
+\fi