[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Having chapter titles with numbers and figures without chapter prefix
>> Setting chapter.autolabel=0 works for figure titles, but then I need
them for chapter and section titles. <<
Here's the code for excluding the 'chapter' text in chapter titles;
-should- be applied in a customization:
<!-- omit 'Chapter' text in chapter title -->
<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="chapter" text="%n. %t"/>
</l:context>
<l:context name="xref-number-and-title">
<l:template name="chapter" text="%n. %t"/>
</l:context>
</l:l10n>
</l:i18n>
Ray
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]