[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Footnote marks missing
works! Thanks a lot Bernhard Am 11.02.2019 um 16:32 schrieb Jirka Kosek: > On 11.2.2019 10:03, Bernhard Kleine wrote: >> I did as you advised. I found the offending template: >> >> <xsl:template match="d:para"> <!-\- In kompakten Listen para-Abstand >> anpassen -\-> > This templates overrides the following template that injects footnote > marks into the footnote: > > <xsl:template match="d:footnote/d:para[1] > |d:footnote/d:simpara[1] > |d:footnote/d:formalpara[1]" > priority="2"> > <!-- this only works if the first thing in a footnote is a para, --> > <!-- which is ok, because it usually is. --> > <fo:block> > <xsl:call-template name="format.footnote.mark"> > <xsl:with-param name="mark"> > <xsl:apply-templates select="ancestor::d:footnote" > mode="footnote.number"/> > </xsl:with-param> > </xsl:call-template> > <xsl:apply-templates/> > </fo:block> > </xsl:template> > > The easiest fix would be to change match attribute in your template to > > d:para[not(parent::d:footnote)] > > > Jirka > -- 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
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]