Hi Richard, thanks. I give part.titlepage.recto a try. I also have plans to add a image to the part titlepage (in the future) and as far as I know this is not supported with the template.
Best regards, Lars 2012/6/26 Richard Hamilton <[email protected]>: > 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 > [email protected] > > > > 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 <[email protected]>: >>> 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: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >> >> >> >> -- >> Lars >> http://www.vogella.com - Eclipse, Android and Java Tutorials >> http://www.twitter.com/vogella - Lars on Twitter > -- Lars http://www.vogella.comĀ - Eclipse, Android and Java Tutorials http://www.twitter.com/vogella - Lars on Twitter --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
