From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31588 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: register fine tuning Date: Thu, 26 Oct 2006 10:42:31 +0200 Message-ID: <8D4C0F70-74EB-4DE0-A519-F4D8FDDFADEE@uni-bonn.de> References: <453FCCE0.3000103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1161852223 6258 80.91.229.2 (26 Oct 2006 08:43:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2006 08:43:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 26 10:43:42 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Gd0pr-0002LI-KL for gctc-ntg-context-518@m.gmane.org; Thu, 26 Oct 2006 10:43:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FD481FF80; Thu, 26 Oct 2006 10:43:34 +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 27639-02; Thu, 26 Oct 2006 10:43:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FE391FF66; Thu, 26 Oct 2006 10:43:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23D101FF80 for ; Thu, 26 Oct 2006 10:43:24 +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 27637-05 for ; Thu, 26 Oct 2006 10:43:20 +0200 (CEST) Original-Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by ronja.ntg.nl (Postfix) with SMTP id DCB211FCEF for ; Thu, 26 Oct 2006 10:43:19 +0200 (CEST) Original-Received: from fwd33.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1Gd0pb-0006cL-05; Thu, 26 Oct 2006 10:43:19 +0200 Original-Received: from [192.168.0.2] (VTsZ30ZboejaSYoUfWb7Oo+fzvVBOWjfvAVaJvo7iW+srfQlDQfz4B@[84.172.124.168]) by fwd33.sul.t-online.de with esmtp id 1Gd0pI-06mipM0; Thu, 26 Oct 2006 10:43:00 +0200 In-Reply-To: <453FCCE0.3000103@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-ID: VTsZ30ZboejaSYoUfWb7Oo+fzvVBOWjfvAVaJvo7iW+srfQlDQfz4B@t-dialin.net X-TOI-MSGID: b50241c1-d651-4813-9428-b84ae5443fa2 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31588 Archived-At: On Oct 25, 2006, at 10:45 PM, Hans Hagen wrote: > in mkiv there will be more control because we may move index = > handling in mem > > Hans > OK, since we're speaking of registers, may I repeat my question from = last weekend and add something that could be a bug? First, here's the = question: I have defined a special index which will typeset numbers in bold: \setupregister[index][imp][pagestyle=3Dbold] which I invoke like \index[imp::]{modernity} How can I get a register range to use this special style? I tried something like \startregister[imp][signi][signifie]{\em signifi=E9} but get errors "missing csname." What am i overlooking? And then the bug: I want a \seeindex entry to be typeset in italics, = but there seems to be a problem; I get this error message: Runaway argument? {\noexpand \gdef \noexpand \dosplitofffoliopart [####1 = \sectionseparator \ETC. ! File ended while scanning use of \aftersplitstring. \par \relax \dodoreadfile ...\preprocesssuffix \or \fi \relax \the = \everyafterreadfile \emphasislook ...beginrobusttest \futurelet \next \emphasistest \doifelsenothing #1->\edef \!!stringa {#1 }\ifx \!!stringa \empty = \expandafte... \dolimitatetext #1#2->\doifelsenothing {#1} {\unhbox \nextbox } = {\nopenaltie... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ! Missing number, treated as zero. \begingroup \emphasislook ->\begingroup \beginrobusttest \futurelet \next = \emphasistest ...s \scratchdimen \emphasiscorrection \relax \ifdim = \scratchdime... \secondoftwoarguments #1#2->#2 \dolimitatetext ...fi \else \unhbox \nextbox \fi } \egroup \limitatetext ...ormallimitatetext {#1}\leftlimit {#3}\else = \speciallimitate... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ! Illegal unit of measure (pt inserted). \begingroup \emphasislook ->\begingroup \beginrobusttest \futurelet \next = \emphasistest ...s \scratchdimen \emphasiscorrection \relax \ifdim = \scratchdime... \secondoftwoarguments #1#2->#2 \dolimitatetext ...fi \else \unhbox \nextbox \fi } \egroup \limitatetext ...ormallimitatetext {#1}\leftlimit {#3}\else = \speciallimitate... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ) minimal test file: \starttext one\seeindex[one]{\em one}{two} \seeindex[Latex]{\LaTeX}{one}\LaTeX\ = \index{two}two \page \placeregister[index] \stoptext Thanks for any help! Thomas