[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Beginners Q. Centering chapter titles
Andy, Welcome to the scary world of title-page templates, which according to Norm is the right way to do it. My first impression was that it was to wierd, but it is a tremendious efficient tool, that is yoing to save you a lot of time and increase your control over formatting issues. Beside the params, the first place to change formatting is to look at the titlepage templates. In your case create you own titlepage template and include that in you stylesheet. Steps Create your own copy of fo/titlepage.template.xml Modify the stuff you need to change and delete the rest (in your case modify the template <t:titlepage element="chapter" wrapper="fo:block"> ... fo:text-align="center" </t:titlepage> Apply the template/titlepage.xsl to your_titlepage-template.xml result is your_titlepage-template.xsl, which you should import in your stylesheet. Regards Jens On Thu, 21 Mar 2002, Andy Dwelly wrote: > I've just started using docbook to share some text with colleagues. Using the xsl 1.49 stylesheets and fop > 0.20.3 I've managed to get nicely rendered PDF in an amazingly short space of time. A big thank you to Norm > Walsh for the stylesheets. > > The text I'm dealing with is not (strictly speaking) technical and I'm trying to present it in a style that is > closer to a classical text book than a technical manual. Most of the changes to the stylesheets I need are > handled by the xsl:params but there's one area that I've not been able to fix. I'm trying to center chapter > titles over the body text. At the moment the chapter titles are severely left justified. > > What is the best way to do this ? > > Andy Dwelly > > _____________________________________________________________________________________________________________________ > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC