I've noticed that when viewing some PDFs in Evince some of them have a index in the left side of Evince where items are clickable.
Well i want to build something like that for one PDF is that possible in Ubuntu?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
There are many ways for crating TOC in PDF. Best one is probably using pdfmarks file which exposes all possibilities described by Adobe pdfmarkReference
It's not that hard to programatically parse PDF documents and collect needed information for creating this pdfmarks files, which afterwards can be embedded in PDF file by using GhostScript i.e.
For an easy way of manually adding TOC entries, like you want I assume, PDFMod GUI utility can help. It's listed in Synaptic
To supplement zetah's answers, here's a quick tutorial on how to create a pdfmarks file and use ghostscript to add that to a PDF file:
The syntax is a bit arcane, so you will probably need another tool to generate those files.
Here is an updated solution for this: https://help.gnome.org/users/evince/stable/bookmarks.html.en
However, this seems to only work locally. I tried viewing the same bookmarks in my iPad via the Adobe Acrobat Reader App, it did not show up for me.