[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Customising Title Pages Tutorial?
Hi Paul, Well, I'm not completely clear on what templates are inside each of your customization files. In general, the book.titlepage.recto template determines the order of elements on the front titlepage, and any templates that match on individual elements in mode 'book.titlepage.recto.auto.mode' will format that element on that page. The XSL module generated from the titlepage spec file contains a template named 'book.titlepage.recto' among others. If your file 'book.titlepage.recto.xsl' contains a template with that name, then its import statement should after that of the module generated from the spec file, otherwise it will have lower import precedence and it won't be used. It might be more clear if you follow the sequence of templates that are called for the titlepages. I described the sequence here: http://www.sagehill.net/docbookxsl/TitlePagePrint.html#TitlepageSequence Bob Stayton Sagehill Enterprises DocBook Consulting email@example.com ----- Original Message ----- From: "Paul Moloney" <firstname.lastname@example.org> To: "Bob Stayton" <email@example.com>; <firstname.lastname@example.org> Sent: Friday, October 21, 2005 3:08 AM Subject: Re: [docbook-apps] Customising Title Pages Tutorial? > Hi Bob, > > That works now, thanks! (Initially it didn't, but then I changed > the order in which I import XSLs in my customised layer). > > Just to clarify, I have two files which specify what appears on > the front page: > > * book.titlepage.recto.xsl > * mytitlepage.xsl (which is created from mytitlepage.xml, based on > titlepage.templates.xsl) > > Both of these are importing by my customised layer. I'm still confused > as to what type of information belongs in each file. Does the first > XSL just > relate to the positioning of page elements (graphics, etc), while the > second is used for styling? Or is there any defined split? > > Thanks, > > -pm > > http://oceanclub.blogspot.com > > "When you look in the mirror and despair and none of your > clothes seem appropriate, relax, put the kettle on. It might suit > you." > >