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


Hi Lars,

I think it's just part.titlepage.recto.

However, for what you want to do, I think the title spec process is easier than you may think it is.

I think that all you need to do is copy titlepage.templates.xml to your customization, find the <title> element inside <t:titlepage t:element="book" > and add a space-before attribute (and any other attributes you need; you can change the font characteristics, align it in various ways, and move it up or down on the page using attributes).

Then use saxon or xsltproc to build your own titlepage.templates.xsl file from titlepage.templates.xml using the stylesheet named titlepage.xsl, which is in the template stylesheet folder in the standard stylesheet distribution (same level as the fo stylesheet folder). Then, import the result at the top of your customization.

While the title spec process can look daunting, it is designed to make it easy to do easy things. The complications come in when you want to do something outside the ordinary. So, you can ignore a fair amount of the recto/verso/auto stuff and just play with attribute values in the titlepage.templates.xml file. I'll bet that gives you all you need.

Good Luck,
Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton@xmlpress.net



On Jun 25, 2012, at 4:07 PM, Lars Vogel wrote:

> Hi Dick,
> 
> I would prefer to changing the template instead of creating the spec
> file. I did this for the titlepage of the book (book.titlepage.recto)
> and it was relatively simple. I think the title spec approach is to
> scare people away (just kidding).
> 
> Any pointers which template is used for the titlepage of <part>?
> 
> Best regards, Lars
> 
> 2012/6/26 Richard Hamilton <hamilton@xmlpress.net>:
>> Lars,
>> 
>> The part titlepage (and the other title pages) are handled in a titlepage spec file.
>> 
>> There is an excellent description of that facility and how to customize it in Bob Stayton's book, DocBook XSL: The Complete Guide.
>> 
>> You can find this section in the online version at: http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
>> 
>> Best Regards,
>> Dick Hamilton
>> -------
>> XML Press
>> New from XML Press:
>> The Content Pool
>> http://xmlpress.net/publications/the-content-pool
>> 
>> On Jun 25, 2012, at 3:54 PM, Lars Vogel wrote:
>> 
>>> Hello,
>>> 
>>> which template is called for the <part> Titlepage? I would like to
>>> increase the "magin-top" value until the text is horizontally
>>> centered.
>>> 
>>> Currently it starts at the top of the page.
>>> 
>>> Best regards, Lars
>>> 
>>> 
>>> 
>>> --
>>> Lars
>>> http://www.vogella.com - Eclipse, Android and Java Tutorials
>>> http://www.twitter.com/vogella - Lars on Twitter
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>> 
>> 
> 
> 
> 
> -- 
> Lars
> http://www.vogella.com - Eclipse, Android and Java Tutorials
> http://www.twitter.com/vogella - Lars on Twitter



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