← Prev in month ← Prev in thread
Next in thread → Next in month →

adding left indent to <programlisting> -- SOLVED!

From
Robert P. J. Day <>
Date
2003-09-05T11:46:10+00:00
ID
Thread
adding left indent to <programlisting> -- SOLVED!
took a chance and added the customization

<xsl:template match="programlisting">
 <fo:block start-indent="0.25in">
  <xsl:apply-imports/>
 </fo:block>
</xsl:template>

  it *seems* to work, and doesn't even munge the contents of the
element (still monospaced, left justified, etc.)

  are there are non-obvious drawbacks to the above?  if not,
it clearly represents a better solution than my recent posting,
which did really bad things to the content (for reasons i still
don't understand).

rday
← Prev in month ← Prev in thread
Next in thread → Next in month →