Changes of LaTeX macro names in sphinx.sty to use Sphinx prefix.

modified:   sphinx/texinputs/sphinx.sty
	modified:   sphinx/writers/latex.py
	modified:   tests/test_directive_code.py
This commit is contained in:
jfbu
2016-03-04 12:46:34 +01:00
parent 60742ab9f5
commit 038dd00777
3 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ def test_code_block_caption_html(app, status, warning):
def test_code_block_caption_latex(app, status, warning):
app.builder.build_all()
latex = (app.outdir / 'Python.tex').text(encoding='utf-8')
caption = '\\setupcaptionforverbatim{literal-block}{caption \\emph{test} rb}'
caption = '\\SphinxSetupCaptionForVerbatim{literal-block}{caption \\emph{test} rb}'
assert caption in latex