3 ms·
Does the table of contents work if the pdf doesn't come with a table of contents? (That's something I always wished my pdf reader could do)
by ufo 2y ago
Does the table of contents work if the pdf doesn't come with a table of contents? (That's something I always wished my pdf reader could do)
- jigneshdarji91 2y agoYes > If set and the file doesn’t have a table of contents, we use heuristic methods to create a table of contents. You can use max_created_toc_size to prevent creating very large table of contents. https://sioyek-documentation.readthedocs.io/en/latest/configuration.html#create-table-of-contents-if-not-exists https://sioyek-documentation.readthedocs.io/en/latest/config...
- isotypic 2y agoSortof - sioyek will parse the text and attempt to create a table of contents (this does not modify the base pdf), but the accuracy/usefulness varies. For papers I have found it works reasonably well, just sometimes misses a few sections or includes a few junk entries. For textbooks, especially ones with heavy math typesetting, there are too many junk/missing entries a lot of the time in my experience. For papers or for textbooks I only need a small subset of, I find the autogenerated table of contents + bookmarks is typically sufficient. For other cases I like to use pdf.tocgen (https://github.com/Krasjet/pdf.tocgen https://github.com/Krasjet/pdf.tocgen) to semi-manually generate a correct table of contents.
- ufo 2y agoThanks, I'll look into both!
- emmelaich 2y agoThe website says yes: https://sioyek.info/ https://sioyek.info/ Link should be to the website imho.