From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13782 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: \index + \definedescription Date: Thu, 09 Oct 2003 09:47:51 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.0.22.1.20031009092931.01b4e688@digitpaint.nl> References: <20031009122750.70c366ef.grosso@mail.ru> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1065686061 705 80.91.224.253 (9 Oct 2003 07:54:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2003 07:54:21 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Oct 09 09:54:19 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A7Vcp-0006ad-00 for ; Thu, 09 Oct 2003 09:54:19 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 451B510B07; Thu, 9 Oct 2003 09:54:10 +0200 (MEST) Original-Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by ref.ntg.nl (Postfix) with ESMTP id 3D33B10AFC for ; Thu, 9 Oct 2003 09:47:49 +0200 (MEST) Original-Received: from vademecum.boede.nl (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id h997llHG003993 for ; Thu, 9 Oct 2003 09:47:47 +0200 (CEST) X-Sender: boedenl01@digitpaint.nl X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Original-To: ntg-context@ntg.nl In-Reply-To: <20031009122750.70c366ef.grosso@mail.ru> Original-References: <20031009122750.70c366ef.grosso@mail.ru> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13782 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13782 Hi Pavel At 06:27 09.10.2003, Pavel Stupin wrote: >Hello, > >In my document, I have a description defined in this way: > >\definedescription[DictEntry][headstyle=bold,location=serried,width=broad] > > >I use the DictEntry description like this: > >***************************************************************** > >\startDictEntry{Walters, Barbara (1931- )} >a US television journalist known especially for her series >Barbara Walters Special... >\stopDictEntry > >\startDictEntry{Waterhouse, Keith (1929- )} >an English journalist and writer of novels and plays... >\stopDictEntry > >\startDictEntry{West, Rebecca (1892-1983)} >an English writer and journalist. She wrote many novels... >\stopDictEntry > >... etc. > >***************************************************************** > > >What I would like to do is to automatically create an \index{} >for every DictEntry so that every entry then appear in the >register. Probably, I should use 'between' parameter when >defining my DictEntry description, but I'm confused with what >should be the proper argument in 'between=\index{???}. I would >appreciate any help. Possibly the following approach can help: Define a list \definelist[name][options] Write to this list at each entry of the description \writetolist[name]{text} At the spot where the list should occur \placelist[name] Programmers might write a macro which could be used in the description definition together with e.g. [after=\TheMacro] which writes into the list. Willi