This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Referencing figures withouth displaying their title


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
bobs@sagehill.net


----- Original Message ----- 
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
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 <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&#160;%n, %t"/>
>           <l:template name="bridgehead" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
>           <l:template name="equation" text="Gleichung&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="example" text="Beispiel&#160;%n,
&#8222;%t&#8220;"/>
>             <l:template name="figure" text="Abbildung&#160;%n"/>
>           <l:template name="part" text="Teil&#160;%n, &#8222;%t&#8220;"/>
>           <l:template name="procedure" text="Prozedur&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="productionset" text="Produktion&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="qandadiv" text="F &amp; A&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="refsect1" text="der Abschnitt namens
&#8222;%t&#8220;"/>
>           <l:template name="refsect2" text="der Abschnitt namens
&#8222;%t&#8220;"/>
>           <l:template name="refsect3" text="der Abschnitt namens
&#8222;%t&#8220;"/>
>           <l:template name="refsection" text="der Abschnitt namens
&#8222;%t&#8220;"/>
>           <l:template name="sect1" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="sect2" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="sect3" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="sect4" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="sect5" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="section" text="Abschnitt&#160;%n,
&#8222;%t&#8220;"/>
>           <l:template name="simplesect" text="der Abschnitt namens
&#8222;%t&#8220;"/>
>           <l:template name="table" text="Tabelle&#160;%n,
&#8222;%t&#8220;"/>
>         </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
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]