From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/160 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \zieindex is wrong Date: Wed, 07 Oct 1998 11:21:16 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <361B409C.FF11CC8A@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391031 21715 80.91.224.250 (23 Oct 2002 16:37:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:37:11 +0000 (UTC) Original-To: Berend de Boer Xref: main.gmane.org gmane.comp.tex.context:160 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:160 Berend de Boer wrote: > > On Monday, October 05, 1998 12:19 PM, Hans Hagen [SMTP:pragma@wxs.nl] wrote: > > > > Using \zieindex (\seeindex probably in the english interface) doesn't work. > > > > \def\dosetpageregister#1% > > > > > > And change: > > > > ... > > It doesn't work. There are two problems: > > 1. The problem is that if the \seeindex is the only entry for a character, the main character is not listed. > > 2. The 'other entry' is not listed, I only get > > zie: test > > I would expect: > > hello world > zie: test > > As an example see this one: > > \starttekst > \zieindex{hello world}{test} > \volledigeindex > \stoptekst > > If you have the correct index with this entry you have solved the problems. Ok then, substitute this one in core-01a.tex: \setvalue{#1\s!see}##1##2% {\doifreglevelelse[##2::0] {{\global\utilitydonetrue \def\dohandleregisterentry####1% dubbelop {\getvalue{\??id#1\c!tekstcommando}{####1}}% \ifcase\currententrylevel % \e!zie must be label \getvalue{#1\s!entrya}{\sl\e!zie\space##1}% \or \getvalue{#1\s!entryb}{\sl\e!zie\space##1}% \or \getvalue{#1\s!entryc}{\sl\e!zie\space##1}% \fi \c!entryletter\c!entrya\c!entryb\c!entryc \global\let\c!entrya=\relax \global\let\c!entryb=\relax \global\let\c!entryc=\relax \global\let\c!entryletter=\relax \global\firstregisterpagefalse}} {}}% If it still goes wrong, I'll send you the latest release. When I come to documenting/upgrading the low level index part of context, I'll also add some style setting options. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl -----------------------------------------------------------------