diff --git a/docs/environment.yml b/docs/environment.yml index d6d10695..e919543f 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -2,7 +2,7 @@ channels: - conda-forge - nodefaults dependencies: - - python=3.13 + - python=3.11 - scipy - pyopengl - imageio diff --git a/docs/scripting/conf.py b/docs/scripting/conf.py index fde7dd95..6572bab0 100644 --- a/docs/scripting/conf.py +++ b/docs/scripting/conf.py @@ -249,9 +249,6 @@ #this allows \AA to be used in equations 'preamble': '\\global\\renewcommand{\\AA}{\\text{\\r{A}}}', - -# Suppress auto-generated printindex at end; index is printed via scrpt-indices.rst -'printindex': '', } # Grouping the document tree into LaTeX files. List of tuples diff --git a/docs/scripting/scrpt-indices.rst b/docs/scripting/scrpt-indices.rst index 3f9d2aed..9436dcbf 100644 --- a/docs/scripting/scrpt-indices.rst +++ b/docs/scripting/scrpt-indices.rst @@ -5,12 +5,3 @@ `General Index <./genindex.html>`_ -------------------------------------------- - -.. only:: latex - - Index - ===== - - .. raw:: latex - - \printindex diff --git a/docs/source/conf.py b/docs/source/conf.py index 59eaa337..145eded3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -253,9 +253,6 @@ #this allows \AA to be used in equations 'preamble': '\\global\\renewcommand{\\AA}{\\text{\\r{A}}}', - -# Suppress auto-generated printindex at end; index is printed via indices.rst -'printindex': '', } # Grouping the document tree into LaTeX files. List of tuples diff --git a/docs/source/indices.rst b/docs/source/indices.rst index 7e5155c6..cb046c52 100644 --- a/docs/source/indices.rst +++ b/docs/source/indices.rst @@ -16,4 +16,8 @@ .. raw:: latex - \printindex + \renewcommand{\printindex}{% + \begin{theindex} + \printindex + \end{theindex} + }