[Tex/LaTex] Bibliography after Appendix, but supposed to be not PART of it

appendicesbibliographiesbookmarks

I'm using document class scrbook.
I want to put my bibliography after appendix (in source this starts with \appendix), but in my toc that is visible when I open up the generated PDF file, it is a part of the appendix. Is there a way to make it the same level as appendix but not create a whole new part in the document (i.e. manipulate only the toc?). Thank you in advance!

Best Answer

One should distinguish between the Table of Contents and the bookmarks: the former is part of the printed document, the latter is a property of the PDF previewer. From what you say the problem seems to be with the bookmarks.

Add \usepackage{bookmark} after loading hyperref (it's one of the few packages that should be called so) and, just before the bibliography in your document, say

\bookmarksetup{startatroot}