summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2004-04-02 23:02:46 +0200
committerJoshua Slive <slive@apache.org>2004-04-02 23:02:46 +0200
commit217de70a7c290af485fd19fe42749e486b6385cb (patch)
tree3845c448027bd27affe9aba3d4b76e3a97dc3246
parentForward port: (diff)
downloadapache2-217de70a7c290af485fd19fe42749e486b6385cb.tar.xz
apache2-217de70a7c290af485fd19fe42749e486b6385cb.zip
Forward Port:
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
-rw-r--r--docs/manual/style/latex/html.xsl9
-rw-r--r--docs/manual/style/latex/latex.xsl30
2 files changed, 28 insertions, 11 deletions
diff --git a/docs/manual/style/latex/html.xsl b/docs/manual/style/latex/html.xsl
index edd5adc446..9034590a6b 100644
--- a/docs/manual/style/latex/html.xsl
+++ b/docs/manual/style/latex/html.xsl
@@ -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>
diff --git a/docs/manual/style/latex/latex.xsl b/docs/manual/style/latex/latex.xsl
index 862d063f1c..62938add1e 100644
--- a/docs/manual/style/latex/latex.xsl
+++ b/docs/manual/style/latex/latex.xsl
@@ -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}
@@ -102,11 +103,26 @@
\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