[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: programlistings that don't wrap
Hello! I'm upgrading to FOP 0.95 from 0.20.5 and from 1.70.1 to
1.74 for the DB stylesheets, and I’ve noticed that in my PDF output, *some*
(but not all) of the long code lines (inside a <programlisting>) that
have NO spaces in them no longer wrap and just keep going off the page. With
the old FOP and stylesheets, all the long lines in <programlistings> wrapped,
just not necessarily in a spot that made any sense. Now, just some of the lines
don’t wrap. Or a small amount of the text wraps onto a second line, but
then there’s a third line that just keeps going off the page (strange?).
We don’t want to manually break the lines, because we want them to be unbroken
in our HTML output (so folks can copy/paste the code and have it work). I’m using FOP 0.95, Saxon 6.5.5, and Xerces 2.8.0. My
PDF customization layer has the following stuff related to wrapping. I think we
originally tried hyphenate.verbatim until we realized it wasn’t supported
by FOP, so it’s turned off (I’m assuming it’s still not
supported). <xsl:attribute-set name="monospace.properties"> <xsl:param name="hyphenate.verbatim" select="0"/> Any thoughts on this? I’m going to consult the
FOP-users list also. thanks! cheri -- |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]