Skip to content

Commit

Permalink
Merge pull request #1514 from havarddj/docfix
Browse files Browse the repository at this point in the history
Don't build index_***.rst in pdf
  • Loading branch information
fredrik-johansson authored Oct 12, 2023
2 parents 9ce3131 + 804bec4 commit c78e74b
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
----------------
Expand All @@ -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
---------------
Expand All @@ -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
---------------------------
Expand Down Expand Up @@ -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
----------------------------------------
Expand Down

0 comments on commit c78e74b

Please sign in to comment.