summaryrefslogtreecommitdiff
path: root/sphinx/texinputs
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-10 20:48:20 +0100
committerGeorg Brandl <georg@python.org>2014-01-10 20:48:20 +0100
commit5adf1b73fa0df6914adb68835213999bfd980f2e (patch)
tree303762680458742082c678a822766806810f2ed9 /sphinx/texinputs
parent8b1464c558e64b9a1a74dd007f92010c4f3ece0e (diff)
downloadsphinx-5adf1b73fa0df6914adb68835213999bfd980f2e.tar.gz
Closes #751: Allow production lists longer than a page in LaTeX by using longtable.
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r--sphinx/texinputs/sphinx.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index 50c0d16a..b79ee501 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -238,9 +238,11 @@
\def\productioncont##1{\\& &\code{##1}}
\parindent=2em
\indent
- \begin{tabular}{lcl}
+ \setlength{\LTpre}{0pt}
+ \setlength{\LTpost}{0pt}
+ \begin{longtable}[l]{lcl}
}{%
- \end{tabular}
+ \end{longtable}
}
% Notices / Admonitions