This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] adding left indent to <programlisting> -- SOLVED!
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 5 Sep 2003 08:03:42 -0400 (EDT)
- Subject: [docbook-apps] 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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.