]> granicus.if.org Git - apache/commitdiff
Forward Port:
authorJoshua Slive <slive@apache.org>
Fri, 2 Apr 2004 21:02:46 +0000 (21:02 +0000)
committerJoshua Slive <slive@apache.org>
Fri, 2 Apr 2004 21:02:46 +0000 (21:02 +0000)
  Put a little more detail (including copyright notice) into
  frontmatter of latex version.  Also prepare for inclusion
  of png graphics.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103245 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/latex/html.xsl
docs/manual/style/latex/latex.xsl

index edd5adc446180b95573906e344d370dbc730d7ce..9034590a6bf538b2427472f3cf1c5ad1849d7781 100644 (file)
@@ -309,13 +309,14 @@ interpreted in pre -->
 </xsl:template>
 
 <xsl:template match="img">
-<xsl:text>[Image not coverted]</xsl:text>
-<!--
 <xsl:variable name="path" select="document(/*/@metafile)/metafile/path" />
 <xsl:text>\includegraphics{</xsl:text>
-<xsl:value-of select="concat('.',$path,@src)"/>
+      <xsl:call-template name="replace-string">
+        <xsl:with-param name="text" select="concat('.',$path,@src)"/>
+        <xsl:with-param name="replace" select="'.gif'"/>
+        <xsl:with-param name="with" select="''"/>
+      </xsl:call-template>
 <xsl:text>}</xsl:text>
--->
 </xsl:template>
 
 </xsl:stylesheet>
index 862d063f1c209dbe3bac1c0d2203a0ddfb9347c1..62938add1e1c64b0e59e28a7d6299cbb6e1fa4bf 100644 (file)
@@ -44,7 +44,7 @@
 \usepackage{times}
 \usepackage{longtable}
 \usepackage{style/latex/atbeginend}
-%\usepackage[pdftex]{color}
+\usepackage[pdftex]{graphicx}
 \usepackage[colorlinks=true,letterpaper=true,linkcolor=blue,urlcolor=blue]{hyperref}
 
 % Let LaTeX be lenient about very-bad line wrapping.
@@ -92,7 +92,8 @@
 <xsl:value-of select="$messages/message[@name='documentation']" />
 <xsl:text> </xsl:text>
 <xsl:value-of select="$messages/message[@name='version']" />
-<xsl:text>}
+<xsl:text>\\ \bigskip \bigskip
+\includegraphics{images/feather}\\ \bigskip}
 \author{Apache Software Foundation}
 \date{\today}
 
 
 \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.
+Copyright \copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); 
+you may not use this file except in compliance with the License. 
+You may obtain a copy of the License at \href{http://www.apache.org/licenses/LICENSE-2.0}{http://www.apache.org/licenses/LICENSE-2.0}
+
+This version of the Apache HTTP Server Documentation is converted from
+XML source files to \LaTeX\ using XSLT with the help of Apache Ant,
+Apache XML Xalan, and Apache XML Xerces.
+
+Since the HTML version of the documentation is more commonly checked
+during development, the PDF version may contain some errors and
+inconsistencies, especially in formatting.  If you have difficulty
+reading a part of this file, please consult the HTML version
+of the documentation on the Apache HTTP Server website at
+\href{http://httpd.apache.org/docs-2.0/}{http://httpd.apache.org/docs-2.0/}
+
+The Apache HTTP Server Documentation is maintained by the Apache HTTP
+Server Documentation Project.  More information is available at
+\href{http://httpd.apache.org/docs-project/}{http://httpd.apache.org/docs-project/}
 
 \tableofcontents
 \mainmatter