sphinxtr
sphinxtr copied to clipboard
Sphinx >= 1.3.0 breaks latex_mods (previous_spanning_row removed from the LaTeX builder)
mod_latex is not able to monkey-patch the latex writer starting with sphinx 1.3.0:
Exception occurred:
File "/home/eudoxos/roro/vale-oman/roro2014/rep1/source/extensions/latex_mods.py", line 106, in depart_row
if self.previous_spanning_row == 1:
AttributeError: DocTranslator instance has no attribute 'previous_spanning_row'
Searching the history revealed this changed in sphinx-doc/sphinx@5d96523f7d44612d6770c0f3be19555415f19f44.
I'm hitting this as well, you can see this in our public repo at https://github.com/projectara/greybus-spec
I am getting this error too. Looks like the project needs updating according to the latest version of LaTeX. Has any body been able to fix this?
If someone else wants to tackle this, I doubt it would be too difficult to fix, but I haven't had any time to work on it.
In the old sphinx version it is in sphinx/writers/latex.py Line 277
self.previous_spanning_row = 0 self.previous_spanning_column = 0
in the new version it is delete because no usage in latex.py
In the old sphinx version it is in sphinx/writers/latex.py Line 277
self.previous_spanning_row = 0 self.previous_spanning_column = 0
in the new version it is deleted because there is no usage in latex.py! it is a cleanup of unused definitions.
https://github.com/rddaz2013/sphinxtr/tree/UpdatePython27