From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42157 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.comp.tex.context Subject: Re: Generating a list of items Date: Sat, 5 Jul 2008 21:40:06 -0700 Message-ID: <20080705214006243802.2eed7601@gmail.com> 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 1215319315 30318 80.91.229.12 (6 Jul 2008 04:41:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 04:41:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 06 06:42:41 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 1KFM5A-0004kE-SU for gctc-ntg-context-518@m.gmane.org; Sun, 06 Jul 2008 06:42:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 69A8A1FE34; Sun, 6 Jul 2008 06:41:45 +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 32139-05-2; Sun, 6 Jul 2008 06:40:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 66AE11FE0C; Sun, 6 Jul 2008 06:40:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD4C41FE09 for ; Sun, 6 Jul 2008 06:40:50 +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 32139-05 for ; Sun, 6 Jul 2008 06:40:11 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.240]) by ronja.ntg.nl (Postfix) with ESMTP id 696B81FE0C for ; Sun, 6 Jul 2008 06:40:11 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so1962462rvb.14 for ; Sat, 05 Jul 2008 21:40:10 -0700 (PDT) Original-Received: by 10.141.128.19 with SMTP id f19mr1399444rvn.45.1215319209973; Sat, 05 Jul 2008 21:40:09 -0700 (PDT) Original-Received: from d66-183-34-43.bchsia.telus.net ( [66.183.34.43]) by mx.google.com with ESMTPS id l31sm3833790rvb.6.2008.07.05.21.40.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jul 2008 21:40:08 -0700 (PDT) In-Reply-To: X-Mailer: GyazMail version 1.5.7 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:42157 Archived-At: On Sat, 5 Jul 2008 23:27:00 -0400 (EDT), Aditya Mahajan wrote: > 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. I thought I had looked there, but I was wrong. A list similar to a table of contents seems like exactly what I need. I'll reply to this thread if I encounter any problems with it. Thank you Aditya. David ___________________________________________________________________________________ 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 ___________________________________________________________________________________