Creating Table of contents in PDF

  • Thread starter Thread starter ComputerGeek
  • Start date Start date
  • Tags Tags
    Pdf Table
Click For Summary

Discussion Overview

The discussion revolves around creating a table of contents (TOC) for a PDF document that allows for easier navigation, particularly in large documents. Participants explore methods for modifying existing PDFs to include a structured TOC that enables jumping to specific sections.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about modifying a PDF to have a TOC in a drawer format for better navigation.
  • Another suggests writing component sections, converting them to PDF, and then creating a hyperlinked TOC before finalizing the document.
  • A later post expresses a desire for assistance in converting an old PDF into a navigable format without access to Adobe Acrobat.
  • One participant proposes a series of command-line tools for converting a PDF to a TOC-enabled format, although they express uncertainty about the effectiveness of the method.

Areas of Agreement / Disagreement

Participants present multiple approaches to creating a TOC, but there is no consensus on the best method or the effectiveness of the proposed solutions. The discussion remains unresolved regarding the optimal way to achieve the desired PDF navigation.

Contextual Notes

Some methods suggested depend on specific software tools and may not be universally applicable. There are also limitations regarding the lack of access to certain software, such as Adobe Acrobat, which may affect participants' ability to implement the proposed solutions.

ComputerGeek
Messages
383
Reaction score
0
I was wondering.. How can you modify a PF file to have the TOC organization in the drawer rather than the flat page preview?

Some PDFs of large documents have an organization that separates the PDF into sections and when you select that element or an element from the tree below an element, it jumps to that page.

any Idea how I can add that to a PDF so it is no so obnoxious to navigate?
 
Computer science news on Phys.org
Try writing the component sections then converting them to a PDF. When all is said and done, write the TOC and hyper-link the sections before creating the PDF of the TOC...
 
Dr Transport said:
Try writing the component sections then converting them to a PDF. When all is said and done, write the TOC and hyper-link the sections before creating the PDF of the TOC...

Actually, I was hoping for help on taking an Old PDF I got on line and converting it to such a system so I can just click on the section I want to jump to. I do not have Acrobat either.
 
Do you have access to a unix machine?

If so you can do this:

pdf2ps (convert pdf to postscript)
ps2html (convert postscript to html)
htmltoc (generate table of contents)
html2ps (convert html to postscript) make sure to use the --toc option
ps2pdf (convert postscript to pdf)

I think it should work, but I'm not sure. Try it if you can.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
62
Views
56K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K