(register)   username:   password:  

Community KB :: DITA / FrameMaker

A collection of tips and troubleshooting information. Feel free to register and add your own items.


FMN DITA .. refers to the DITA support that is provided by default in FM9 and FM8.

DITA-FMx .. is a plugin that provides extended DITA authoring support for FM9, FM8, FM7.2 and FM7.1. More info...

Submitted by: Scott Prentice (2008-01-19)
Last updated: 2008-06-19

TAGS:  Output, FM8 DITA, DITA-FMx 0.0, DITA-FMx 1.0, FM 7.1, FM 7.2, FM 8.0
SUMMARY:  Extra line break on "pre" elements in map to book builds
ISSUE:  When generating output through the DITA map to FM book command (DITA-FMx or FM8-DITA), your preformatted elements (codeblock, msgblock, etc.) may end up with a line break at the start of the element. This appears only in the FM chapter files that are created by the process, it does not happen in the DITA topic files that are opened in Frame.
SOLUTION:  It appears that the "preserve line breaks" read/write rule is the cause if this problem (in conjunction with a possible bug in the XSLT import process).

The following element rule seems solve this problem:

element "msgblock"
    writer line break is 99999 characters;
    reader line break is forced return;