Y
Hacker News
new
|
ask
|
show
|
jobs
by
criddell
3216 days ago
Can it generate a table of contents with page numbers?
2 comments
aumerle
3216 days ago
calibre has been able to convert arbitrary HTML files to PDF with Table of Contents with page numbers, links, embedded fonts, arbitrary headers/footers for years, all rendered using WebKit, without a running X server, for years.
ebook-convert file.html file.pdf --pdf-add-toc
link
hwc
3216 days ago
It can do what HTML can do. You can have a TOC with internal links. Those links should continue to work inside the PDF.
link
ebook-convert file.html file.pdf --pdf-add-toc