From: James D. <j-d...@us...> - 2003-10-07 23:22:31
|
In message <200...@im...> on Tue, Oct 07, 2003 at 02:19:32PM -0700, Wynn Wilkes wrote: > When using an appendix, the table of contents has an entry for that appendix > but the name of the entry is "Chapter A" instead of "Appendix A". From > looking at the stylesheets, it looks like appencies are just matched to > chapters- although I'm not a latex expert by any means. Yes, appendixes are mapped to \chapter to \section, depending on where <appendix> appears in the DocBook file. For \chapter-style appendixes, the LaTeX command \appendix is issued a few lines before the first appendix. The \appendix command is provided by LaTeX (for DB2LaTeX books, the report.cls file provides it by default). The \appendix command redefines the name of chapters. If I recall correctly, this should be sufficient. I'm can't remember how we handle \section-style appendices. One subtle point is that the name of appendices is provided by LaTeX's localisation, not XML localisation. This is certainly what I had intended, though that is not to say it is the best decision in all circumstances. > Does anyone know a quick fix for that or a way to work around it so the TOC > gets generated correctly? "Works on my test systems" ;-) |