t2h TEXI to HTML Converter
by Peter Verhas
Table of Contents
[Contents]
1. Introduction
t2h.pl is a TEXI to HTML converter written in Perl. There are other such converters as well, that differ in some features. There is no obligation to use this one, you can use the one that fits you best.
[Contents]
2. How to Use
To start the TEXI to HTML converter you should type:
perl t2h.pl mytexifile.texi
The converter will generate several files:
- `mytexifile.rtf' containing the text formatted as Rich Text Format
- `mytexifile.hhc' and `mytexifile.hhp' containg Microsoft help compiler project and content file.
- `*.thtml' files containing chapters referred by the `.hhp' and `.hhc' files to be compiled to `.chm' file using the Microsoft help file compiler `hhc.exe'.
- `mytexifile.html' containing the document in a huge single HTML file.
- Other `.html' files containing the document in several HTML files linked together. The root file is named `mytexifile_toc.html'. The chapters are named `mytexifile_x_y_z...html' with the chapter names.
[Contents]
3. Implementex TEXI commands
The converter implements only a subset of the available TEXI commands. Other commands are copied into the output files verbatim.
The commands are:
file,
code,
var,
command,
acronym,
b,
strong,
emph,
option,
itemize,
item,
example,
xref,
uref,
email
[Contents]
4. t2h.pl Source file
t2h.txt
[Contents]
5. Other files