Copy link to clipboard
Copied
Hi all,
at least within text paragraphs we would prefer 'clean' XML without carriage returns. Can Framemaker be configured to avoid these control character?
Below is an example of a DITA file produced by Framemaker. Evidently this is related to the Pretty Printing feature and I do admit that it increases the readability. However they cause some issues for us. Note that the carriage returns in the paragraph are at arbitrary positions, not at the end of the lines as they appear in the Framemaker editor (I inserted the word "End" at the end of the first line).
Robert

Copy link to clipboard
Copied
By default, FrameMaker adds a CR at around 70-80 characters unless instructed to do otherwise.
Also, soft returns (SHIFT+ENTER) are lost unless you're in a pre formatted element like a <codeblock> (which is probably why there's no CR after your "End" text.
If you want to limit the seemingly arbitrary CRs, you must tell FM where to put them. Add the following rule to the structure application rules file ..
element "p"
{
writer line break is 99999 characters;
}
…scott
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more