View Single Post
Old 05-02-2020, 12:15 AM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Tex2002ans View Post
Many many years ago I used jpdfbookmarks:

http://flavianopetrocchi.blogspot.co...marks-252.html

Edit: I just looked up and saw that willus's fantastic tool, k2pdfopt also has an option "-toclist".

This allows you to create a simple text file:

Code:
1 Introduction
10 Chapter 1
+10 Chapter 1, Part A
+25 Chapter 1, Part B
++25 Chapter 1, Part B, Subsection 1
++27 Chapter 1, Part B, Subsection 2
+30 Chapter 1, Part C
50 Chapter 2
70 Chapter 3
and insert that as PDF bookmarks.

You can read more details in his "List of Command-Line Options" (and check the above thread too, willus has tons of answers about his program there).
Yeah, but AFAIK, this poster is downloading websites and converting them to PDFs for readability on his Kindle. I'm not sure how he can use k2pdfopt to create a TOC like that. But, hey, it'll be interesting to know how it goes!

Hitch
Hitch is offline   Reply With Quote