I upgraded to sphinx 1.3.4 in a python 2.7.8 virtual environment.  

The document I've been working on now doesn't generate a table of contents 
in the latexpdf (and it used to).  After much poking about the past several 
days, I believe that 'make latex' is adding 
\setcounter{tocdepth}{-2}

where it should be a positive number.

So, in a simplified test doc, that just has one file listed in the vanilla 
index.rst and that file has one header, I get in the .tex file
\title{Dummy Doc Documentation}
\date{January 20, 2016}
\release{3.1}
\author{Bleeding Edge}
\newcommand{\sphinxlogo}{}
\renewcommand{\releasename}{Release}
\setcounter{tocdepth}{-2}
\makeindex


If I try to set the tocdepth in the latex preamble in conf.py, the value is 
set before the "\title" and is overwritten here. So the result is where the 
table of contents entries are, I get a page that says "Contents" at the 
top, but no values.

If I manually edit the generated .tex file, change the -2 to a positive 
number, then manually run pdflatex on the .tex file, the generated pdf file 
has the correct toc entries.

Ideas? Work arounds?

Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to