Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex_mods.py extension breaks with Sphinx 1.5 #45

Open
newville opened this issue Feb 17, 2017 · 2 comments
Open

latex_mods.py extension breaks with Sphinx 1.5 #45

newville opened this issue Feb 17, 2017 · 2 comments

Comments

@newville
Copy link
Contributor

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

getreu commented Mar 18, 2017

same with Sphinx v1.5.3

@getreu
Copy link

getreu commented Mar 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants