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] Re: odd and even pages


Michal Duda wrote:

The first contains graphical icon and the second some text. I need this on
the odd pages. And on even pages I need icon in the second column and text
in the first one.

Do you have this table in page header only or in normal page body?


You can specify different headers/footers for odd and even pages in XSL-FO. There is also hook for this in DocBook stylesheets:

http://www.sagehill.net/docbookxsl/PrintHeaders.html

(see template named header.content)

If you need this in page body, you are facing problem that is beyond capabilities of XSL-FO. Forunately some XSL-FO processors support special sort of floats that can float to inner or outer edge of page. I suppose that you can achieve your two column table with careful usage of such floats. For example of inner/outer consult following document:

http://xep.xattic.com/xep/testsuite/usecases/marginalia.pdf


-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------

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]