From c7cb629106c2574772ddb913a85a8f31e82840c4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 10 Jan 2014 20:48:20 +0100 Subject: [PATCH] Closes #751: Allow production lists longer than a page in LaTeX by using longtable. --- CHANGES | 2 ++ sphinx/texinputs/sphinx.sty | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 7a1f75269..122aee4f9 100644 --- a/CHANGES +++ b/CHANGES @@ -21,6 +21,8 @@ Bugs fixed resulted in "literal" being found on every page with a literal in the title). +* #751: Allow production lists longer than a page in LaTeX by using longtable. + Documentation ------------- diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 50c0d16a4..b79ee5010 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