diff --git a/doc/source/index.rst b/doc/source/index.rst index f7b7b3e..336c8a7 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -90,7 +90,7 @@ LaTeX output: .. jupyter-execute:: from IPython.display import Latex - Latex('\\int_{-\infty}^\infty e^{-x²}dx = \sqrt{\pi}') + Latex('\\int_{-\\infty}^\\infty e^{-x²}dx = \\sqrt{\\pi}') or even full-blown javascript widgets: diff --git a/tests/test_execute.py b/tests/test_execute.py index 437fc0f..dd7fc90 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -13,6 +13,7 @@ from sphinx.addnodes import download_reference from sphinx.errors import ExtensionError from sphinx.testing.util import SphinxTestApp, assert_node + try: from sphinx.testing.util import path except ImportError: