Well, you could always buy a copy of Adobe Acrobat, which is actually designed solely for the purpose of creating and editing PDF files.
Or you could import the file into Calibre, convert it to ePub format, edit the ePub to add the table of contents, then convert it back to PDF.
There are other free tools for working with PDF directly. If you do a Google ...
k2pdfopt (free, open source) can also do this by supplying a text file. See the -toclist option. Use like so:
k2pdfopt -mode copy -n -toclist my_chapter_list.txt srcfile.pdf -o outfile.pdf
...where my_chapter_list.txt is a simple ASCII file with page numbers beginning each line, e.g.
2 Table of Contents
5 Chapter 1
25 Chapter 2
I will extend on @Donald's answer but I would also like to note I do not recommend, personally for quality issues, ever using Calibre for ebook development.
As stated I would suggest getting a copy of Acrobat and you can (for this example I am using Acrobat X Standard but note the I have not seen any difference in the shortcut buttons BUT the GUI has ...
There are also free tools that allow editing/adding bookmarks. A cross platform example is jPdf Tweak.
It is a little clumsy to use, but you can create the table of contents in your favourite spreadsheet program, export as csv and then just import it.
Both Sigil and Calibre can edit or create a TOC for .epub books.
In Sigil, once you have opened your ebook, press Ctrl+T
, and you will open a window where you can generate the TOC from the various h1, h2, h3 (and so on) tags, you can manually select how deep to go in the header hierarchy.
Inside Calibre, select the ebook, press K, and you will get another ...
Well, it turned out that Insert->Link works even across files contained in the epub (and if it was really necessary I could use Insert->Anchor for inserting an anchor which I may use later). It is also possible to select some text, so that the link corresponds to the section selected.
I am used to a simple and free tool that adds clickable bookmarks to PDF or DjVU files: http://handyoutlinerfo.sourceforge.net/.
You first have to prepare (and import in the tool) bookmarks entered in a text file as an indented list of labels and pages. Then the tool creates them in the document as bookmarks you can open/reduce and click on using the left ...
Jpdfbookmark can work for scanned books
Prepare the TOC in .txt file
Chapter 1. The Beginning/23
Para 1.1 Child of The Beginning/25,FitWidth,96
Para 1.1.1 Child of Child of The Beginning/26,FitHeight,43
Chapter 2. The Continue/30,TopLeft,120,42
Para 2.1 Child of The Beginning/32,FitPage
You can OCR the TOC and use regex to fix it.
THIS PART IS EDITED
For 'software-generated' PDF-files, i.e. PDF's not created from scans, I recommend to use (and upvote the answer by Krasjet) pdf.tocgen. Using this package becomes even easier with the toc-mode package for (Spac)Emacs described next.
For all other PDF and DJVU documents there is a new package called toc-mode for Emacs, which in my opinion ...
I do ebook conversions regularly. I can't answer every point in your question, but I can give you some general strategies.
First, the Amazon mobi format is hard and tricky to make a good ebook for. Also, you need to do a lot of testing for it. Typically, publishers create something which looks good in .epub format and then use Kindle Previewer to convert ...
I have created an index for an nonfiction title before (a technical manual), and I think indices do serve a purpose -- and by the way, I created an author index too!
The key thing is making sure the links themselves are large enough that you can click each separate link and not get the wrong one. You should consider increasing the horizontal space between ...
(I assume you are talking about an internal, not external link. Is that right?)
Here are some helpful clues and semi-educated guesses.
The epub3 spec doesn't say anything about whether reading systems need to support this feature. Also, there is nothing in the Content Document spec which forbids this. So I wouldn't think that a hyperlinked image would ...
This is what I've found thus far.
The most cross-platform solution to providing an accessible glossary would be using hyperlinks (styled so as to be somewhat unobtrusive) that link to a glossary in the back. Only the first occurrence of a word would be hyperlinked in this way, and the glossary entries would contain links that send the ...
I wrote an open source command line toolset called pdf.tocgen just for doing this. It uses the embedded font attributes and position information of headings to generate a table of contents automatically.
For example, for the PDF version Paul Graham's On Lisp, available for download on his website but comes without a table of contents. You could use the ...