From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42155 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.comp.tex.context Subject: Generating a list of items Date: Sat, 5 Jul 2008 19:07:49 -0700 Message-ID: <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 1215310173 13377 80.91.229.12 (6 Jul 2008 02:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 02:09:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 06 04:10:18 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 1KFJhh-0000FV-6g for gctc-ntg-context-518@m.gmane.org; Sun, 06 Jul 2008 04:10:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8154A1FE52; Sun, 6 Jul 2008 04:09: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 06007-02-2; Sun, 6 Jul 2008 04:08:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D2191FE27; Sun, 6 Jul 2008 04:08:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC4671FD5C for ; Sun, 6 Jul 2008 04:08:35 +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 06007-02 for ; Sun, 6 Jul 2008 04:07:59 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.250]) by ronja.ntg.nl (Postfix) with ESMTP id 1C2401FE27 for ; Sun, 6 Jul 2008 04:07:58 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so1935617rvb.14 for ; Sat, 05 Jul 2008 19:07:57 -0700 (PDT) Original-Received: by 10.141.29.8 with SMTP id g8mr1340716rvj.62.1215310077600; Sat, 05 Jul 2008 19:07:57 -0700 (PDT) Original-Received: from d66-183-34-43.bchsia.telus.net ( [66.183.34.43]) by mx.google.com with ESMTPS id k2sm3640509rvb.4.2008.07.05.19.07.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jul 2008 19:07:56 -0700 (PDT) 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:42155 Archived-At: 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? Thanks 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 ___________________________________________________________________________________