Originally Posted by kovidgoyal
You cannot. They are both limitations of pdf output in calibre. The margins issue should be fixed in the next release, but the links will not work.
I'm converting HTML -> pdf.
The TOC links don't work (they do work in mobi generated from the same HTML), i.e. I'm not sent to the appropriate chapter.
Has this issue been solved in the meanwhile?