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] Different style on even/odd page in PDF

Hi Frank, 

If you are talking about the header or footer, I think you can do that by adjusting properties.

But if you're talking about regular titles, that may be harder. Only the layout engine (fop or equivalent) knows whether something is on a left- or right-hand page, and it only knows that when it is laying out pages, which is after you have generated fo.

There may be markup you could include that would let you do something like this (possibly a processor-specific directive for one of the proprietary fo processors), but the last time I tried something similar, I couldn't find a way to automatically do this. 

Dick Hamilton 

XML for Technical Communicators

> On Sep 27, 2015, at 12:16, Frank Arensmeier <farensmeier@gmail.com> wrote:
> Hi list!
> I am wondering, is it possible to have different style attributes for titles depending on if the title appears on an even or odd page? Of course, for PDF output that is. Suppose I’d like to have my titles in green on even pages and in blue on odd pages.
> Is that possible?
> Thanks!
> /frank
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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