You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2014/01/21 09:56:07 UTC

svn commit: r1559942 - /httpd/httpd/trunk/docs/manual/style/latex/latex.xsl

Author: nd
Date: Tue Jan 21 08:56:07 2014
New Revision: 1559942

URL: http://svn.apache.org/r1559942
Log:
only include local pages.

Modified:
    httpd/httpd/trunk/docs/manual/style/latex/latex.xsl

Modified: httpd/httpd/trunk/docs/manual/style/latex/latex.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/latex/latex.xsl?rev=1559942&r1=1559941&r2=1559942&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/latex/latex.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/latex/latex.xsl Tue Jan 21 08:56:07 2014
@@ -152,6 +152,7 @@ Server Documentation Project.  More info
 </xsl:template>
 
 <xsl:template match="page">
+<xsl:if test="not(starts-with(@href,'http:') or starts-with(@href, 'https:'))">
 <xsl:text>\include{</xsl:text>
 <xsl:choose>
 <xsl:when test="contains(@href,'.')">
@@ -163,6 +164,7 @@ Server Documentation Project.  More info
 </xsl:choose>
 <xsl:text>}
 </xsl:text>
+</xsl:if>
 </xsl:template>
 
 <xsl:template match="category/title" mode="printcat">