[lfs] branch trunk updated: Fix displaying note numbers also in pdf
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <174221443463.24611.2658149281121927623@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 7cd3a3fec Fix displaying note numbers also in pdf
7cd3a3fec is described below
commit 7cd3a3fec1d45a46bd92f3485d23d1b777f0887a
Author: Pierre Labastie <[email protected]>
AuthorDate: Sat Mar 15 08:19:35 2025 +0100
Fix displaying note numbers also in pdf
---
stylesheets/lfs-xsl/pdf/lfs-mixed.xsl | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
index 834b7057c..8f5576d9f 100644
--- a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
+++ b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
@@ -80,6 +80,16 @@
</xsl:choose>
</xsl:template>
+ <xsl:template match="footnote/para[1]">
+ <!--A template with the same match (+others) exists in
+ {docbook-xsl}/pdf/footnote.xsl, so it is
+ only imported, and it has less precedence than the above one, which
+ matches para and does not account for footnote number.
+ We need this one at the same level, but just apply the
+ docbook-xsl one.-->
+ <xsl:apply-imports/>
+ </xsl:template>
+
<!-- screen, literallayout:
Self-made template that creates a fo:block wrapper with keep-together
processing instruction support around the output generated by
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page