Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

14 Producing DITA XML > 14.4 Configuring DITA elements > 14.4.8 Including processing instructions for line or page breaks


14.4.8 Including processing instructions for line or page breaks

To force a line break or a page break when non-preformatted text in DITA is rendered, you can use a Code marker or a macro to insert one (or more) of the following processing instructions in FrameMaker at the desired break point: 

[spacer]

<?linebreak?>

Universal line break; for example, transformed to <br> in HTML.

<?linebreak html?>

Line break only when transform is to HTML.

<?linebreak pdf?>

Line break only when transform is to PDF.

<?pagebreak?>

Universal page break; ignored in some transforms, such as to HTML.

For example, to force an HTML-only line break at a point where you have a forced return (Shift+Enter) in FrameMaker, immediately after the forced return insert a Code marker with the following content:

<?linebreak html?>

To include a processing instruction for every forced return in a given paragraph format, you can define a macro to find the forced returns and insert the processing instructions; see §27.5 Using expressions in macros.



14 Producing DITA XML > 14.4 Configuring DITA elements > 14.4.8 Including processing instructions for line or page breaks