[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to modify bibliography spacing in biblio.xsl?
The import should work, however, those setting may not actually be controlling the final spacing. You can test the import by adding an xsl:message to your version of the template and see if you get that message during processing. I think the 'bibliography.titlepage' template is generating a nested fo:block that has additional spacing. You might temporarily set <xsl:output indent="yes"/> in your customization (to make it more readable) and peek inside your fo output and see what the nesting of fo:blocks looks like. The bibliography.titlepage template is generated from the titlepage spec file titlepage.templates.xml using the process described here: http://www.sagehill.net/docbookxsl/HTMLTitlePage.html If you look in the spec file, you will see that the title for bibliography calls the component.title template, which is defined in fo/component.xsl. There you will see how the additional spacing is being added through other attribute sets. If you want better control, then don't use the component.title template in your titlepage spec file, because it is also used for chapters, appendices, etc. Instead, put all your font and spacing specifications in the spec file and regenerate the titlepage XSL that you import into your customization. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Marc Baaden" <baaden@smplinux.de> To: <docbook-apps@lists.oasis-open.org> Sent: Wednesday, July 19, 2006 4:12 AM Subject: [docbook-apps] How to modify bibliography spacing in biblio.xsl? > > Hi, > > in the docbook file biblio.xsl a spacing definition is made (about line > 87): > > [..] > <xsl:otherwise> > <fo:block id="{$id}" > space-before.minimum="1em" > space-before.optimum="1.5em" > space-before.maximum="2em"> > <xsl:call-template name="bibliography.titlepage"/> > </fo:block> > <xsl:apply-templates/> > [..] > > I have some difficulty trying to change these values. If I just copy the > biblio.xsl file, change the values to the desired value and import it > in my customisation, it has no effect. If I include it, the > bibliographical > numbering doesn't work any more. I am certainly doing something stupid > here, > but I have already been trying to work it out for a while, so a little > help > would be very welcome. > > (From what I gathered there seems to be no attribute-set to redefine > these > values easily, right?) > > Thanks in advance, > Marc Baaden > > -- > Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris > mailto:baaden@smplinux.de - http://www.baaden.ibpc.fr > FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217 > > > > --------------------------------------------------------------------- > 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]