From: Michael Smith Date: Sat, 9 Jul 2005 10:07:58 +0000 (+0000) Subject: Checkpointing further ulink changes. All visible links are now X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d69ad4cff9b55992cb3f45f421b1d6553e50f4d6;p=docbook-dsssl Checkpointing further ulink changes. All visible links are now displayed in the link list, and numbered. But it performance leaves something to be desired. And not working properly for case where document contains multiple Refentry. --- diff --git a/xsl/manpages/inline.xsl b/xsl/manpages/inline.xsl index 6a9c80ff3..195d154e8 100644 --- a/xsl/manpages/inline.xsl +++ b/xsl/manpages/inline.xsl @@ -164,24 +164,19 @@ + - + @@ -219,7 +214,14 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) - and not(@url = preceding::ulink/@url)]" + and not(@url = preceding::ulink[node() + and not(ancestor::refentryinfo) + and not(ancestor::info) + and not(ancestor::docinfo) + and not(ancestor::refmeta) + and not(ancestor::refnamediv) + and not(ancestor::indexterm) + and not(@url = preceding::ulink)]/@url)]" from="refentry" format="{$format}"/> @@ -242,7 +244,14 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) - and not(@url = preceding::ulink/@url)]"/> + and not(@url = preceding::ulink[node() + and not(ancestor::refentryinfo) + and not(ancestor::info) + and not(ancestor::docinfo) + and not(ancestor::refmeta) + and not(ancestor::refnamediv) + and not(ancestor::indexterm) + and not(@url = preceding::ulink)]/@url)]"/> @@ -312,7 +321,14 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) - and not(@url = preceding::ulink/@url)]" + and not(@url = preceding::ulink[node() + and not(ancestor::refentryinfo) + and not(ancestor::info) + and not(ancestor::docinfo) + and not(ancestor::refmeta) + and not(ancestor::refnamediv) + and not(ancestor::indexterm) + and not(@url = preceding::ulink)]/@url)]" mode="links.list">