Hello,
I am currently working on a document where the front page is made using PDFsharp and the remaining pages using MigraDoc. Ideally, I would like the page numbering to start on the second page, so the front page is not counted. I managed to get this working by separating the front page from the remaining MigraDoc document, but now the MigraDoc generated TOC is not working correctly.
Basically, the hyperlink for page 1 points to the first page in the whole document. However, because the front page is not counted in the numbering, page 1 is actually the second page. Therefore, while the numbering is correct, clicking on the hyperlink takes you to the page before the one you want to go to.
Since I don't really need the hyperlinks, I was wondering if it is possible to automatically generate the TOC without them? Or is there some other way of getting the page numbering like this without messing up the hyperlinks?
|