johnny
johnny

Reputation: 19735

How do I create a bookmark in a pdf with rst2pdf?

I need to generate a pdf from a large set of rst files. Is it possible to generate bookmarks with rst2pdf? How do I do it? I am trying to avoid having to do it by hand with Acrobat.

The documentation has headings like 1.1, 1.1.1, 1.1.2, 1.2...3.4.6, etc.

Upvotes: 0

Views: 70

Answers (1)

Anton vBR
Anton vBR

Reputation: 18916

If you use table of contents this is done automatically:

Add:

.. contents:: Table of contents 

Upvotes: 1

Related Questions