---
name: "tthsplit"
section: "1"
platform: "linux"
package: "tth-common"
version: "4.16+ds-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tthsplit"
---

# tthsplit(1)

TtH gold HTML file splitting utilities

## NAME

tthsplit - TtH gold HTML file splitting utilities

## SYNOPSIS

**tthprep** *filename*.tex\
 **tthsplit** \<*filename*{.html,.xml}\
 **ttmsplit** \<*filename*{.html,.xml}\
 **tthrfcat**

## DESCRIPTION

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.

## EXAMPLE

	$ 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.

## SEE ALSO

[**tth**(1)](/tth/1.md), [**ttm**(1)](/ttm/1.md).\
 The programs are documented fully in\
  */usr/share/doc/tth-common/html/gold\_man.html*.

## AUTHOR

TtHgold was written by Ian Hutchinson \<tth@hutchinson.belmont.ma.us\>.

This manual page was written by Ian Maclaine-cross \<iml@debian.org\>, for the Debian project (and may be used by others).
