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] Obtaining value of parameter "sequence" (even/odd/first)

Petr Rajsky wrote:

> is it possible to get value of parameter "sequence"  (even/odd/first)
> of page to template which catching <para> tag?
> I need to place text notes beside some paragraphs and in dependence
> on even/odd page it will be on left/right side beside the paragraph.
> Notes I  realized by new atribute <para marginal="bla bla bla ...">.

This is not possible as page number (odd/even) is known only during the 
formatting phase which is done after XSLT transformation. However if you 
are using XEP as FO processor you can place marginalia inside fo:float 
and use float="outside|inside" to place marginalias on either inner or 
outer edge of two-sided print.


   Jirka Kosek  	
   e-mail: jirka@kosek.cz

S/MIME Cryptographic Signature

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