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] Titlepage customization


Hi,
I would suggest that since your article titlepage plays out like a book's titlepage that you look at the specifications for the book's titlepage in that file as a model. There you will see two instances of page breaking with this:

<fo:block break-after="page"/>

I presume you have seen this documentation on the subject:

http://www.sagehill.net/docbookxsl/HTMLTitlePage.html#TitlePageElems

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "danmauer" <dan.mauer@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, January 31, 2012 11:47 AM
Subject: [docbook-apps] Titlepage customization



So I'm having a hard time comprehending how to properly build a custom
titlepage specification XML file.

I've got the process down -- create the specification XML, transform it
using the template/titlepage.xsl stylesheet to generate a custom XSL
titlepage stylesheet, then import that into my regular customization
stylesheet.

What I can't figure out is how to actually write the template.  My document
is an <article>, and in print format I want it to start out with a single
front title page, including the title, subtitle, a couple of PNG images, and
a date.  Then a second page containing the revision history, and finally a
third page with the table of contents.

I've based my titlepage spec file on the <t:titlepage t:element="article"
t:wrapper="fo:block"
            font-family="{$title.fontset}">...</t:titlepage> section of the
titlepage.templates.xml file, I have no transformation errors and it's
definitely using the custom template, as if I (for example) remove the
revhistory section from the spec file, it disappears from my final document.

However, nothing I've tried seems to generate a page break, and I'm not
quite grasping how to embed and position the graphics either.

Any help would be much appreciated.

Thanks!
-Dan
--
View this message in context: http://old.nabble.com/Titlepage-customization-tp33238812p33238812.html
Sent from the docbook apps mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]