Maybe OT: Frame > XML > InDesign

Lynne A. Price lprice at txstruct.com
Fri Apr 21 07:08:22 PDT 2006


At 05:35 AM 4/21/2006, Yves Barbion wrote:
>Hello Framers, I'm trying to convert some FrameMaker files to InDesign via 
>XML. Pretty good results so far, except that I get a carriage return at 
>the end of each line when I place the XML in InDesign. Is it Frame or 
>InDesign that's inserting these carriage returns and, more importantly, 
>how can I avoid this?

Yves,
   I can't tell you anything about how InDesign treats line breaks. You ca 
always remove the line breaks with XSLT.
   If your FM files are structured, you can control the line breaking 
behavior with r/w rules. Without a preserve line break rule, FM treats line 
breaks within text like spaces. When you save a structured document to XML, 
FM attempts to keep lines shorter than 80 characters. You can change the 
length with the rule:

    writer line break is n characters;

   If you specify a large enough value of n, this rule can effectively 
prevent line breaks within a text range.

         --Lynne




Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, 
and training
lprice at txstruct.com            http://www.txstruct.com
voice/fax: (510) 583-1505      cell phone: (510) 421-2284 





More information about the framers mailing list