This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Programlisting: Align Right for PDF (solution)
- From: Stephan Wiesner <stephan at stephan-wiesner dot de>
- To: docbook at lists dot oasis-open dot org
- Date: Thu, 26 Sep 2002 18:39:16 +0200
- Subject: DOCBOOK: Programlisting: Align Right for PDF (solution)
Hi list,
I solved the problem with y programlisting, which got aligned right in
the PDF output.
I just added 'text-align="left"' in the fo/verbatim.xsl like below. This
works for me with FOP.
<fo:block wrap-option='no-wrap'
white-space-collapse='false'
linefeed-treatment="preserve"
xsl:use-attribute-sets="monospace.verbatim.properties"
text-align="left"
>
Stephan