From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38789 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: header to register Date: Wed, 23 Jan 2008 22:04:09 +0100 Message-ID: References: <115224fb0801210133m415f6834q2d825eb84e2bae56@mail.gmail.com> <115224fb0801220231j11236ccbjeb2de8a88e1a9cb4@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 1201122383 10216 80.91.229.12 (23 Jan 2008 21:06:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2008 21:06:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 23 22:06:41 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 1JHmnK-0001ky-Nb for gctc-ntg-context-518@m.gmane.org; Wed, 23 Jan 2008 22:06:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 368661FB3C; Wed, 23 Jan 2008 22:05:29 +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 27478-01-2; Wed, 23 Jan 2008 22:04:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F7911FB6B; Wed, 23 Jan 2008 22:04:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 703841FB82 for ; Wed, 23 Jan 2008 22:04:47 +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 12875-06-3 for ; Wed, 23 Jan 2008 22:04:12 +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 9C4021FB3C for ; Wed, 23 Jan 2008 22:04:11 +0100 (CET) Original-Received: (qmail 24080 invoked from network); 23 Jan 2008 22:04:10 +0100 Original-Received: from 116-12.1-85.cust.bluewin.ch (HELO ?10.128.9.3?) (85.1.12.116) by fiee.net with SMTP; 23 Jan 2008 22:04:10 +0100 In-Reply-To: <115224fb0801220231j11236ccbjeb2de8a88e1a9cb4@mail.gmail.com> 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:38789 Archived-At: Am 2008-01-22 um 11:31 schrieb Wolfgang Schuster: > You could try to write \expanded{index{#1}} and use > deeptextcommand=\TitleFrame. Thank you, I always forget about \expanded, and I didn't know about deeptextcommand at all... But it doesn't work, it stops with: TitelNoToc : - Inhalt (./prd_creator.tuo ! Argument of \textormathspace has an extra }. \par } \doregistertexthowto ...?id #1\c!textcommand }{#2} \dostopattributes \dohandleregisterentry ...exthowto {\v!index }{#1} \fi \egroup \!! doneafalse \c!entrya ...urround \z@ \ldots \textormathspace } \global \firstregisterentr... \c!entrya \c!entryb \c!entryc \c!entryd ... l.177 ...age{index}{,}{21}{2--0-6-0-0-0-0-0--5}{7} probably caused by \dots in: \Titel{Wach nun auf\dots} with those definitions: --- >8 --- \def\dots{\thinspace.\thinspace.\thinspace.\thinspace} \definehead[Titel][chapter] \definehead[TitelNoToc][chapter] \definehead[TitelNoPage][chapter] \definehead[TitelKlein][chapter] \def\TitelFrame#1{\expanded{\index{#1}}% \framed[ width=\textwidth, height=7.5mm, frame=off, align={right,high}, after={}, before={}]% {\switchtobodyfont[12pt]\hw\tfa #1}} \def\TitelFrameKlein#1{\expanded{\index{#1}}% \framed[ width=\textwidth, height=5mm, frame=off, align={right,high}, after={}, before={}]% {\switchtobodyfont[10pt]\hw\tfb #1}} \setuphead[Titel][page=yes, number=no, deeptextcommand=\TitelFrame] \setuphead[TitelNoToc][page=yes, number=no, deeptextcommand=\TitelFrame] \setuphead[TitelNoPage][page=no, number=no, deeptextcommand=\TitelFrame] \setuphead[TitelKlein][page=no, number=no, deeptextcommand= \TitelFrameKlein] --- 8< --- Does that mean that must not use any commands (like \dots) in my \expanded{\index{#1}}? 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 ___________________________________________________________________________________