This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] indenting verbatim environments


  given that i was having some problems with this before, and i'm just
about to upgrade to the 1.62.4 stylesheets, what's the recommended way to
add a small indent to my verbatim environments?  the previous problem was
that the indent i was trying to add did not take into account whether the
verbatim element was already a child element and therefore already
indented.  so which is the correct approach?

<!--
<xsl:attribute-set name="monospace.verbatim.properties">
 <xsl:attribute name="margin-left">0.25in</xsl:attribute>
</xsl:attribute-set>
-->

<!--
<xsl:attribute-set name="monospace.verbatim.properties">
 <xsl:attribute name="start-indent">body-start() + 0.25in</xsl:attribute>
</xsl:attribute-set>
-->

rday


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]