##### 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:

1. Invent two new paragraph formats; for example, ExStart and ExEnd.
2. Insert an element with outputclass=ExStart just before material to be extracted.
3. Insert an element with outputclass=ExEnd just after material to be extracted.
4. Make the ExStart and ExEnd paragraphs conditional for on-line use, so they do not appear in your regular print files.
5. 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