I am writing a memoir with a lot of chapters using the memoir class.
When generating the pdf, everything works perfectly fine except for the outline of the document.
In the following example:
\documentclass{memoir}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{hyperref}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Introduction}
\blindtext
\part{First part}
\chapter{At first}
\Blindtext
\chapter{Then}
\Blindtext
\part{Second part}
\chapter{Second first}
\Blindtext
\chapter{Then again}
\blindtext
\chapter{General conclusion}
\appendix
\part*{Appendix}
\addcontentsline{toc}{part}{Appendix}
\chapter{First appendix}
\Blindtext
\chapter{Another important appendix}
\backmatter
\chapter{Bibliographie}
\blindtext
\chapter{Glossary}
\blinditemize
\end{document}
(bibliography and glossary are of course managed with adequate packages)
I get the following outline:
Table of contents
Introduction
First part
- At first
- Then
Second part
- Second first
- Then again
- General conclusion
Appendix
- First appendix
- Another important appendix
- Bibliography
- Glossary
While I'd like to have:
Table of contents
Introduction
First part
- At first
- Then
Second part
- Second first
- Then again
General conclusion
Appendix
- First appendix
- Another important appendix
Bibliography
Glossary
\bookmarksetupnext{level=part}with thebookmarkpackage right before\chapter. – tuculuxu Sep 12 '19 at 14:07\printbibliographyand\printglossaries. Thanks again. – tuculuxu Sep 12 '19 at 14:17