httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r1563966 - /httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl
Date Mon, 03 Feb 2014 15:59:24 GMT
Author: nd
Date: Mon Feb  3 15:59:23 2014
New Revision: 1563966

URL: http://svn.apache.org/r1563966
Log:
port pdf fixes from trunk

Modified:
    httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl

Modified: httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl?rev=1563966&r1=1563965&r2=1563966&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/latex/latex.xsl Mon Feb  3 15:59:23 2014
@@ -75,6 +75,11 @@
 \setlength{\parindent}{0ex}
 \addtolength{\parskip}{1.2ex}
 
+% Make space in TOC between section numbers and section title (large numbers!)
+\makeatletter
+\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{3.6em}}
+\makeatother
+
 % Shrink the inter-item spaces
 \AfterBegin{itemize}{\setlength{\itemsep}{0em}}
 
@@ -142,12 +147,14 @@ Server Documentation Project.  More info
   <xsl:apply-templates select="title" mode="printcat"/>
   <xsl:text>}
 </xsl:text>
-    <xsl:apply-templates/>
+    <xsl:apply-templates />
     <xsl:if test="@id = 'modules'">
-        <xsl:text>\include{mod/index}</xsl:text>&lf;
-        <xsl:apply-templates select="document($allmodules)/modulefilelist" />
         <xsl:text>\include{mod/module-dict}</xsl:text>&lf;
         <xsl:text>\include{mod/directive-dict}</xsl:text>&lf;
+        <xsl:apply-templates select="document($allmodules)/modulefilelist" />
+    </xsl:if>
+    <xsl:if test="@id = 'index'">
+        <xsl:text>\include{mod/index}</xsl:text>&lf;
         <xsl:text>\include{mod/quickreference}</xsl:text>&lf;
     </xsl:if>
 </xsl:for-each>



Mime
View raw message