You should not be getting such errors in any language. Something is going
wrong with the selection of the gentext template to get such an error
message, but I am not able to duplicate the problem. What version of the
stylesheets are you using?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "Steffen Glückselig" <>
To: <>
Sent: Tuesday, February 22, 2005 3:17 AM
Subject: Re: [docbook-apps] Referencing figures withouth displaying their
title
> On Mon, 21 Feb 2005 15:31:10 -0800, Bob Stayton <> 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
>
>