There are many epub or html books, many of them don't have toc at all.
Bookmarks in PDF is far better than toc.
Please provide an easy way like princexml or pdfreactor, etc, such as
pricexml
h1 { prince-bookmark-level: 1 }
h2 { prince-bookmark-level: 2 }
h3 { prince-bookmark-level: 3 }
h4 { prince-bookmark-level: 4 }
h5 { prince-bookmark-level: 5 }
h6 { prince-bookmark-level: 6 }
Pdfreactor
h1 { bookmark-level: 1;}
h2 { bookmark-level: 2;}
h3 { bookmark-level: 3;}
h4 { bookmark-level: 4;}
h5 { bookmark-level: 5;}
h6 { bookmark-level: 6;}
https://print-css.rocks/lesson/lesson-pdf-bookmarks
There are many epub or html books, many of them don't have toc at all. Bookmarks in PDF is far better than toc. Please provide an easy way like princexml or pdfreactor, etc, such as pricexml h1 { prince-bookmark-level: 1 } h2 { prince-bookmark-level: 2 } h3 { prince-bookmark-level: 3 } h4 { prince-bookmark-level: 4 } h5 { prince-bookmark-level: 5 } h6 { prince-bookmark-level: 6 } Pdfreactor h1 { bookmark-level: 1;} h2 { bookmark-level: 2;} h3 { bookmark-level: 3;} h4 { bookmark-level: 4;} h5 { bookmark-level: 5;} h6 { bookmark-level: 6;} https://print-css.rocks/lesson/lesson-pdf-bookmarks