[New-bugs-announce] [issue4436] Sphinx latex writer crashes when encountering deep section levels

Robert Schuppenies report at bugs.python.org
Wed Nov 26 10:42:15 CET 2008


New submission from Robert Schuppenies <robert.schuppenies at gmail.com>:

The Sphinx latex writer crashes if a documentation has more than 7
levels in a section hierarchy. The LaTeXTranslator class defines 7
section names, each corresponding to a level. If a deeper level is
encountered, no appropriate section name can be found:

File "[..]/svn/doctools/sphinx/latexwriter.py", line 348,  in visit_title
     print "self.sectionnames", self.sectionnames[self.sectionlevel]
IndexError: list index out of range

----------
assignee: georg.brandl
components: Documentation tools (Sphinx)
messages: 76456
nosy: georg.brandl, schuppenies
severity: normal
status: open
title: Sphinx latex writer crashes when encountering deep section levels
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4436>
_______________________________________


More information about the New-bugs-announce mailing list