I have a project created with python-sphinx and I use latexpdf to compile the final pdf.

In the final pdf created, in the index it is visible a Contents: string that I would like to delete.

enter image description here

The only way I found by now is to compile only the latex, open the .tex file, look for the string and delete that from there.

Then compile the pdf via latex make all-pdf.

Is there a way to specify that?


This Contents: is almost certainly in your index.rst file. It is (or was, things could have changed since) put there when you use sphinx-quickstart to initiate a new project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.