HACHA(1)

NAME
hacha - split Hevea-generated HTML files

SYNOPSIS
hacha [OPTION...] HTML-FILE

DESCRIPTION
Split the Hevea-generated HTML-FILE at logical boundaries – chapters for styles report and book or sections for style article – into separate HTML files while keeping all cross-references intact and propagating headers, footers, footnotes, etc. into the sub-files. Add local table-of-contents if requested with options -tocbis or -tocter.

The root-output file is index.html unless superseded by option -o. The dependent HTML filenames are constructed from the input FILENAME.html like FILENAME###.html, where ### is a three-digit decimal number. Hacha writes the style file FILENAME.css, which is valid for all generated HTML pages.

OPTIONS

-help
    Display a list of all options and exit.

-hrf
    Write a log file called FILENAME.hrf that shows the association of local anchors to files with one association per line. Each line has the format:

    ANCHOR \t OUTPUT-FILENAME

-no-svg-arrows
    Use GIF arrows for the previous/up/next links in generated pages. The default is to use SVG arrows.

-nolinks
    Suppress the previous/up/next links in generated pages.

-o FILENAME
    Redirect Hacha output into FILENAME. Without this option Hacha defaults to index.html. If FILENAME is a path, this is, expands to DIRECTORY/FILENAME, all output goes into DIRECTORY and the root-output file will be called FILENAME.

-rsz SIZE
    Adjust the SIZE of leaves in rope implementation. The default rarely needs changing.

-tocbis
    Duplicate the table of contents at the beginning of each output file.

-tocter
    Same as -tocbis but with terser main table-of-contents. Here the sub-tables will not appear in the main table.

-v  Report progress.

-version
    Show Hacha version and library directory.

NOTES
Hacha is designed for HTML files that are generated by Hevea not for general HTML files.

The output can be controlled in the LaTeX source document with several Hevea macros like, for example, \cuttingunit. See the “Tutorial” part of the Hevea documentation for an in-depth explanation.

SEE ALSO
esponja(1), hevea(1).