]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #573726: fix cmdsynopsisref formatting
authorNorman Walsh <ndw@nwalsh.com>
Tue, 9 Jul 2002 00:00:43 +0000 (00:00 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 9 Jul 2002 00:00:43 +0000 (00:00 +0000)
xsl/fo/synop.xsl
xsl/html/synop.xsl

index f315b43496be8bb42b429ecdce517a9cd230ef00..f9c163bf9ee2c04a698d8daa22f3315817064854 100644 (file)
     <xsl:apply-templates select="$target" mode="synopfragment.number"/>
   </xsl:variable>
   <fo:inline font-style="italic">
-    <xsl:text>(</xsl:text>
-    <xsl:value-of select="$snum"/>
-    <xsl:text>)</xsl:text>
+    <fo:basic-link internal-destination="{@linkend}"
+                   xsl:use-attribute-sets="xref.properties">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </fo:basic-link>
+    <xsl:text>&#160;</xsl:text>
+    <xsl:apply-templates/>
   </fo:inline>
 </xsl:template>
 
     <xsl:text> </xsl:text>
     <xsl:apply-templates/>
   </fo:block>
-</xsl:template>   
+</xsl:template>
 
 <xsl:template match="funcsynopsis">
   <xsl:call-template name="informal.object"/>
index 335997912f60bbe1d4a40cf6f032090ca98df820..432771eb3352e0f9b6dfe97d3ccb57fc560f9d67 100644 (file)
       <xsl:value-of select="$snum"/>
       <xsl:text>)</xsl:text>
     </a>
+    <xsl:text>&#160;</xsl:text>
+    <xsl:apply-templates/>
   </i>
 </xsl:template>