← Prev in month
← Prev in 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