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] Printing rendering of sidebars


Hi Éric,

On Sunday 23 October 2005 11:30, Éric Jacoboni wrote:
> [...]
>
>
> When printing (i'm using XEP), sidebars doesn't appear as i would
> like. In fact, i'm using them exclusively with the following form to
> grey sample codes backgrounds and draw a border around them:
>
> <sidebar>
>   <programlisting>
>      ... sample code
>   </programlisting>
> </sidebar>
>
> When rendering, i find that there is too much padding before the first
> line of the programlisting code : a simple inter-line would fit my
> tastes...
>
> [...]
>
> Any clue?

Did you try [1]? Especially the FO processing instructions are very 
useful. It is just a guess, but maybe you forget to insert one:

<sidebar>
 <?dbfo float-type="margin.note"?>
 <programlisting>...</programlisting>
</sidebar>

Probably you should try <?dbfo sidebar-width="..."?> and <?dbfo 
float-type="..."?> too.


Bye,
Tom


----------
[1] http://www.sagehill.net/docbookxsl/SideFloats.html

-- 
Thomas Schraitle


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