Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

How do I get multiple lines in ?

$
0
0

FM 11

 

I know that <codeblock> is designed to represent lines of program code and that line endings and spaces must be preserved. However, my line endings are not being preserved; turn into a new <codeblock> leaving me with line after line of <codeblock> elements like this:

<codeblock>Do forever.</codeblock>

<codeblock>Say "Hello World"</codeblock>

<codeblock>End</codeblock>

 

Rather than like this:

<codeblock>

     Do forever

          Say "Hello World"

     End

</codeblock>

 

These are my Text format rules in my EDD:

 

1.   If context is: * < stepresult < substep

         Use paragraph format: CodeBlock2

Else, if context is: li < * < choice

     Use paragraph format: CodeBlock3

Else, if context is: * < stepresult < step

    Use paragraph format: CodeBlock1

Else, if context is: * < stepxmp

    Use paragraph format: CodeBlock1

Else, if context is: * < step

     Use paragraph format: CodeBlock1

Else:

     Use paragraph format: Codeblock

2.     If context is: [expanse="page"]

               Pagination properties

                    Placement: Across all columns and side heads

 

CodeBlock is defined like this in the FM Paragraph Designer (with only the margins differing for CodeBlock1, CodeBlock2, etc.)

ParaDesigner1'.png

 

ParaDesigner2.png

 

What am I doing wrong?

 

Marsha 


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>