I did so, I hope it is ok.
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
bobs@sagehill.net
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
bernhard.kleine@gmx.net
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