From: Norman Walsh Date: Tue, 11 Jun 2002 13:34:06 +0000 (+0000) Subject: Experimental support for xrefstyle X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2288344b4d1c76cc168cae6261c6655737f42456;p=docbook-dsssl Experimental support for xrefstyle --- diff --git a/xsl/common/l10n.xsl b/xsl/common/l10n.xsl index 768587f43..70328af17 100644 --- a/xsl/common/l10n.xsl +++ b/xsl/common/l10n.xsl @@ -272,6 +272,9 @@ + + + @@ -309,10 +312,18 @@ + select="($local.context.node/l:template[@name=$name + and @style + and @style=$xrefstyle] + |$local.context.node/l:template[@name=$name + and not(@style)])[1]"/> + select="($context.node/l:template[@name=$name + and @style + and @style=$xrefstyle] + |$context.node/l:template[@name=$name + and not(@style)])[1]"/> diff --git a/xsl/fo/xref.xsl b/xsl/fo/xref.xsl index 5cc8e070b..5448fa3d1 100644 --- a/xsl/fo/xref.xsl +++ b/xsl/fo/xref.xsl @@ -71,7 +71,19 @@ - + + + + + + + + + + + + + @@ -87,26 +99,35 @@ - - + + Don't know what gentext to create for xref to: " - + " ??? + + + - + + + + - + + + + @@ -119,67 +140,93 @@ |productionset|qandadiv|refsynopsisdiv|segmentedlist |set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to"> + + + - + + + + + + + + - - - - - - + + - - + - - - + + + - - + + + + + - + + + + + + + + + + + - - + + - - - - - - + - - - + + + - - + + + + + - + + + + + + + + + + + [ @@ -224,58 +271,123 @@ - + + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + + - - + + - - + + + + + - - - + + + - - + + + + + - - + + + + + + + + + + + + @@ -288,14 +400,29 @@ - + + + + + + + - + + + + + + + + + + @@ -304,7 +431,13 @@ - + + + + + + + @@ -313,11 +446,21 @@ + + + - + + + + + + + + @@ -386,16 +529,49 @@ + - - [ - - - - ] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + ] + + + @@ -500,4 +676,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/html/xref.xsl b/xsl/html/xref.xsl index ff3e649ff..bd81ea002 100644 --- a/xsl/html/xref.xsl +++ b/xsl/html/xref.xsl @@ -94,7 +94,19 @@ - + + + + + + + + + + + + + @@ -115,12 +127,12 @@ - - + + Don't know what gentext to create for xref to: " - + ", (" ") @@ -129,14 +141,23 @@ + + + - + + + + - + + + + @@ -149,36 +170,51 @@ |productionset|qandadiv|refsynopsisdiv|segmentedlist |set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to"> + + + - + + + + + + + + - - - - - - + + - - + - - - + + + - - + + + + + - + + + + + + + + @@ -189,28 +225,26 @@ - - - - - - - - - - - - - - - + + + - - + + + + + - + + + + + + + + @@ -222,6 +256,9 @@ + + + @@ -264,58 +301,123 @@ - + + + + + + + + - + + + + + + + + - + + + + + + + + - - + + + + + + + + + - - + + + + + + + + + - + + + + + + + + - + + + + + + + + - - + + - - + + + + + - - - + + + - - + + + + + - - + + + + + + + + + + + + @@ -328,14 +430,26 @@ - + + + + + + + + + + + + + @@ -344,20 +458,39 @@ - + + + + + + + + + + + + + - + + + + + + + + @@ -689,4 +822,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +