[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Section numbering.
http://www.sagehill.net/docbookxsl/CustomGentext.htmlAnd in your case, you want to modify the l:template with name="section" (if you are using section rather than sect1) in the context "title-numbered", as follows:
<xsl:param name="local.l10n.xml" select="document('')"/> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n language="en"> <l:context name="title-numbered"> <l:template name="section" text=" %n %t"/> </l:context> </l:l10n> </l:i18n> (the original has a dot after the %n). Bob Stayton Sagehill Enterprises email@example.com On 2/10/2014 3:23 AM, anmol gupta wrote:
Hi, I need help for printing section number in a different way in docbook, Currently, if there is section like 2.1.3, Generated pdf prints *2.1.3.* instead of *2.1.3* In first case there is a dot at the end which can be sometimes confusing. I dont want that in my pdf. Please help me fixing this. Thanks and Regards, ..Anmol