This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


-- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]