From: Michael Smith Date: Mon, 21 Aug 2006 05:04:47 +0000 (+0000) Subject: Don't number or link-list any Ulink instance whose string value is X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bc55b36aa1f9efe1c6b0970de2e7b76af085246;p=docbook-dsssl Don't number or link-list any Ulink instance whose string value is identical to the value of its url attribute. Just display it inline. --- diff --git a/xsl/manpages/links.xsl b/xsl/manpages/links.xsl index f8c672816..078c410fc 100644 --- a/xsl/manpages/links.xsl +++ b/xsl/manpages/links.xsl @@ -16,7 +16,8 @@ - + + @@ -52,6 +53,7 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) + and not(. = @url) and not(@url = preceding::ulink[node() and not(ancestor::refentryinfo) @@ -81,14 +83,15 @@ - - - + + + + - - - - + + + + @@ -118,7 +121,7 @@ - + @@ -141,9 +144,10 @@ - - - + + + + @@ -227,6 +231,7 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) + and not(. = @url) and not(@url = preceding::ulink[node() and not(ancestor::refentryinfo) @@ -259,6 +264,7 @@ and not(ancestor::refmeta) and not(ancestor::refnamediv) and not(ancestor::indexterm) + and not(. = @url) and not(@url = preceding::ulink[node() and not(ancestor::refentryinfo)