Closed rzach closed 1 year ago
Nice catch, thanks @rzach . The main XML is even more telling in this case, it looks like the chapter was mistakenly merged with the appendix early on (judging by its title):
<appendix inlist="toc" xml:id="A1">
<tags>
<tag>Appendix A</tag>
<tag role="refnum">A</tag>
<tag role="typerefnum">Appendix A</tag>
</tags>
<title><tag close=" ">Appendix A</tag>Chapter</title>
<toctitle><tag close=" ">A</tag>Chapter</toctitle>
No, that's intentional; in book.cls
after \appendix
, \chapter
generates an ltx:appendix
instead of ltx:chapter
. It's the header numbering "math" that's off in the xslt, I think.
After an
\appendix
the resulting header levels are off: both chapters and sections are turned into<h1>
s. E.g.,results in