This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Conditionally remove indent on FO programlistings?
- From: "Darren Richmond" <darren at eldergrove dot com>
- To: "Bob Stayton" <bobs at sco dot com>
- Cc: "Docbook-Apps" <docbook-apps at lists dot oasis-open dot org>
- Date: Sat, 5 Apr 2003 10:03:54 -0600
- Subject: RE: [docbook-apps] Conditionally remove indent on FO programlistings?
>In the stock fo stylesheet, programlisting is not indented.
>Perhaps you are referring to the text position relative
>to the section titles, which are actually outdented.
Yes, my concern is with the position of the fo:block containing the
programlisting relative to the preceeding and following blocks, as seen in
the example below:
some text
..., as seen in the code below:
//The white space before the word "System" below is what I want to modify
System.out.println("Hello, World!");
more text ...
>Can you post the customization you use to set up your
>5.5 x 8.5 inch page?
The position is fine at USLetter (8.5in x 11in), but wastes too much real
estate at halfletter (5.5in x 8.5in).
I was actually fairly happy with most of the results I got with just the
following customization:
<!-- page size -->
<xsl:param name="page.width">5.5in</xsl:param>
<xsl:param name="page.height">8.5in</xsl:param>
I want to nudge the text to the left a bit when I create halfletter PDFs.
Thanks for your help.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org