Let's count the reasons:
1) there is no guarantee bookmarks entries are chapter starts
2) PDF consists of a bunch of font glyphs placed at absolute co-ordinates on the page. A bookmark or any link really is also just another co-ordinate on a page. There is no way to map that to some semantic element reliably. One has to use heuristics.
|