Has anyone seen this problem?  From the DITA-OT xsl:fo stylesheets, the
attribute set for "pre" results in a certain set of attributes (shown in
example below).  The contained text is repeated in the output with a #
character where the linebreaks were, then ends with broken text.  For
example this fo source... 

<fo:block space-before="1.2em" space-after="0.8em"
white-space-treatment="preserve" white-space-collapse="false"
linefeed-treatment="preserve" wrap-option="wrap" background-color="#f0f0f0"
font-family="Courier" line-height="106%" font-size="9pt">codeblock w/hard
return:
and another one:
blah</fo:block>

...results in this output in the PDF:

codeblock w/hard return:#and
another one:#blah
codeblock w/hard re
turn:#and another
oth

However, when I set wrap-option="no-wrap", the text renders correctly.

I would like to be able to wrap "pre" formatted text if it encounters a text
margin if possible.  Would this be characterized as a bug, or is there some
other combination of settings that would be required?

Thank you as always for the help,
David


-- 
View this message in context: 
http://www.nabble.com/Repetition-of-%22pre%22-formatted-strings-when-wrap-otion%3D%22wrap%22-tf4224485.html#a12017331
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to