ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christopher Creutzig <ccr@mupad.de>
Subject: Re: Understanding registers command
Date: Sun, 01 Aug 2004 20:10:54 +0200	[thread overview]
Message-ID: <410D322E.7080804@mupad.de> (raw)
In-Reply-To: <200407222136.20782.skhilji@tampabay.rr.com>

Salman Khilji wrote:

> \starttext
> \defineregister[street][streets]
> \street{Ridderstraat}
> \placestreets
> \stoptext
> 
> However, texexec gives me the following:
> 
> ! Undefined control sequence.
> <recently read> \placestreets

As far as I can see, \defineregister, or more precisely
\dodefinieerregister, completely ignores its second argument.  I guess
the #1 in the \setvalue lines (but not the other lines) of

    \setvalue{\e!plaats#1}%
      {\doplaatsregister[#1]}%
    \setvalue{\e!volledige#1}%
      {\dovolledigregister[#1]}%

should be #2.  But that would change \completeindex to \completeindices,
which would again contradict the manual, so below therewould have to be
another change, from

\definieerregister
   [\v!index]
   [\v!indices]

to

\definieerregister
   [\v!index]
   [\v!index]

Note that \placestreet and \completestreet do work.

regards,
	Christopher Creutzig

  reply	other threads:[~2004-08-01 18:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23  4:36 Salman Khilji
2004-08-01 18:10 ` Christopher Creutzig [this message]
2004-08-02 11:18   ` Taco Hoekwater
2004-08-02 20:44     ` Hans Hagen

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=410D322E.7080804@mupad.de \
    --to=ccr@mupad.de \
    --cc=ntg-context@ntg.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).