From: Michael Smith Date: Sat, 9 Jul 2005 09:00:14 +0000 (+0000) Subject: Checkpointing. Now link list contains unique URLs (removes dupes), X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1cd3059e920dcd562b21293c8fdd613f1d005fa;p=docbook-dsssl Checkpointing. Now link list contains unique URLs (removes dupes), but needs more work -- some URLs are getting suppressed that shouldn't be; one symptom of that is that numbering is thrown off. --- diff --git a/xsl/manpages/inline.xsl b/xsl/manpages/inline.xsl index 34b6892d1..6a9c80ff3 100644 --- a/xsl/manpages/inline.xsl +++ b/xsl/manpages/inline.xsl @@ -144,6 +144,9 @@ + + + @@ -154,14 +157,37 @@ - + - + + + + + + + + @@ -192,7 +218,8 @@ and not(ancestor::docinfo) and not(ancestor::refmeta) and not(ancestor::refnamediv) - and not(ancestor::indexterm)]" + and not(ancestor::indexterm) + and not(@url = preceding::ulink/@url)]" from="refentry" format="{$format}"/> @@ -214,7 +241,8 @@ and not(ancestor::docinfo) and not(ancestor::refmeta) and not(ancestor::refnamediv) - and not(ancestor::indexterm)]"/> + and not(ancestor::indexterm) + and not(@url = preceding::ulink/@url)]"/> @@ -283,7 +311,8 @@ and not(ancestor::docinfo) and not(ancestor::refmeta) and not(ancestor::refnamediv) - and not(ancestor::indexterm)]" + and not(ancestor::indexterm) + and not(@url = preceding::ulink/@url)]" mode="links.list">