From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21554 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: \placecontent problems Date: Sat, 23 Jul 2005 12:04:15 -0600 Message-ID: <42EE194A@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122141900 26407 80.91.229.2 (23 Jul 2005 18:05:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2005 18:05:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 23 20:04:58 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DwOMO-0000zX-MD for gctc-ntg-context-518@m.gmane.org; Sat, 23 Jul 2005 20:04:28 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 253521277C; Sat, 23 Jul 2005 20:04:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08233-03; Sat, 23 Jul 2005 20:04:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C73D1278A; Sat, 23 Jul 2005 20:04:19 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB4621278A for ; Sat, 23 Jul 2005 20:04:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08053-09 for ; Sat, 23 Jul 2005 20:04:16 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id F313A1277C for ; Sat, 23 Jul 2005 20:04:15 +0200 (CEST) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j6NI4ED275238 for ; Sat, 23 Jul 2005 12:04:14 -0600 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j6NI4Eh137422 for ; Sat, 23 Jul 2005 12:04:14 -0600 X-WebMail-UserID: ishamid Original-To: mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21554 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21554 Dear gang: I have a \placecontent-type problem. I want to collect all the subsections and subsubsections 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