summaryrefslogtreecommitdiff
path: root/Build/source/texk/windvi/doc/windvi.cfg
blob: 02da5ac00a40144501a0e5f48fa718d372ca7948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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