Well, I went ahead, applied the first hunk of the linked sphinx.sty to my sphinx package, and uncommented LANGS line. Now I get this error:
! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
(pdftex.def) If you are using `latex', then call `pdflatex'.
(pdftex.def) Otherwise check and correct the driver options.
(pdftex.def) Error recovery by switching to PDF mode.
See the pdftex.def package documentation for explanation.
Well, I went ahead, applied the first hunk of the linked sphinx.sty to my sphinx package, and uncommented LANGS line. Now I get this error:
! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
(pdftex.def) If you are using `latex', then call `pdflatex'.
(pdftex.def) Otherwise check and correct the driver options.
(pdftex.def) Error recovery by switching to PDF mode.
See the pdftex.def package documentation for explanation.
Full log (as far as my terminal allows): http:// paste.ubuntu. com/1196535/.