svn commit: r45466 - head/share/xml

Gabor Kovesdan <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gabor
Date: Sun Aug 17 18:53:58 2014
New Revision: 45466
URL: http://svnweb.freebsd.org/changeset/doc/45466

Log:
  - Render revnumber as link in PDF documents as well
  
  PR:		191169
  Submitted by:	wblock

Modified:
  head/share/xml/freebsd-common.xsl
  head/share/xml/freebsd-xhtml-common.xsl

Modified: head/share/xml/freebsd-common.xsl
==============================================================================
--- head/share/xml/freebsd-common.xsl	Sat Aug 16 21:18:28 2014	(r45465)
+++ head/share/xml/freebsd-common.xsl	Sun Aug 17 18:53:58 2014	(r45466)
@@ -11,6 +11,11 @@
 
   <!-- Global customisation -->
 
+  <!-- Generate link for revnumber -->
+  <xsl:template match="db:revnumber">
+    <xsl:call-template name="svnref.genlink"/>
+  </xsl:template>
+
   <!-- Redefine variables, and replace templates as necessary here -->
   <xsl:template match="db:buildtarget|db:command">
     <xsl:call-template name="inline.monoseq"/>

Modified: head/share/xml/freebsd-xhtml-common.xsl
==============================================================================
--- head/share/xml/freebsd-xhtml-common.xsl	Sat Aug 16 21:18:28 2014	(r45465)
+++ head/share/xml/freebsd-xhtml-common.xsl	Sun Aug 17 18:53:58 2014	(r45466)
@@ -208,10 +208,6 @@
     </a>
   </xsl:template>
 
-  <xsl:template match="db:revnumber">
-    <xsl:call-template name="svnref.genlink"/>
-  </xsl:template>
-
   <xsl:template name="generate.citerefentry.link">
     <xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>
     <xsl:value-of select="db:refentrytitle"/>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.