OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]