]> granicus.if.org Git - apache/commitdiff
port latex/pdf changes from trunk
authorAndré Malo <nd@apache.org>
Mon, 3 Feb 2014 14:17:36 +0000 (14:17 +0000)
committerAndré Malo <nd@apache.org>
Mon, 3 Feb 2014 14:17:36 +0000 (14:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1563908 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/latex/latex.xsl

index 89ed4f3bc06210cfb4e8a86b2912761ce690d906..51a58823731df7545de8496254353522999ad9f2 100644 (file)
 \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}}
 
@@ -143,12 +148,14 @@ Server Documentation Project.  More information is available at
   <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>