From: Joshua Slive Date: Thu, 19 Jun 2003 18:36:06 +0000 (+0000) Subject: LaTeX: X-Git-Tag: pre_ajp_proxy~1531 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f044bb22f6cd582642b2a77cbec3eddfecb4ac18;p=apache LaTeX: - Add transformations of quickreference and faq. - Move and the titles to their own templates to avoid repeating code. - Fix external directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100304 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/latex/TODO b/docs/manual/style/latex/TODO index a7904553f7..2d335e0cb0 100644 --- a/docs/manual/style/latex/TODO +++ b/docs/manual/style/latex/TODO @@ -1,12 +1,5 @@ Some things that need to be done with the LaTeX transforms: -- Finish special pages: - * quick reference - * faq - [This is a good job for someone who wants to get familiar with LaTeX, - since you can just take the existing LaTeX as an example, and combine - it with the xslt stuff under style/xsl/.] - - Tables Add to xml files. @@ -21,9 +14,6 @@ Some things that need to be done with the LaTeX transforms: not be feasible for us, in which case we could simply replace " with \texttt{"} or something, so that the quotes are all straight. -- Fix page references on "external" directives - ( - + \par\smallskip\begin{center} \fbox{ \begin{minipage}{.8\textwidth}\begin{flushleft} -{\ttfamily\small +{\ttfamily\small \noindent -} +} \end{flushleft}\end{minipage} } \end{center}\par\smallskip @@ -188,4 +188,39 @@ select="$metafile/basename"/> - \ No newline at end of file + + + + + + + \textbf{ + + }\begin{itemize} + + \item + + + + +\end{itemize} + + + + + + + + + +\section{ +} +\label{ +} + + + + + diff --git a/docs/manual/style/latex/directiveindex.xsl b/docs/manual/style/latex/directiveindex.xsl index 1a9f0240f6..15ac30fe9f 100644 --- a/docs/manual/style/latex/directiveindex.xsl +++ b/docs/manual/style/latex/directiveindex.xsl @@ -68,17 +68,11 @@ /directivesynopsis[not(@location)]" /> - + - \section{ - } - \label{ - - - } - + - + \begin{itemize} diff --git a/docs/manual/style/latex/faq.xsl b/docs/manual/style/latex/faq.xsl new file mode 100644 index 0000000000..7faa9ee7b9 --- /dev/null +++ b/docs/manual/style/latex/faq.xsl @@ -0,0 +1,78 @@ + + +]> + + + + + + + + + + + + + + + + + + + diff --git a/docs/manual/style/latex/html.xsl b/docs/manual/style/latex/html.xsl index 060a33127b..c1a5b828ec 100644 --- a/docs/manual/style/latex/html.xsl +++ b/docs/manual/style/latex/html.xsl @@ -170,7 +170,7 @@ interpreted in pre --> - \linewidth}\small + \textwidth}\small \end{minipage} @@ -189,7 +189,7 @@ interpreted in pre --> - \linewidth}\bfseries + \textwidth}\bfseries \end{minipage} diff --git a/docs/manual/style/latex/latex.xsl b/docs/manual/style/latex/latex.xsl index bf63297537..d54b6aca4a 100644 --- a/docs/manual/style/latex/latex.xsl +++ b/docs/manual/style/latex/latex.xsl @@ -18,14 +18,17 @@ + + \documentclass[11pt]{book} \usepackage{times} +\usepackage{longtable} \usepackage{style/latex/atbeginend} %\usepackage[pdftex]{color} -\usepackage[colorlinks=true,letterpaper=true]{hyperref} +\usepackage[colorlinks=true,letterpaper=true,linkcolor=green,urlcolor=blue]{hyperref} % Let LaTeX be lenient about very-bad line wrapping. \tolerance=9999 @@ -224,6 +227,10 @@ + diff --git a/docs/manual/style/latex/manualpage.xsl b/docs/manual/style/latex/manualpage.xsl index fbfc79a816..f5ca57c525 100644 --- a/docs/manual/style/latex/manualpage.xsl +++ b/docs/manual/style/latex/manualpage.xsl @@ -4,28 +4,12 @@ xmlns="http://www.w3.org/1999/xhtml"> - -\section{ -} -\label{ -} - - + + - - \medskip\noindent\textbf{ - - } - \begin{itemize} - - \item - - \end{itemize} - + diff --git a/docs/manual/style/latex/moduleindex.xsl b/docs/manual/style/latex/moduleindex.xsl index ee9cc6844d..cab4a89205 100644 --- a/docs/manual/style/latex/moduleindex.xsl +++ b/docs/manual/style/latex/moduleindex.xsl @@ -64,27 +64,11 @@ - \section{ - } - \label{ - - - } - + - - \medskip\noindent\textbf{ - - } - \begin{itemize} - - \item - - \end{itemize} - - + \subsection*{ diff --git a/docs/manual/style/latex/quickreference.xsl b/docs/manual/style/latex/quickreference.xsl new file mode 100644 index 0000000000..62d6756036 --- /dev/null +++ b/docs/manual/style/latex/quickreference.xsl @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + \footnotesize + + + \begin{longtable}{p{.60\textwidth}p{.25\textwidth}ll}\hline + + + + + + \texttt{ + + } + & + + + + + + + + + + + + + + + + + + + + + + + + + + + + + & + + s + v + d + h + + & + + B + M + C + E + X + + + \\* + + + \multicolumn{4}{l}{\begin{minipage}[t]{.95\textwidth} + + + + + + - + + + + \hfill p.\ \pageref{/mod/ + : + + } + + + \end{minipage}} \\ \hline + + + + + \end{longtable} +\normalsize + + + + + + + + diff --git a/docs/manual/style/latex/synopsis.xsl b/docs/manual/style/latex/synopsis.xsl index 395f5291e9..6e84f97644 100644 --- a/docs/manual/style/latex/synopsis.xsl +++ b/docs/manual/style/latex/synopsis.xsl @@ -108,7 +108,7 @@ - (p.\ \pageref{ + (p.\ \pageref{/mod/ }) @@ -128,18 +128,7 @@ - - \textbf{ - - }\begin{itemize} - - \item - - - - -\end{itemize} - + @@ -261,22 +250,9 @@ - -\textbf{ - -} -\begin{itemize} - - -\item - - -\end{itemize} - - - - + +