summaryrefslogtreecommitdiffstats
path: root/docs/manual/style/latex/latex.xsl
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2003-06-16 17:03:59 +0200
committerJoshua Slive <slive@apache.org>2003-06-16 17:03:59 +0200
commitbde49b035aeeb625737d3fdc69968db73ecdfccc (patch)
tree720c14971116df4c99416618e255fa335af0687d /docs/manual/style/latex/latex.xsl
parentUpdate transformations. (diff)
downloadapache2-bde49b035aeeb625737d3fdc69968db73ecdfccc.tar.xz
apache2-bde49b035aeeb625737d3fdc69968db73ecdfccc.zip
LaTeX:
- Add a little more meta-information to the pdf file (title/author) - Remove the dependency on fullpage.sty, since this is not a standard latex package. - With <note type="Warning">, replace the arrow with an exclamation mark in a box. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100267 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style/latex/latex.xsl')
-rw-r--r--docs/manual/style/latex/latex.xsl25
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/manual/style/latex/latex.xsl b/docs/manual/style/latex/latex.xsl
index 2b3c7cf647..bf63297537 100644
--- a/docs/manual/style/latex/latex.xsl
+++ b/docs/manual/style/latex/latex.xsl
@@ -23,14 +23,24 @@
<xsl:text>
\documentclass[11pt]{book}
\usepackage{times}
-\usepackage{fullpage}
\usepackage{style/latex/atbeginend}
+%\usepackage[pdftex]{color}
\usepackage[colorlinks=true,letterpaper=true]{hyperref}
% Let LaTeX be lenient about very-bad line wrapping.
\tolerance=9999
\emergencystretch=60pt
+% Adjust margins to a reasonable level
+\topmargin 0pt
+\advance \topmargin by -\headheight
+\advance \topmargin by -\headsep
+\textheight 8.9in
+\oddsidemargin 0pt
+\evensidemargin \oddsidemargin
+\marginparwidth 0.5in
+\textwidth 6.5in
+
% Keep paragraphs flush left (rather than the default of indenting
% the first line) and put a space between paragraphs.
\setlength{\parindent}{0ex}
@@ -41,6 +51,19 @@
\pagestyle{headings}
+\hypersetup{
+ pdftitle={</xsl:text>
+<xsl:value-of select="$messages/message[@name='apache']" />
+<xsl:text> </xsl:text>
+<xsl:value-of select="$messages/message[@name='http-server']" />
+<xsl:text> </xsl:text>
+<xsl:value-of select="$messages/message[@name='documentation']" />
+<xsl:text> </xsl:text>
+<xsl:value-of select="$messages/message[@name='version']" />
+<xsl:text>},
+ pdfauthor={Apache Software Foundation}
+ }
+
\title{</xsl:text>
<xsl:value-of select="$messages/message[@name='apache']" />
<xsl:text> </xsl:text>