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] 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.


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