latex.xsl revision 0097a4f3e468c0192a2ce52ffee7bc8cea0a620b
558998ce664055a75595371118f818084d8f2b23Jan Cholasta Copyright 2003-2004 The Apache Software Foundation
558998ce664055a75595371118f818084d8f2b23Jan Cholasta Licensed under the Apache License, Version 2.0 (the "License");
558998ce664055a75595371118f818084d8f2b23Jan Cholasta you may not use this file except in compliance with the License.
558998ce664055a75595371118f818084d8f2b23Jan Cholasta You may obtain a copy of the License at
558998ce664055a75595371118f818084d8f2b23Jan Cholasta Unless required by applicable law or agreed to in writing, software
558998ce664055a75595371118f818084d8f2b23Jan Cholasta distributed under the License is distributed on an "AS IS" BASIS,
558998ce664055a75595371118f818084d8f2b23Jan Cholasta WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
558998ce664055a75595371118f818084d8f2b23Jan Cholasta See the License for the specific language governing permissions and
558998ce664055a75595371118f818084d8f2b23Jan Cholasta limitations under the License.
558998ce664055a75595371118f818084d8f2b23Jan Cholasta xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
558998ce664055a75595371118f818084d8f2b23Jan Cholasta method="text"
558998ce664055a75595371118f818084d8f2b23Jan Cholasta encoding="ISO-8859-1"
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<!-- Read the localized messages from the specified language file -->
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:variable name="messages" select="document('/lang/en.xml')/messages"/>
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<!-- Get the guts of the stylesheets -->
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\documentclass[10pt]{book}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\usepackage{times}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\usepackage{longtable}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\usepackage[pdftex]{graphicx}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\usepackage[colorlinks=true,letterpaper=true,linkcolor=blue,urlcolor=blue]{hyperref}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta% Let LaTeX be lenient about very-bad line wrapping.
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\tolerance=9999
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\emergencystretch=60pt
558998ce664055a75595371118f818084d8f2b23Jan Cholasta% Adjust margins to a reasonable level
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\topmargin 0pt
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\advance \topmargin by -\headheight
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\advance \topmargin by -\headsep
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\textheight 8.9in
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\oddsidemargin 0pt
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\evensidemargin \oddsidemargin
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\marginparwidth 0.5in
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\textwidth 6.5in
558998ce664055a75595371118f818084d8f2b23Jan Cholasta% Keep paragraphs flush left (rather than the default of indenting
558998ce664055a75595371118f818084d8f2b23Jan Cholasta% the first line) and put a space between paragraphs.
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\setlength{\parindent}{0ex}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\addtolength{\parskip}{1.2ex}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta% Shrink the inter-item spaces
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\AfterBegin{itemize}{\setlength{\itemsep}{0em}}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\pagestyle{headings}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='apache']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='http-server']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='documentation']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='version']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta pdfauthor={Apache Software Foundation}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='apache']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='http-server']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='documentation']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta<xsl:value-of select="$messages/message[@name='version']" />
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\author{Apache Software Foundation}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\date{\today}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\begin{document}
558998ce664055a75595371118f818084d8f2b23Jan Cholasta\section*{About The PDF Documentation}
558998ce664055a75595371118f818084d8f2b23Jan CholastaCopyright \copyright 2004 The Apache Software Foundation
558998ce664055a75595371118f818084d8f2b23Jan CholastaLicensed under the Apache License, Version 2.0 (the "License");
558998ce664055a75595371118f818084d8f2b23Jan Cholastayou may not use this file except in compliance with the License.
558998ce664055a75595371118f818084d8f2b23Jan CholastaYou 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}