Package edu.northwestern.at.morphadorner.tools.addpseudopages

Adds pseudopage milestones to an adorned file.

See: Description

Package edu.northwestern.at.morphadorner.tools.addpseudopages Description

Adds pseudopage milestones to an adorned file.

Usage:

java edu.northwestern.at.morphadorner.tools.addpseudopages.AddPseudoPages input.xml output.xml pseudopagesize pageendingdivtypes
input.xmlInput MorphAdorned XML file.
output.xml Derived adorned file with pseudopage milestones added. N.B. Existing pseudopage milestones are deleted before the new ones are added.
pseudopagesize The maximum number of words in each pseudopage. Default: 300 .
pageendingdivtypes Blank separated list of <div> types which force the closure of a pseudopage. Default: chapter volume sermon

The derived adorned output file output.xml has pseudopage milestone elements added approximately every pseudopagesize words. No distinction is made between main and paratext when generating the pseudopages. Each pseudopage starts with a milestone of the form:

<milestone unit="pseudopage" n="n" position="start"></milestone>

and ends with a milestone element of the form:

<milestone unit="pseudopage" n="n" position="end"></milestone>

The n is the pseudopage number.