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] forcing toc to start with specific page number on fo


I tried that just now. with double.sided = 1, i got toc to show 'v', but then comes a blank page and list of tables becomes vii. Does that mean list of tables/list of figures is treated as a different page sequence?

Here's more of a context...so far, the output is fine if i don't use double sided (chapters start on new pages, but other than that there's no padding for starting on odd pages.) That's perfect for my customer, the only caveat is they want the toc to start with page 'v' so they can put in their own first 4 pages. We may customize the title pages in the future to get that, but right now just getting the toc to 'v' is good enough...

Thanks

On May 14, 2012, at 10:09 AM, Bob Stayton wrote:

> Hi,
> There is a stylesheet parameter named 'double.sided' that causes each page sequence to start on an odd number, which then generates blank pages when needed.   Did you set that param to 1?
> 
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
> 
> 
> ----- Original Message ----- From: "Doris T Lam" <dlamoris@gmail.com>
> To: "Bob Stayton" <bobs@sagehill.net>
> Cc: <docbook-apps@lists.oasis-open.org>
> Sent: Monday, May 14, 2012 10:06 AM
> Subject: Re: [docbook-apps] forcing toc to start with specific page number on fo
> 
> 
> I tried adding dedication and acknowledgements for padding, but then it put 'i' as the page for dedication and ii for acknowledgement, and i end up with iii for toc again...
> How would I manually insert blank pages in the stylesheets for padding before toc?
> 
> On May 11, 2012, at 1:17 PM, Bob Stayton wrote:
> 
>> Hi Doris,
>> I don't see an easy solution for this.  The 'initial.page.number' template only accepts two template params, and neither of them distinguish between a table of contents and a list of tables etc.  I would suggest that blank pages are the way to go, or perhaps an empty element such as acknowledgements or dedication that takes up the space.
>> 
>> Bob Stayton
>> Sagehill Enterprises
>> bobs@sagehill.net
>> 
>> 
>> ----- Original Message ----- From: "Doris T Lam" <dlamoris@gmail.com>
>> To: <docbook-apps@lists.oasis-open.org>
>> Sent: Thursday, May 10, 2012 11:05 AM
>> Subject: [docbook-apps] forcing toc to start with specific page number on fo
>> 
>> 
>> Hi, I'm using fop to transform docbook xml to pdf. What I have is a book with table of contents and some tables and figures. I'm trying to force the table of contents page to start with page number 'v' (currently the output starts with iii). What I've done so far is customize the "initial.page.number" template and put
>> 
>> <xsl:when test="$element = 'toc'">5</xsl:when>
>> 
>> instead of "auto"
>> 
>> This gives me 'v' as the page number on table of contents, but the list of tables page and list of figures that comes after it is also 'v'. Should I be customization something else, or maybe force insert some blank pages before toc to get it to count to the page number I want?
>> 
>> Thanks,
>> Doris
>> ---------------------------------------------------------------------
>> 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]