From: Joshua Slive Date: Tue, 10 Jun 2003 20:17:51 +0000 (+0000) Subject: Transform ... hints to help latex X-Git-Tag: pre_ajp_proxy~1553 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8798b88fdcb3e7ee8656eb7980e69757c8ec21c4;p=thirdparty%2Fapache%2Fhttpd.git Transform ... hints to help latex size tables properly. Also change the html tranforms to ignore this and add the elements to the dtd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100207 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/common.dtd b/docs/manual/style/common.dtd index f8f1d1b8088..34bcfecb909 100644 --- a/docs/manual/style/common.dtd +++ b/docs/manual/style/common.dtd @@ -96,7 +96,7 @@ - + + + + + + diff --git a/docs/manual/style/latex/TODO b/docs/manual/style/latex/TODO index fb0dfb7db06..d55b7d83e59 100644 --- a/docs/manual/style/latex/TODO +++ b/docs/manual/style/latex/TODO @@ -9,35 +9,6 @@ Some things that need to be done with the LaTeX transforms: since you can just take the existing LaTeX as an example, and combine it with the xslt stuff under style/xsl/.] -- Fix tables - - Perhaps we need to add some xml hints about the size of different - columns in the source files. - - Here is a proposal: - - xml: - - - - -
123
- - latex: - \begin{tabular}{lll} % number of "l"s matches the number of s. - \begin{minipage}{.2\linewidth} - 1 - \end{minipage} & - \begin{minipage}{.2\linewidth} - 2 - \end{minipage} & - \begin{minipage}{.6\linewidth} - 3 - \end{minipage} \\ % And continue in the same way if there are more rows - \end{tabular} - - This should be enough to get an xsl expert started. - - Images A quick search makes me believe that pdftex will not handle gifs. diff --git a/docs/manual/style/latex/html.xsl b/docs/manual/style/latex/html.xsl index 3e71dad0c16..24338a96408 100644 --- a/docs/manual/style/latex/html.xsl +++ b/docs/manual/style/latex/html.xsl @@ -116,24 +116,35 @@ interpreted in pre --> -\begin{tabular}{ll} - - - \begin{minipage}{.5\linewidth} - - \end{minipage} - - & - - - \\ - +\begin{tabular}{ + + l +} + \end{tabular} + + + \\ + + + + + + \begin{minipage}{ + + \linewidth} + + \end{minipage} + + & + + + + + + + + + + + + +