OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]