diff --git a/doc/source/index.rst b/doc/source/index.rst index 8e139c0e33..44397e77cc 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -61,10 +61,12 @@ Generic rings gr_poly.rst gr_mpoly.rst -.. toctree:: - :maxdepth: 1 +.. only:: not latex - index_generic.rst + .. toctree:: + :maxdepth: 1 + + index_generic.rst Integers @@ -93,10 +95,13 @@ Integers fft_small.rst qsieve.rst -.. toctree:: - :maxdepth: 1 - index_integers.rst +.. only:: not latex + + .. toctree:: + :maxdepth: 1 + + index_integers.rst Rational numbers ---------------- @@ -113,10 +118,12 @@ Rational numbers fmpz_poly_q.rst fmpz_mpoly_q.rst -.. toctree:: - :maxdepth: 1 - - index_rationals.rst +.. only:: not latex + + .. toctree:: + :maxdepth: 1 + + index_rationals.rst Integers mod n --------------- @@ -140,10 +147,12 @@ Integers mod n fmpz_mod_mpoly.rst fmpz_mod_mpoly_factor.rst -.. toctree:: - :maxdepth: 1 +.. only:: not latex + + .. toctree:: + :maxdepth: 1 - index_integers_mod.rst + index_integers_mod.rst Groups and other structures --------------------------- @@ -209,10 +218,12 @@ Real and complex numbers hypergeometric.rst agm.rst -.. toctree:: - :maxdepth: 1 +.. only:: not latex + + .. toctree:: + :maxdepth: 1 - index_arb.rst + index_arb.rst Exact real and complex numbers ----------------------------------------