Add ToC/bookmarks to an existing PDF document?

  • Follow


I have a set of PDF documents which would benefit greatly if they had a ToC/bookmarks list that 
enabled the reader to jump to specific sections of the document.  So, is there any way to add a 
ToC/list of bookmarks to an existing PDF document?


Thanks in advance,
Rui Maciel
0
Reply Rui 9/26/2010 10:36:19 AM

On Sun, 26 Sep 2010 11:36:19 +0100, Rui Maciel ci disse:

> I have a set of PDF documents which would benefit greatly if they had a
> ToC/bookmarks list that enabled the reader to jump to specific sections
> of the document.  So, is there any way to add a ToC/list of bookmarks to
> an existing PDF document?
[...]

*jpdftweak*
- http://jpdftweak.sourceforge.net/

can easily perform this task
-- 
Puppy Linux wiki:  http://dokupuppylinux.co.cc
Puppy Linux Forum: http://puppylinux.ilbello.com
Windows me genuit, Ubuntu rapuere / tenet nunc Puppy Linux...
0
Reply Lutrin 9/26/2010 10:58:12 AM


Lutrin wrote:

> *jpdftweak*
> - http://jpdftweak.sourceforge.net/
> 
> can easily perform this task

Thanks for the tip, Lutrin.  Your suggestion looks promissing. 


Rui Maciel
0
Reply Rui 9/26/2010 2:33:47 PM

On 26 Sep., 12:36, Rui Maciel <rui.mac...@gmail.com> wrote:
> I have a set of PDF documents which would benefit greatly if they had a T=
oC/bookmarks list that
> enabled the reader to jump to specific sections of the document. =A0So, i=
s there any way to add a
> ToC/list of bookmarks to an existing PDF document?
>
> Thanks in advance,
> Rui Maciel

Ghostscript can also do that for you. I recently used Ghostscript v.
8.71 (from http://www.ghostscript.com/releases/) to achieve s.th. like
this.

If you aren't afraid of a Ghostcript commandline, try it. This command
adds 4 bookmarks to an input.pdf (requires at least 4 pages) and
creates the output.pdf:

gswin32c.exe ^
 -o out.pdf ^
 -sDEVICE=3Dpdfwrite ^
 -c "[/Page 1 /View [/XYZ null null null] /Title (Bookmark text No.
1) /OUT pdfmark" ^
 -c "[/Page 2 /View [/XYZ null null null] /Title (Something else N.
2) /OUT pdfmark" ^
 -c "[/Page 3 /View [/XYZ null null null] /Title (This is the
Number3) /OUT pdfmark" ^
 -c "[/Page 4 /View [/XYZ null null null] /Title (...and now the
last) /OUT pdfmark" ^
 -f c:\path\to\input.pdf
0
Reply pipitas 10/2/2010 5:58:06 PM

3 Replies
898 Views

(page loaded in 0.056 seconds)

Similiar Articles:













7/21/2012 7:56:01 PM


Reply: