summaryrefslogtreecommitdiffstats
path: root/docs/manual/style/latex
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2014-01-26 23:56:24 +0100
committerAndré Malo <nd@apache.org>2014-01-26 23:56:24 +0100
commitf00d07000926ae52e83f2f93abf532d9ca02bbda (patch)
treed309b2033dc37adb43b4c503977041283040bfbd /docs/manual/style/latex
parentevaluate the new dtd attributes. (diff)
downloadapache2-f00d07000926ae52e83f2f93abf532d9ca02bbda.tar.xz
apache2-f00d07000926ae52e83f2f93abf532d9ca02bbda.zip
- avoid duplicate inclusion of module files in latex source
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561568 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style/latex')
-rw-r--r--docs/manual/style/latex/latex.xsl24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/manual/style/latex/latex.xsl b/docs/manual/style/latex/latex.xsl
index 944799fc9b..b59c27d757 100644
--- a/docs/manual/style/latex/latex.xsl
+++ b/docs/manual/style/latex/latex.xsl
@@ -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>