tthprep1
Tth gold html file splitting utilities
Part of tthsplit(1).
Usage
tthprep filename.tex
tthsplit <filename
.html,.xml
ttmsplit <filename
.html,.xml
tthrfcat
Overview
The script tthprep runs LaTeX to generate the auxiliary files that tth or ttm need to properly link respectively an HTML or XML web document.
The programs tth or ttm for converting TeX or LaTeX documents to HTML or XML respectively have a -s option which cause them to generate a single output file split into sections or chapters with fixed names. The program tthsplit splits the single file into files with fixed names depending on the LaTeX source. Each document should have its own directory to avoid overwriting each others files.
Program ttmsplit is just a symlink to tthsplit.
For complex documents with multiple bibliographies the tth and ttm programs generate references to a single file refs.html or refs.xml respectively. The tthrfcat program concatenates multiple bibliography files into such a single file and then deletes the multiple files.
Examples
$ tthprep sample2e.tex
$ tth -s sample2e.tex
$ tthsplit <sample2e.html
index.html
sec1.html
sec2.html
footnote.html
$
produces the four cross linked HTML files listed from a copy of the example file sample2e.tex distributed with LaTeX 2e and present on Debian systems with LaTeX installed.
History
- Debian 13 (Trixie) to Debian 8 (Jessie): the text shown here
- Debian 7 (Wheezy)