[Dear syndicate: I sent this Saturday with no response yet. Sorry 4 being a pest, but I've got to get this (much-delayed) book to the publisher this week; hope someone can help...:-)] Dear gang: I have a \placecontent-type problem. I want to collect all the subsections and subsubsections of the main bodymatter of a book into a list, then place that list into an appendix (conversion=Characters): \definecombinedlist[synopsis][subsection,subsubsection][textstyle=\tf] \setupcombinedlist [synopsis][alternative=c,textstyle=\tf] There are two problems: 1. If I place the content list within a chapter, the list disappears. It works if I place it before the chapter heading. Thus, I need a way to do \placesynopsis beneath a chapter heading; 2. \start-\stopappendices begins a new sectionblock, therefore \placesynopsis does nothing, even if I do not place it within a chapter/appendix. Thus (assuming we can solve problem 1) I need a way to change the conversion to Characters on the fly within the bodymatter sectionblock. I need, e.g. 1. A Chapter 2. Another Chapter A. An Appendix within the same sectionblock. Is this possible? I notice that conversion=Characters appears to be defined for the global sectionblock, but not for local headings. It would be nice if I could do something like \definehead[appendix][chapter] \setuphead[appendix][conversion=Characters] with the first instance of \appendix starting with `A' (i.e., decoupled from the chapter numbers). See the attached file for some experiments. Best Idris ======================================================== \setupoutput[pdftex]% \definecombinedlist[summary][chapter][textstyle=\tf] \setupcombinedlist [summary][alternative=c,textstyle=\tf] \definecombinedlist[synopsis][subsection,subsubsection][textstyle=\tf] \setupcombinedlist [synopsis][alternative=c,textstyle=\tf] \starttext \startbodymatter \placesummary \page \placesynopsis \chapter{This is a test.} \subsection{This is a subtest.} \subsubsection{This is a subsubtest.} \chapter{This is another test.} \subsection{This is another subtest.} \subsubsection{This is another subsubtest.} \chapter{Synopsis} \placesynopsis \stopbodymatter \startappendices \placesynopsis \chapter{Synopsis} \placesynopsis \stopappendices \stoptext ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid wrote:
1. If I place the content list within a chapter, the list disappears. It works if I place it before the chapter heading. Thus, I need a way to do \placesynopsis beneath a chapter heading;
\chapter{...} \placesynopsis \section{...} will give a toc of the chapter \chapter{...} \section{...} \placesynopsis[criterium=previous] % or chapter should give alist at the chapter level as well; by default the list commands give a local list, so in your appendix you need: \placesynopsis[criterium=text] % or all registerds default in teh opposite way, always global, but again you can ask for a register per whatever . Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Idris Samawi Hamid