jterrace / sphinxtr

The Sphinx Thesis Resource
http://jterrace.github.com/sphinxtr
Other
154 stars 50 forks source link

latex_mods.py extension breaks with Sphinx 1.5 #45

Open newville opened 7 years ago

newville commented 7 years ago

Sphinx 1.5 refactored writers/latex.py significantly, breaking extensions\latex_mods.py at line 17:

  sphinx.writers.latex.HEADER = sphinx.writers.latex.HEADER.replace('\usepackage{sphinx}', '')

as HEADER is no longer used. It looks like solution is to replace the default latex template with one in _templates\latex.tex_t.

getreu commented 7 years ago

same with Sphinx v1.5.3

getreu commented 7 years ago

And 2 more warnings...

Running Sphinx v1.5.3
loading pickled environment... not yet created
WARNING: latex_elements['footer'] is deprecated. Use latex_elements['preamble'] instead.
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 13 added, 0 changed, 0 removed
reading sources... [100%] index                                                                                                                                                                      
/home/getreu/Downloads/tmp/sphinxtr-master/ch-intro/index.rst:None: WARNING: nonlocal image URI found: https://travis-ci.org/jterrace/sphinxtr.svg?branch=master