-
Notifications
You must be signed in to change notification settings - Fork 5
/
helpers4ht-doc.tex
48 lines (38 loc) · 1.15 KB
/
helpers4ht-doc.tex
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
\documentclass{article}
\usepackage[english]{babel}
\usepackage{hyperref}
\ifdefined\HCode
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\else
\usepackage{fontspec}
\setmainfont{TeX Gyre Schola}
\fi
\usepackage{microtype}
\title{The \texttt{helpers4ht} bundle}
\author{Michal Hoftich\footnote{\url{[email protected]}}}
\date{Version 0.1\\12/11/2015}
\begin{document}
\maketitle
\tableofcontents
This is a bundle of packages providing support for tex4ht configuration. With
the exception of \texttt{alternative4ht}, you shouldn't use them in your
documents, but put them in a \texttt{.cfg} file instead.
A \texttt{cfg} file is \TeX\ file with special structure, which provides
configurations for \texttt{tex4ht} conversion. The basic structure is following:
\begin{verbatim}
...early definitions...
\Preamble{options}
...definitions...
\begin{document}
...insertions into the header of the html file...
\EndPreamble
\end{verbatim}
Options for \verb|\Preamble| commands are the same as for second parameter of
\texttt{htlatex} command, for example:
\begin{verbatim}
\Preamble{xhtml,2}
\end{verbatim}
\input{readme}
\input{changelog}
\end{document}