Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can it generate a table of contents with page numbers?


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


It can do what HTML can do. You can have a TOC with internal links. Those links should continue to work inside the PDF.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: