From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44019 Path: news.gmane.org!not-for-mail From: Holzminister Newsgroups: gmane.comp.tex.context Subject: How to put descriptionheads into the index? Date: Mon, 15 Sep 2008 21:08:04 +0200 Message-ID: <20080915210804.5005a75d@mars.zu.haus> 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 1221505812 9677 80.91.229.12 (15 Sep 2008 19:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 19:10:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 15 21:11:04 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 1KfJTL-00063E-IM for gctc-ntg-context-518@m.gmane.org; Mon, 15 Sep 2008 21:10:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 127811FEB7; Mon, 15 Sep 2008 21:09: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 09647-03-5; Mon, 15 Sep 2008 21:08:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 610951FE85; Mon, 15 Sep 2008 21:08:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B38561FE7C for ; Mon, 15 Sep 2008 21:08:49 +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 09647-03-4 for ; Mon, 15 Sep 2008 21:08:13 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.158]) by ronja.ntg.nl (Postfix) with ESMTP id DBA8F1FE85 for ; Mon, 15 Sep 2008 21:08:12 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so671482ywm.74 for ; Mon, 15 Sep 2008 12:08:11 -0700 (PDT) Original-Received: by 10.102.228.10 with SMTP id a10mr5801763muh.109.1221505690696; Mon, 15 Sep 2008 12:08:10 -0700 (PDT) Original-Received: from mars.zu.haus ( [85.177.138.175]) by mx.google.com with ESMTPS id j9sm2255054mue.3.2008.09.15.12.08.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Sep 2008 12:08:09 -0700 (PDT) X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu) 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:44019 Archived-At: Hi! Let's assume I have a description like the one in the wiki: >>> \startdescr{Para} This is a shorter item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \stopdescr >>> Now I want to have "Para" in my index. I tried something like >>> \definedescription[descr][ command={\index{#1}}] >>> But that puts only a "descr" into the index. Is there another automated way to achieve my wanted effect? Thanks in advance, Eyke ___________________________________________________________________________________ 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 ___________________________________________________________________________________