From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38858 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: header to register Date: Tue, 29 Jan 2008 21:01:08 +0100 Message-ID: <1605618C-CCC8-4D4C-B012-C3C0F27419B4@fiee.net> References: <115224fb0801210133m415f6834q2d825eb84e2bae56@mail.gmail.com> <115224fb0801220231j11236ccbjeb2de8a88e1a9cb4@mail.gmail.com> <115224fb0801280016r1a370201g47999ac59365143d@mail.gmail.com> <1A3AFA2B-B6C4-4554-AEE2-28711964E944@fiee.net> <115224fb0801290251if938820mcf45bb232576b50e@mail.gmail.com> <115224fb0801290835i5be8b553re9f102b235f109fa@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201636907 9589 80.91.229.12 (29 Jan 2008 20:01:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2008 20:01:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 29 21:02:07 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 1JJwed-0000rb-3v for gctc-ntg-context-518@m.gmane.org; Tue, 29 Jan 2008 21:01:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 009611FBB5; Tue, 29 Jan 2008 21:01:28 +0100 (CET) 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 30793-03-8; Tue, 29 Jan 2008 21:01:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 799A61FB4E; Tue, 29 Jan 2008 21:01:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 757681FB4E for ; Tue, 29 Jan 2008 21:01:17 +0100 (CET) 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 30793-03-7 for ; Tue, 29 Jan 2008 21:01:11 +0100 (CET) Original-Received: from lvps87-230-27-118.dedicated.hosteurope.de (fiee.net [87.230.27.118]) by ronja.ntg.nl (Postfix) with ESMTP id E34081FB49 for ; Tue, 29 Jan 2008 21:01:10 +0100 (CET) Original-Received: (qmail 1992 invoked from network); 29 Jan 2008 21:01:10 +0100 Original-Received: from 51-2.62-81.cust.bluewin.ch (HELO ?10.128.9.3?) (81.62.2.51) by fiee.net with SMTP; 29 Jan 2008 21:01:10 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753) 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:38858 Archived-At: Am 2008-01-29 um 18:48 schrieb Idris Samawi Hamid: > So do I. But I still use \dots mostly so I did not realize the > difference; > I thought they were the same (or forgot they are different). > > Why the different definitions I wonder? Till then I'll proabably > \let\textellipsis=\unknown. > >> (there a short discussion about this topic a >> long time ago). > > Yes, I was thinking of that when I wrote... need to research/review it > again... And I guess my usual redefinition of \dots as \def\dots{\thinspace.\thinspace.\thinspace.\thinspace} stems from one of that discussions. But let me please revive the subject of this thread: My problem is not with \dots, but with \index within a header command like this: \setuphead[Titel][page=yes, number=no, textcommand=\TitelFrame] \def\TitelFrame#1{\index{#1}% \framed[ width=\textwidth, height=7.5mm, frame=off, align={right,high}]% {\hw\tfa #1}% } I can't tell if it's an expansion problem, but that's probable, because a single \index{foo} works. Here's a rather minimal working example that shows the index problem (even if not the failure with my actual project): \starttext \def\MyTitle#1{{\index{#1}\bfa #1}} \setuphead[chapter][page=no, number=no, textcommand=\MyTitle] \chapter{Lalala} \input tufte \chapter{Bingo} \input tufte \chapter{Abrakadabra} \input tufte \completeindex \stoptext Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 ___________________________________________________________________________________