27.4.2.2 Creating
special paragraph formats to delimit extracts
You can create special paragraph formats
to mark the boundaries of extracts, as follows:
- Invent
two new paragraph formats; for example, ExStart
and ExEnd.
- Insert
an element with outputclass=ExStart
just before material to be extracted.
- Insert
an element with outputclass=ExEnd
just after material to be extracted.
- Make
the ExStart
and ExEnd
paragraphs conditional for on-line use, so they do not appear in your
regular print files.
- Assign
the following properties to these special paragraph formats:
[HTMLParaStyles]
ExStart=ExtrStart Delete
ExEnd=ExtrEnd Delete
The
Delete property
excludes the ExStart
and ExEnd
paragraphs from text in the HTML file. In effect, these special paragraphs
serve only as directives to DITA2Go. If you omit the ExEnd
paragraph, the extract ends at the next split point, or at the end of
the file.
Note: For these
settings to take effect, you must enable extracts; see §27.4.1
Enabling and disabling extract processing.
Previous Topic:
27.4.2.1 Using
existing paragraph formats to delimit extracts
Next Topic:
27.4.2.3 Using
markers to delimit extracts
Parent Topic:
27.4.2 Delimiting
material to extract
Sibling Topics:
27.4.2.1 Using
existing paragraph formats to delimit extracts
27.4.2.3 Using
markers to delimit extracts
Table of Contents • Index