Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2020, 07:06 PM   #1
Shohreh
Zealot
Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.Shohreh can program the VCR without an owner's manual.
 
Posts: 148
Karma: 192898
Join Date: Jan 2016
Device: none
Question [SOLVED] Tool to add ToC (bookmarks) to existing PDF?

Hello,

Some PDFs have no table of contents (bookmarks). Here's an example as shown in SumatraPDF.

Is there a software* to add one to an existing PDF file, ie. I don't have the original source?

Thank you.

* qpdf, cpdf, mutool, etc.

--
Edit: Should have checked the archives before asking

Just create a text file by copy/pasting the ToC (with a bit of regex, possibly), and run this command:

Code:
cpdf.exe -add-bookmarks bookmarks.txt input.pdf -o output.pdf
Attached Thumbnails
Click image for larger version

Name:	AB8FE459-DAD3-4ABF-B867-7907F483D8DA.png
Views:	370
Size:	26.3 KB
ID:	184360  

Last edited by Shohreh; 12-29-2020 at 07:27 PM.
Shohreh is offline   Reply With Quote
Old 01-09-2021, 03:29 AM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Shohreh View Post
Edit: Should have checked the archives before asking
I was just going to point you to that topic. Follow willus's advice with cpdf.

Another helpful thing you can do is search all of Mobileread for a specific question/answer.

Type this into your favorite search engine:

Code:
random problem site:mobileread.com
The key part being the "site:". This tells Google/Bing/[...] to only give you hits from this website.

So you could've used:

Code:
create pdf table of contents site:mobileread.com
I did that search on Google/Bing, and that topic popped up 3rd.
Tex2002ans is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add title="" to h* based on existing TOC -- suggestion for new feature (or plugin?) Mister L Sigil 82 09-11-2020 09:09 AM
Tool to auto create bookmarks in pdf's? ehead Related Tools 1 06-24-2013 06:06 PM
retain existing pdf bookmarks indranghimiray Calibre 1 01-27-2010 07:32 AM
retain existing pdf bookmarks indranghimiray Sony Reader 1 01-26-2010 07:12 PM
Tool for extracting pdf bookmarks geraschenko iRex 1 10-24-2009 03:42 PM


All times are GMT -4. The time now is 01:39 PM.


MobileRead.com is a privately owned, operated and funded community.