- Fix page references on "external" directives
(<directivesynopsis location=...)
-- External URL references containing a "#" are broken.
-
- Hundreds of other little problems with presentation, cross-referencing,
etc.
<!-- ==================================================================== -->
<xsl:template match="note">
<xsl:text>\par\smallskip
-{\Huge $\Longrightarrow$}\begin{minipage}[t]{.8\textwidth}
+{\Huge </xsl:text>
+<xsl:choose>
+<xsl:when test="@type='warning'">
+ <xsl:text>\fbox{!} </xsl:text>
+</xsl:when>
+<xsl:otherwise>
+ <xsl:text>$\Longrightarrow$</xsl:text>
+</xsl:otherwise>
+</xsl:choose>
+<xsl:text>}\begin{minipage}[t]{.8\textwidth}
\noindent </xsl:text>
<xsl:apply-templates select="title" mode="print" />
<xsl:apply-templates/>
<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}
\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>