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

2008-07-18 Thread Combs, Richard
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
--





___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


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

2008-07-18 Thread Scott Prentice
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
 --






   
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


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

2008-07-18 Thread Combs, Richard
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
--







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

2008-07-18 Thread Scott Prentice
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
> --
>
>
>
>
>
>
>