Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

18 Splitting and extracting files > 18.3 Extracting files > 18.3.2 Delimiting material to extract > 18.3.2.2 Creating special paragraph formats to delimit extracts


18.3.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. Put an ExStart paragraph just before material to be extracted.

4. Insert an element with outputclass=ExEnd just after material to be extracted.

5. Put an ExEnd paragraph just after material to be extracted.

6. Make the ExStart and ExEnd paragraphs conditional for on-line use, so they do not appear in your regular print files.

7. 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 Mif2Go. 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 §18.3.1 Enabling and disabling extract processing.



18 Splitting and extracting files > 18.3 Extracting files > 18.3.2 Delimiting material to extract > 18.3.2.2 Creating special paragraph formats to delimit extracts