]> granicus.if.org Git - apache/blobdiff - docs/manual/style/latex/latex.xsl
LaTeX:
[apache] / docs / manual / style / latex / latex.xsl
index d54b6aca4a879975881dd54cb2f94744a2408e0e..d3e8ac7dfdb174e1a1d708f786928cb4f372efec 100644 (file)
 \begin{document}
 \frontmatter
 \maketitle
+
+\section*{About The PDF Documentation}
+
+This is an early release of the PDF version of the Apache
+Documentation.  It is converted from XML source files, and may contain
+some errors and inconsistencies.  If you have difficulty reading a
+part of this file, please consult instead the HTML version of the
+documentation on the Apache HTTP Server website.
+
 \tableofcontents
 \mainmatter
 </xsl:text>
  </xsl:choose>
 </xsl:variable>
 
+<xsl:variable name="result7">
+ <xsl:choose>
+ <xsl:when test="contains($result6, '&quot;')">
+   <xsl:call-template name="replace-string">
+    <xsl:with-param name="replace" select="'&quot;'"/>
+    <xsl:with-param name="with" select="'\texttt{&quot;}'"/>
+    <xsl:with-param name="text" select="$result6"/>
+   </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+   <xsl:value-of select="$result6"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:variable>
+
+
     <xsl:call-template name="replace-string">
     <xsl:with-param name="replace" select="'_'"/>
     <xsl:with-param name="with" select="'\_'"/>
                     <xsl:call-template name="replace-string">
                     <xsl:with-param name="replace" select="'&amp;'"/>
                     <xsl:with-param name="with" select="'\&amp;'"/>
-                    <xsl:with-param name="text" select="$result6"/>
+                    <xsl:with-param name="text" select="$result7"/>
                     </xsl:call-template>
                 </xsl:with-param>
                 </xsl:call-template>