← Prev in month ← Prev in thread

DOCBOOK: Programlisting: Align Right for PDF (solution)

From
Stephan Wiesner <>
Date
2002-09-26T16:40:47+00:00
ID
007901c2657b$45b97500$4900a8c0@littleone
Thread
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
← Prev in month ← Prev in thread