Hi,

Sorry for inconvinience.

Since 1.3.5, LaTeX writer supports :maxdepth: option for toctree directive.
It sets up `tocdepth` counter if :maxdepth: found.
So please set up  your :maxdepth: option.

BTW, it seems worse that the `tocdepth` counter is defined after 
latex_elements['preamble'].
I'll fix it in next version.

Thanks,

2016年2月27日土曜日 7時32分35秒 UTC+9 Jeff McKenna:
>
> Hi everyone,
>
> Using 1.3.5 it seems that when generating latex the resulting tocdepth is 
> always set to a "1".   Here is part of my conf.py:
>
>   latex_elements = {
>     'preamble': '\setcounter{tocdepth}{3}'
>   }
>
> And the resulting *.tex file seems to set that value, and also a value 
> after the title:
>
>   \setcounter{tocdepth}{3}
>
>   \title{MapServer Documentation}
>   \date{February 26, 2016}
>   \release{7.0.1}
>   \author{The MapServer Team}
>   \newcommand{\sphinxlogo}{\includegraphics{banner-large.png}\par}
>   \renewcommand{\releasename}{Release}
>   \setcounter{tocdepth}{1}
>   \makeindex
>
> Is anyone else hitting this problem? 
>
> Thanks,
>
> -jeff
> mapserver.org
>
>
>

-- 
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