From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \zieindex is wrong
Date: Wed, 07 Oct 1998 11:21:16 +0100 [thread overview]
Message-ID: <361B409C.FF11CC8A@wxs.nl> (raw)
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
-----------------------------------------------------------------
next reply other threads:[~1998-10-07 10:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-07 10:21 Hans Hagen [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-23 16:37 Gilbert van den Dobbelsteen
1998-10-05 21:43 Hans Hagen
1998-10-05 17:30 Berend de Boer
1998-10-05 10:49 Hans Hagen
1998-10-05 10:18 Hans Hagen
1998-10-03 18:10 Berend de Boer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=361B409C.FF11CC8A@wxs.nl \
--to=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).