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 Dick!

That was my suspicion already. I know that the header / footer use a parameter called "sequence" which denotes the page type (odd, even or blank). But, as you already pointed out, because titles (at least none-devision titles) are part of the content flow, you really cannot say where the titles are placed since this is known only at rending time. So even if it were possible to get that sequence parameter, it would be useless.

It’s a shame.

/frank

> 27 sep 2015 kl. 22:34 skrev XML Press <hamilton@xmlpress.net>:
> 
> 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
> http://xmlpress.net
> 
>> 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
>> 

Frank Arensmeier
farensmeier@gmail.com

Jaktstigen 10
71832 Frövi
mobil 070-23 39 0 39
hem 0581-30 40 1






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