[framemaker-dita] Question about codeblock (DITA, structuredframe)

Scott Prentice sp at leximation.com
Fri Jul 18 13:15:51 PDT 2008


Well .. typically if you've pasted in some code from a text file, you 
want the lines to be tight, so just one \r is all that's needed .. but 
if you do want more of a paragraph spacing, then two would be in order.

...scott


Combs, Richard wrote:
> Scott Prentice wrote:
>  
>   
>> As far as I know, only "forced returns" (aka "SHIFT+ENTER") can be
>> preserved .. all "normal" returns ("ENTER") must be converted to
>>     
> forced
>   
>> returns to round trip. I assume you're wanting this for code samples
>> that are pasted in to a codeblock? The next version of DITA-FMx will
>> provide a command that allows this to happen in a friendly manner so
>>     
> you
>   
>> don't have to manually replace all returns with forced returns.
>>
>> You can do a search/replace to clean this up (if you're careful) ..
>>
>> 1) Select the codeblock
>> 2) Ctrl+F
>> 3) Enter \p as the text to find
>> 4) Enter \r as the text to replace
>> 5) Select "look in" Selection
>> 6) Change All
>>     
>
> Shouldn't step (4) be "Enter \r\r as the text to replace"?
>
> Richard
>
>
> Richard G. Combs
> Senior Technical Writer
> Polycom, Inc.
> richardDOTcombs AT polycomDOTcom
> 303-223-5111
> ------
> rgcombs AT gmailDOTcom
> 303-777-0436
> ------
>
>
>
>
>
>
>   



More information about the framers mailing list