Bibliography crashes on build with docclass 'memoir'
ajgpitch opened this issue · 3 comments
ajgpitch commented
The latest conda version of sphinx 1.5.1 fails to build the latex documentation
Doesn't like any biblio entries.
! LaTeX Error: \begin{bibitemlist} on input line 1547 ended by \end{sphinxthebibliography}.
Builds ok with sphinx 1.4.6
I think it's related to sphinx-doc/sphinx#2629
Anyway, I have tried with docclass 'manual', and ditching our preamble, and I think it looks better anyway.
@nonhermitian I am going to proceed this way unless anyone says that memoir
is essential.
ajgpitch commented
Reported as sphinx-doc/sphinx#3315
ajgpitch commented
Update from sphinx people:
This should fix the issue. Add these lines at the end of your file latex_output_files/latex_preamble.tex:
\ifdefined\endsphinxthebibliography\else
\def\endsphinxthebibliography{\endthebibliography}
\fi
\ifdefined\endsphinxtheindex\else
\def\endsphinxtheindex{\endtheindex}
\fi
ajgpitch commented
However, I think that the 'manual' format looks better