-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.cfg
35 lines (29 loc) · 912 Bytes
/
index.cfg
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
\Preamble{html}
\begin{document}
\makeatletter
\Configure{TITLE+}{\@title}
\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css"
href="cltl2ed.css">}}
\makeatother
\ifx \HCode\Undef
\newcommand{\logo}[1]{\includegraphics{#1}}
\else
\newcommand{\logo}[1]{\includegraphics{#1.png}}
\fi
% \Configure{DOCTYPE}.........1
% \Configure{HTML}............2
% \Configure{HEAD}............2
% \Configure{@HEAD}...........1
% \Configure{BODY}............2
% \Configure{TITLE+}..........1
% \Configure{TITLE}...........2
% \Configure{@TITLE}..........1
% \Configure{Preamble}........2
% disable virtual hypertext fonts, like <span class="font-name">...
\Configure{htf}{0}{+}{}{}{}{}{}{}{}
% customize tag generating for some tex commands
\Configure{emph}{\Tg<i>}{\Tg</i>}
\Configure{textbf}{\Tg<b>}{\Tg</b>}
\Configure{textit}{\Tg<i>}{\Tg</i>}
\Configure{texttt}{\Tg<tt>}{\Tg</tt>}
\EndPreamble