Re: [docbook-apps] Article titlepage like for book

From
Bob Stayton <>
Date
2006-07-08T21:04:28+00:00
ID
005701c6a2d2$2322e880$6700a8c0@totoro
Thread
Re: [docbook-apps] Article titlepage like for book
Hi Marc,
The basic problem is that the templates for an article generate a single 
page-sequence using the page-master named 'body'. A book has several 
page-sequences, with the first using a page-master named 'titlepage'. 
Getting an article to generate the extra page sequence, making sure it uses 
the right page-master, and turning off the regular titlepage info in the 
article page-sequence would all have to be added to the template with 
match="article" from fo/component.xsl.

There might be an easier way, though. Wrap your article element in a book 
element, and move the title info from articleinfo to bookinfo.  That would 
leave your article element containing only the body content, which is 
valid.  Since this is processed as a book, you will get the book titlepage, 
both recto and verso sides.

<book>
<bookinfo>
<title>etc.</title>
</bookinfo>
<article>
<para>First content of the article.</para>
etc.
</article>
</book>

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Marc Baaden" <>
To: <>
Sent: Saturday, July 08, 2006 11:09 AM
Subject: [docbook-apps] Article titlepage like for book


>
> Hi,
>
> I have an existing docbook "book" of which I need to make a shorter
> article-style version. However I would like to keep my customized
> book titlepage. If I just switch from book to article - keeping the
> very same customized titlepage - it results in a very different title
> representations on top of the first page.
> Is there any way to keep the book title page? (eg there was an image
> on it, and it takes a whole page, the actual text only starting on the
> next page.
>
> Thanks in advance,
>  Marc Baaden
>
> -- 
> Dr. Marc Baaden  - Institut de Biologie Physico-Chimique, Paris
> mailto:      -      http://www.baaden.ibpc.fr
> FAX: +33 15841 5026  -  Tel: +33 15841 5176  ou  +33 609 843217
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>