summaryrefslogtreecommitdiff
path: root/Build/source/texk/windvi/doc/windvi.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/windvi/doc/windvi.cfg')
-rw-r--r--Build/source/texk/windvi/doc/windvi.cfg67
1 files changed, 67 insertions, 0 deletions
diff --git a/Build/source/texk/windvi/doc/windvi.cfg b/Build/source/texk/windvi/doc/windvi.cfg
new file mode 100644
index 00000000000..02da5ac00a4
--- /dev/null
+++ b/Build/source/texk/windvi/doc/windvi.cfg
@@ -0,0 +1,67 @@
+\Preamble{2,xhtml} \begin{document} \EndPreamble
+\def\TeX{TeX}
+%\def\OMEGA{Omega}
+\def\LaTeX{LaTeX}
+\def\LaTeXe{LaTeX2e}
+\def\eTeX{e-\TeX}
+\def\acro#1{#1}
+\def\MF{\textsc{metafont}}
+
+\def\Ucom#1{%
+ \underline{{\ttfamily #1}}}
+\newenvironment{multicols}[1]{}{}
+
+\ConfigureEnv{multicols}
+ {\let\HpDepth=\HPageDepth}
+ {\ifnum \HPageDepth>\HpDepth \HAdvance\HpDepth by 1
+ \EndHPage[\HpDepth]{}\fi}
+ {}{}
+
+ % MSIE and NC explode on long underlines (and lines,
+ % and backgrounds), hence the color:
+
+ \Css{.alltt .underline{ text-decoration:none; color:green; }}
+
+ % NC has problems with positioning the characters of \TeX
+ % within the main title, hence:
+
+\Configure{maketitle}
+ {\IgnorePar\EndP\HCode{<div align="center" class="maketitle">}}
+ {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+ {\NoFonts\HCode{<h2>}\IgnorePar \def\TeX{TeX}}
+ {\HCode{</h2>}\EndNoFonts}
+
+ \def\warningbox{} %\IgnorePar\EndP\HCode{<hr /><p><b>}}
+ \def\endwarningbox{} %\HCode{</b></p><hr />}\ShowPar}
+
+ \ConfigureEnv{warningbox}
+ {\IgnorePar\EndP\Tg<div class="warning">\ShowPar}
+ {\IgnorePar\EndP\Tg</div>\ShowPar}
+ {} {}
+
+\ifx \HColor\UnDef \else
+ \HColor{pale}{\#CCCCCC}
+\fi
+\catcode`\:11
+\def\href{\bgroup \catcode`\#=12 \catcode`\~=12 \cont:href}
+\def\cont:href#1{\egroup \Link[#1]{}{}\end:href}
+\def\end:href#1{#1\EndLink}
+\def\url{\bgroup \catcode`\#=12 \catcode`\~=12 \cont:url}
+\def\cont:url#1{\egroup \Link[#1]{}{}#1\EndLink}
+\def\hypertarget#1#2{\Link{}{#1}#2\EndLink}
+
+
+
+ % MSIE and NC explode on bordered DIV, hence the TABLE:
+
+\def\lrBox{\IgnorePar\HCode{<div class="fbox"><table border="1"
+ class="fbox"><tr class="fbox"><td class="fbox"><p class="fbox">}}
+\def\endlrBox{\IgnorePar\EndP\HCode{</p></td></tr></table></div>}\global
+ \let\svcenterline=\centerline
+ \global\def\centerline##1{\global\let\centerline=\svcenterline}}
+ \Css{DIV.fbox{ margin-left:8\%; margin-right:8\%; }}
+\catcode`\:12
+
+\endinput
+
+