Currently the stylesheets don't support an xref to a footnote. The
DocBook standard has always included a <footnoteref> element, which
generates the same footnote reference number (superscripted) for a
footnote, so you can have two references to the same footnote in your
text. But that is not what you are trying to do here.
To get support added for xref to footnote for the next release, please
file an Issue request at the DocBook XSL Github site:
https://github.com/docbook/xslt10-stylesheets
Bob Stayton
Sagehill Enterprises
[email protected]
On 10/29/2018 11:53 PM, Bernhard Kleine wrote:
Hi,
I have a footnote with an xml:id
Tribus <footnote xml:id="Fußnote_Tribus" ><para>Eine Tribus (Plural
Tribus) </para></footnote>
that is targeted by a xref at another place.
Tribus (<xref linkend="Fußnote_Tribus" xrefstyle="fussnotenref"/>)
In the customation xsl stylesheet I have
/<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">//
// <l:l10n language="de">//
// <l:context name="title"> <!--
formatiert Tabellen und Abbildungstitel -->//
// <l:template name="table" text="Tabelle %t."/>//
// <l:template name="figure" text="Bild %n"/>//
// </l:context>//
// <l:context name="xref-number-and-title">//
// <l:template name="table" text="(in Tab. %t; (S. %p)"/>//
// <l:template name="figure" text="(Bild %n; S. %p)"/>//
// <l:template name="chapter" text="Kapitel %n (S. %p)"/>//
// <l:template name="footnote" style="fussnotenref"
text="Fußnote S. %p"/>//
// </l:context>//
// <l:context name="xref">//
// <l:template name="sect1" style="PageInParen1" text="
(S. %p)"/>//
// <l:template name="sect2" style="PageInParen2" text="
(S. %p)"/>//
// <l:template name="entry" style="PageInParenE" text="
(S. %p)"/>//
// <l:template name="footnote" style="fussnotenref"
text="Fußnote S. %p"/>//
// </l:context>//
// </l:l10n>//
///_</l:i18n>_
What is working well for sect1, sect2 and entry, or table, figure and
chapter, however, does not work for the footnote xref. During
transformation Saxon6.5.5. complains "
Don't know what gentext to create for xref to: "footnote"
and in the PDF there is a ???. Where is my fault?
Regards
Bernhard
--
spitzhalde9
D-79853 lenzkirch
[email protected]
www.b-kleine.com,www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09