[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] indexterm indentation
Hi, You can use a couple of attribute-sets to achive the same end. Add these to your customization layer: <xsl:attribute-set name="index.div.title.properties"> <xsl:attribute name="start-indent">0pt</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="index.entry.properties"> <xsl:attribute name="start-indent">0pt</xsl:attribute> </xsl:attribute-set> These properties will be added in the next release of the stylesheets. This problem comes from the index in an article inheriting the body.start.indent used in the article page sequence. In a book index, a new page sequence is started with zero body.start.indent. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Vitaly Ostanin" <vyt@vzljot.ru> To: <docbook-apps@lists.oasis-open.org> Sent: Friday, July 01, 2005 6:56 AM Subject: [docbook-apps] indexterm indentation > Hello. > > I use DocBook XSL 1.68.1. In some cases (index for article) > primary indexterms shifted from 'secondary' and 'see' like: > > ____term > __secondary > ____see > > instead of: > > term > __secondary > ____see > > This small patch fixes this problem for me: > > --- autoidx.xsl.orig 2005-07-01 17:01:28 +0400 > +++ autoidx.xsl 2005-07-01 17:00:55 +0400 > @@ -181,7 +181,7 @@ > > <xsl:variable name="key" select="&primary;"/> > <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/> > - <fo:block> > + <fo:block start-indent="0pc"> > <xsl:if test="$axf.extensions != 0"> > <xsl:attribute > name="axf:suppress-duplicate-page-number">true</xsl:attribute> > </xsl:if> > > I can't easy change it in my customization layer since > autoidx.xsl uses uppercase/lowercase entities. > > -- > Regards, Vyt > mailto: vyt@vzljot.ru > JID: vyt@vzljot.ru > > --------------------------------------------------------------------- > 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]