On Wed, Feb 17, 2010 at 18:44, Alan BRASLAU wrote: > > Why \definehead[appendix][chapter]? > Why not use \chapter{} and \section{} > within \startappendices\stopappendices?
I don't remember exactly (and it was bug anyway even if my code could have been optimized), but I wanted to have different font size, different position, different placement in TOC ("Appendix A - Title" instea of just "A Title"), different page breaking, ... Though I still didn't figure out how to have "Appendix A -" also printed out in TOC (instead of plain "A"). So I simply defined another type of section (faster solution than figuring out how to change appearance of chapter in appendices only). > \chapter{} and \section{} get put into the TOC. > (However, there is a bug and they do not get the proper label: > \setlabeltext [appendix=Appendix ] in the head; > \setlabeltext [chapter=Chapter ] in the list.) > > \appendix{} does not get put into the TOC > so it works like \title{} rather than \chapter{} I defined the second list for that purpose (really ugly, but the fastest way to get it done). But there was a tiny problem with that as well (mkii more problematic) - I didn't manage to get the spacing between two consecutive lists right. For example (compare mkii and mkiv): \definecombinedlist [contenta] [chapter,section] [level=section, criterium=all,alternative=c,aligntitle=yes,width=2.5em] \setuplist [chapter] [style=bold] \setupwhitespace[big] \starttext \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \blank % no effect in mkii at all - remains too narrow \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \blank\blank[big] \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \crlf % too big \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \chapter{a} \section{a.1} \section{a.2} \chapter{b} \section{b.1} \section{b.2} \stoptext Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________