Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 21 Mapping text formats to HTML/XML > 21.10 Configuring preformatted text for HTML/XML > 21.10.1 Eliminating line wraps in preformatted text
For preformatted text in HTML and XML, by default Mif2Go retains line breaks exactly as they appear in your FrameMaker document. This applies to all of the following:
To omit only FrameMaker line wraps (typesetting
“soft returns”) and show wrapped lines full length in HTML
or XHTML <pre>
elements and XML preformatted
elements:
; IgnoreWrap = No (default, \n where wrap occurs) or Yes
When IgnoreWrap=Yes
,
line wraps introduced by FrameMaker are ignored for any pre
element; see §21.3.1 Assigning HTML tags and attributes to paragraph formats.
When IgnoreWrap=No
,
line wraps introduced by FrameMaker in paragraphs mapped to pre
elements become line breaks in HTML output.
To omit all line
breaks from text mapped to pre
elements;
; UnwrapPRE = No (default) or Yes (ignore line breaks in PRE)
When UnwrapPRE=Yes
,
Mif2Go ignores all line breaks in text mapped to preformatted
elements: those caused by FrameMaker line wraps, those caused by FrameMaker
Shift+Enter forced returns (typesetting “hard returns”), and those caused by paragraph
breaks. UnwrapPRE
is effective only within
<pre>
elements in HTML and XHTML, and
within preformatted elements in XML.
To preserve leading spaces in preformatted text, also assign the following format property to the paragraph format:
§13.6.4 Suppressing line breaks in HTML and XML output
§14.4.5 Configuring forced returns for XML
§21.3.8 Deciding how to treat forced returns