From 084682929d4596b0559da1d9f5bd6f657378c69e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Wed, 29 Jan 2014 11:14:09 +0000 Subject: [PATCH] - treat highlight sections in latex output identically to pre sections. - trim whitespaces from pre and highligh sections. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1562402 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/style/latex/common.xsl | 4 +- docs/manual/style/latex/html.xsl | 88 +++++++++++++++++++----------- 2 files changed, 58 insertions(+), 34 deletions(-) diff --git a/docs/manual/style/latex/common.xsl b/docs/manual/style/latex/common.xsl index a3a04a0bde..15c8946f8d 100644 --- a/docs/manual/style/latex/common.xsl +++ b/docs/manual/style/latex/common.xsl @@ -78,14 +78,14 @@ select="$metafile/basename"/> \par\smallskip\begin{center} -\fbox{ +\fbox{ \begin{minipage}{.8\textwidth}\begin{flushleft} {\ttfamily\small \noindent } \end{flushleft}\end{minipage} -} +} \end{center}\par\smallskip diff --git a/docs/manual/style/latex/html.xsl b/docs/manual/style/latex/html.xsl index 3e566e2ffc..108d470141 100644 --- a/docs/manual/style/latex/html.xsl +++ b/docs/manual/style/latex/html.xsl @@ -1,4 +1,7 @@ + +]> -\begin{itemize} - +\begin{itemize}&lf; -\end{itemize} - +\end{itemize}&lf; -\begin{enumerate} - +\begin{enumerate}&lf; -\end{enumerate} - +\end{enumerate}&lf; \item - - +&lf; -\begin{description} - +\begin{description}&lf; -\end{description} - +\end{description}&lf; @@ -114,8 +110,7 @@ -\par - +\par&lf; @@ -148,23 +143,55 @@ } + + + + + + + + + + + + + + + + + + + + + + + + + - -\begin{verbatim} - - -\end{verbatim} - + +\begin{verbatim} + + + + + + + + + + + +\end{verbatim}&lf; -\begin{quotation} - +\begin{quotation}&lf; -\end{quotation} - +\end{quotation}&lf; @@ -197,13 +224,11 @@ interpreted in pre --> -|}\hline - +|}\hline&lf; \hline\end{ -} - +}&lf; @@ -212,8 +237,7 @@ interpreted in pre --> \hline - - + &lf; -- 2.40.0