From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38816 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: header to register Date: Mon, 28 Jan 2008 09:16:20 +0100 Message-ID: <115224fb0801280016r1a370201g47999ac59365143d@mail.gmail.com> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201525958 24464 80.91.229.12 (28 Jan 2008 13:12:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 13:12:38 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 28 14:12:58 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 1JJTnB-0008W2-O3 for gctc-ntg-context-518@m.gmane.org; Mon, 28 Jan 2008 14:12:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA2071FB3C; Mon, 28 Jan 2008 14:12:26 +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 02112-01-4; Mon, 28 Jan 2008 14:12:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE9361FE09; Mon, 28 Jan 2008 11:14:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 951BF1FE07 for ; Mon, 28 Jan 2008 11:14:07 +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 15331-02-18 for ; Mon, 28 Jan 2008 11:13:15 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by ronja.ntg.nl (Postfix) with ESMTP id 092312062E for ; Mon, 28 Jan 2008 09:16:21 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so960311uge.50 for ; Mon, 28 Jan 2008 00:16:20 -0800 (PST) Original-Received: by 10.66.251.20 with SMTP id y20mr3134364ugh.67.1201508180652; Mon, 28 Jan 2008 00:16:20 -0800 (PST) Original-Received: by 10.67.94.6 with HTTP; Mon, 28 Jan 2008 00:16:20 -0800 (PST) In-Reply-To: Content-Disposition: inline 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:38816 Archived-At: On Jan 23, 2008 10:04 PM, Henning Hraban Ramm wrote: > 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}}? You could use \unknown Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________