From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42156 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Generating a list of items Date: Sat, 5 Jul 2008 23:27:00 -0400 (EDT) Message-ID: References: <20080705190749988368.881788d1@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215314744 21836 80.91.229.12 (6 Jul 2008 03:25:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 03:25:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 06 05:26:29 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KFKtR-00029U-OM for gctc-ntg-context-518@m.gmane.org; Sun, 06 Jul 2008 05:26:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E65B1FCAF; Sun, 6 Jul 2008 05:25:34 +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 14557-04-3; Sun, 6 Jul 2008 05:24:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AB1D1FDEA; Sun, 6 Jul 2008 05:24:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4BE101FD93 for ; Sun, 6 Jul 2008 05:24:41 +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 24815-01-2 for ; Sun, 6 Jul 2008 05:24:04 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id C9F9B1FCAF for ; Sun, 6 Jul 2008 05:24:03 +0200 (CEST) Original-Received: FROM adi-laptop.local (cpe-65-185-17-74.cinci.res.rr.com [65.185.17.74]) BY hackers.mr.itd.umich.edu ID 48703ACC.8110A.19447 ; 5 Jul 2008 23:23:58 -0400 In-Reply-To: <20080705190749988368.881788d1@gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42156 Archived-At: On Sat, 5 Jul 2008, David wrote: > Hi all > > I'm teaching some classes this summer, and want to make myself a > template for lesson planning. One of the things that I'd like to be > able to include, if it works easily, is an automatically-created list > of the materials I need to remember to bring. My intention is that I > will only have to type the name of my materials once, while composing > the plan itself, and have ConTeXt extract all the names and place them > in a list in the same document. > > I expect this means I would define something like \Materials , and then > while typing the main text of my plan be able to type > \Materials{Photographs} or \Materials{Sound Recording} and then have > ConTeXt generate a list of all the items like this ... > > "Materials: 1. Photographs 2. Sound Recording" > > ... near the top of the page. > > I've tried using \placeregister, but it seems to insist on printing a > page number for each item and alphabetical headings as in an index. I > would like to get a simple, numbered list of items. Can I tweak the > \register commands to do this, or perhaps is there something else I > should try? Have you looked at lists (like table of contents, list of figures etc.). I think that the main manual explains how to create new lists. Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________