I'm writting a document with the report class, and I'm using untitled appendices.
\appendix
\chapter{}
%this is Appendix A
\chapter{}
%this is Appendix B
With this method, pdflatex correctly names them as Appendix A and B, both in-text and in the table of contents. All the appendices, and their respective sections/subsections, show up correctly (and automatically) in the TOC.
My problem is that these appendices don't show up in the pdf index (bookmark) links. I've tried using both hiperref
and bookmark
packages, but they both present exactly the same behavior.
If I give the appendix a title it than shows up normally in the index, but I want to keep them untitled. Is there way to have untitled appendices show up in the pdf bookmark/index?
I don't want to add them manually, because these appendices also have a lot of sections and subsections, which I want added as well. They all show up automatically in the TOC, so there must be a way for them to show up in the pdf bookmarks as well.
\chapter[Appendix~\thechapter]{}
?