]> granicus.if.org Git - apache/commitdiff
- avoid duplicate inclusion of module files in latex source
authorAndré Malo <nd@apache.org>
Sun, 26 Jan 2014 22:56:24 +0000 (22:56 +0000)
committerAndré Malo <nd@apache.org>
Sun, 26 Jan 2014 22:56:24 +0000 (22:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561568 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/latex/latex.xsl

index 944799fc9b008067170c6d2c5ab436bf375d5b5d..b59c27d7571f320e473688fcde4b3c0c1ae5cad5 100644 (file)
@@ -152,18 +152,18 @@ Server Documentation Project.  More information is available at
 </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,'.')">
-  <xsl:value-of select="substring-before(@href,'.')"/>
-</xsl:when>
-<xsl:otherwise>
-  <xsl:value-of select="concat(@href,'index')"/>
-</xsl:otherwise>
-</xsl:choose>
-<xsl:text>}
-</xsl:text>
+<xsl:if test="not(starts-with(@href,'http:') or starts-with(@href, 'https:') or starts-with(@href, 'mod/'))">
+  <xsl:text>\include{</xsl:text>
+  <xsl:choose>
+  <xsl:when test="contains(@href,'.')">
+    <xsl:value-of select="substring-before(@href,'.')"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:value-of select="concat(@href,'index')"/>
+  </xsl:otherwise>
+  </xsl:choose>
+  <xsl:text>}
+  </xsl:text>
 </xsl:if>
 </xsl:template>