DND-5e-LaTeX-Template
DND-5e-LaTeX-Template copied to clipboard
Add new command that switches between chapter abbreviation and Appendix, use it in toc
As discussed in #305, this PR fixes the problem where Appendices show up as normal chapters in the table of contents.
It does this by renewing commands in the toc context when appendices start.
To stay compatible with the current abbreviation, I have added a new command, instead of just using \chaptertitlename\
(as we now do in the footer).