For these reasons, program segmentation was developed.
This feature enables the author to subdivide his document
into multiple segments.
Each segment can be processed independently by LATEX2HTML.
Hypertext links between segments can be made symbolically,
with references shared through auxiliary files.
If a single segment changes, only that segment needs to be reprocessed
(unless a label is changed that another segment requires).
Furthermore, the entire document can be processed
without modification by LATEX to obtain the printed version.
The top level segment that LATEX reads is called the parent segment.
The others are called child segments.
Document segmentation does require a little more work on the
part of the author, who will now have to undertake some
of the book-keeping formerly performed by LATEX2HTML.
The following four LATEX extensions carry out segmentation:
The use of the segmenting commands is best illustrated by the examplesec:segmentexample below. You might want to check your segmented document for consistency using the -unsegmentunsegment command line option.