From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21568 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: \placecontent problems Date: Mon, 25 Jul 2005 10:12:20 -0600 Message-ID: <42F33AC2@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 1122308238 28429 80.91.229.2 (25 Jul 2005 16:17:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 16:17:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 25 18:17:15 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 1Dx5cS-0001nS-Hd for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jul 2005 18:15:56 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4BF311279F; Mon, 25 Jul 2005 18:15:56 +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 04125-07; Mon, 25 Jul 2005 18:15:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A5EF127B4; Mon, 25 Jul 2005 18:12:24 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D1F99127B4 for ; Mon, 25 Jul 2005 18:12:22 +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 04129-06 for ; Mon, 25 Jul 2005 18:12:21 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id 435B21279F for ; Mon, 25 Jul 2005 18:12:20 +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 j6PGCKD110936 for ; Mon, 25 Jul 2005 10:12:20 -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 j6PGCKh490158 for ; Mon, 25 Jul 2005 10:12:20 -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:21568 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21568 [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