This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Referencing figures withouth displaying their title
On Mon, 21 Feb 2005 15:31:10 -0800, Bob Stayton <bobs@sagehill.net> wrote:
Hello,
You want to change the figure entry in the 'xref-number-and-title' context.
That context is used because figures have both number and a title.
Thanks, that worked. My costumization-layer now includes:
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="de">
<l:context name="xref-number-and-title">
<l:template name="appendix" text="Anhang %n, %t"/>
<l:template name="bridgehead" text="Abschnitt %n, „%t“"/>
<l:template name="chapter" text="Kapitel %n, %t"/>
<l:template name="equation" text="Gleichung %n, „%t“"/>
<l:template name="example" text="Beispiel %n, „%t“"/>
<l:template name="figure" text="Abbildung %n"/>
<l:template name="part" text="Teil %n, „%t“"/>
<l:template name="procedure" text="Prozedur %n, „%t“"/>
<l:template name="productionset" text="Produktion %n, „%t“"/>
<l:template name="qandadiv" text="F & A %n, „%t“"/>
<l:template name="refsect1" text="der Abschnitt namens „%t“"/>
<l:template name="refsect2" text="der Abschnitt namens „%t“"/>
<l:template name="refsect3" text="der Abschnitt namens „%t“"/>
<l:template name="refsection" text="der Abschnitt namens „%t“"/>
<l:template name="sect1" text="Abschnitt %n, „%t“"/>
<l:template name="sect2" text="Abschnitt %n, „%t“"/>
<l:template name="sect3" text="Abschnitt %n, „%t“"/>
<l:template name="sect4" text="Abschnitt %n, „%t“"/>
<l:template name="sect5" text="Abschnitt %n, „%t“"/>
<l:template name="section" text="Abschnitt %n, „%t“"/>
<l:template name="simplesect" text="der Abschnitt namens „%t“"/>
<l:template name="table" text="Tabelle %n, „%t“"/>
</l:context>
</l:l10n>
</l:i18n>
But, I know get some messages of the kind
No template for "/book/preface" (or any of its leaves) exists
in the context named "xref-number" in the "de" localization.
and
No template for "/book/chapter/section/section/formalpara" (or any of its leaves) exists
in the context named "xref-number" in the "de" localization.
This may be due to switching to the de-locale?
best regards
Steffen