From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61997 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: HowUgly setupregister Date: Sun, 26 Sep 2010 22:45:34 +0200 Message-ID: <0C1AFF72-45EB-4C58-8DB9-5F5FF27ED17E@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285533955 24093 80.91.229.12 (26 Sep 2010 20:45:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 20:45:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 26 22:45:54 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozy6b-0002pu-RW for gctc-ntg-context-518@m.gmane.org; Sun, 26 Sep 2010 22:45:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 579ACCA6E1; Sun, 26 Sep 2010 22:45:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ISj32xeEHDur; Sun, 26 Sep 2010 22:45:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5642CCA6BD; Sun, 26 Sep 2010 22:45:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4A87CA6C8 for ; Sun, 26 Sep 2010 22:45:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zxnXb6akwxyw for ; Sun, 26 Sep 2010 22:45:36 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 8B768CA6BD for ; Sun, 26 Sep 2010 22:45:36 +0200 (CEST) Original-Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.32]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8QKjZwr023754 for ; Sun, 26 Sep 2010 22:45:36 +0200 Original-Received: from [89.247.124.105] (helo=[192.168.1.4]) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Ozy6J-0001nE-Ep for ntg-context@ntg.nl; Sun, 26 Sep 2010 22:45:35 +0200 X-Mailer: Apple Mail (2.1081) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.32; country=DE; region=02; city=Ismaning; latitude=48.2333; longitude=11.6333; http://maps.google.com/maps?q=48.2333,11.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDbwJzWT - 5674ab0f6625 - 20100926 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61997 Archived-At: Hi, in MkII I used for formatting the index-register a command=\HowUgly \def\HowUgly #1{\doHowUgly#1\relax} \def\doHowUgly#1#2\relax{\iffirstregisterentry{\crlf \crlf $\backslash$blank[biggerblank]$\backslash$hangIndex$\{\backslash$bf #1$\}$}#2\else#1#2\fi} In MkIV there is no \iffirstregisterentry any more. What is the corresponding command today? Thanks, Steffen ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________