MEGA65 / mega65-user-guide

MEGA65 User Guide
73 stars 49 forks source link

More than 26 appendices breaks the build #567

Closed dansanderson closed 4 months ago

dansanderson commented 8 months ago

The Compendium now wants to have more than 26 appendices, which overflows the default \Alph counter. The \AlphAlph counter is supposed to fix this issue, and adding it successfully labels the 27th appendix as "Appendix AA," but the build still fails, and it's not clear from the log output why it fails. (I think my local build is failing with \GenericError because there is an issue generating the error message, so it might be an error from the alphalph package.)

Non-fix that comments on the issue to warn anyone adding a new appendix to the Compendium: https://github.com/MEGA65/mega65-user-guide/commit/788ea736ff46d344a197380d46d06058d8963895

dansanderson commented 4 months ago

This is fixed. The problem was \AlphAlph doesn't work with \begin{appendices}, and needs us to be using \appendix instead, which we now do. (Specifically, it's an issue with hyperref, which only knows how to interoperate with \appendix.)