diff options
author | André Malo <nd@apache.org> | 2014-02-03 15:59:23 +0000 |
---|---|---|
committer | André Malo <nd@apache.org> | 2014-02-03 15:59:23 +0000 |
commit | f825e4b3c49062e7982b5c7bcfa46dacc503e751 (patch) | |
tree | 2ac9622752b4f051591a48e4157819e7738b14bb /docs | |
parent | 5c5d990d9b33b8a297810dcaf14517378cee2d35 (diff) | |
download | httpd-f825e4b3c49062e7982b5c7bcfa46dacc503e751.tar.gz |
port pdf fixes from trunk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1563966 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/style/latex/latex.xsl | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/manual/style/latex/latex.xsl b/docs/manual/style/latex/latex.xsl index 5c773979f2..913f3fc63e 100644 --- a/docs/manual/style/latex/latex.xsl +++ b/docs/manual/style/latex/latex.xsl @@ -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 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> |