From d6cbb12c4c152479a8861e1251dcd7ea10eff81d Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 18 Jan 2024 13:07:22 +0100 Subject: stylesheets: rm code for xlink:href attr in xref elemts We don't use it and it uses ( for opening parenthesis. I am not sure whether this has some reason or not, but we want to get reed of &#xx; chars in our change to utf-8, so easier to remove than to find out why... --- stylesheets/lfs-xsl/pdf/lfs-xref.xsl | 22 +++++----------------- stylesheets/lfs-xsl/xhtml/lfs-xref.xsl | 21 +++++---------------- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/stylesheets/lfs-xsl/pdf/lfs-xref.xsl b/stylesheets/lfs-xsl/pdf/lfs-xref.xsl index d14e49b22..ddfe4408b 100644 --- a/stylesheets/lfs-xsl/pdf/lfs-xref.xsl +++ b/stylesheets/lfs-xsl/pdf/lfs-xref.xsl @@ -1,9 +1,7 @@ @@ -16,23 +14,13 @@ this file in lfs-pdf.xsl --> + Added role variable and use it when calling mode xref-to. + Also remove code for xlink:href attribute in xref elements, + since we don't use it.--> - - - - - - - - - - - + @@ -89,7 +77,7 @@ ERROR: xref linking to - + has no generated link text. ??? diff --git a/stylesheets/lfs-xsl/xhtml/lfs-xref.xsl b/stylesheets/lfs-xsl/xhtml/lfs-xref.xsl index 23ad79f8b..705793605 100644 --- a/stylesheets/lfs-xsl/xhtml/lfs-xref.xsl +++ b/stylesheets/lfs-xsl/xhtml/lfs-xref.xsl @@ -1,9 +1,7 @@ + Added role variable and use it when calling mode xref-to. + Also remove code for xlink:href attributes in xref elements + since we don't use it.--> - - - - - - - - - - - + @@ -85,7 +74,7 @@ ERROR: xref linking to - + has no generated link text. ??? -- cgit v1.2.3-54-g00ecf