# Re: Correct paging on PDFs with chapter*

```Hi all,

The documented, correct, and functional fix for this is to use the
\phantomsection command before every \addcontentsline command. The reason is
the hyperref package has a hard time with \addcontentsline and so the hyperref
package offers the \phantomsection command as an official workaround.```
```
So when you guys come up with situations where \addcontentsline produces the
numerically right page numbers in print but goes to the wrong page when
clicked, suspect this hyperref anomole and try the \phantomsection official
workaround.

Thanks

SteveT

On Thursday 24 March 2011 15:57:34 Steve Litt wrote:
> Hi all,
>
> My book has 57 chapters whose environment is Chapter. THen it has an
> Epilogue and three Appendices whose environments are Chapter* because I
> the page numbers right, but the PDF's clickable links in the Table of
> wrong places when you click them. Specifically, they bring you to points
> in the book earlier than the desired place. I've already tried including
> package tcloft and using \cleardoublepage at the end of preceding
> chapters, and nothing worked.
>
> I need to find a way around this, either by fixing the clickability of
> Chapter* within PDFs, or using Chapter and somehow suppressing chapter
> numbering and the use of the word "Chapter". Any ideas?
>
> Thanks
>
> StevET
>
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US