ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jano Kula <jano.kula@tiscali.cz>
To: ntg-context@ntg.nl
Cc: Hans Hagen <pragma@wxs.nl>, Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: entries in registerentry
Date: Tue, 19 Oct 2010 12:13:04 +0200	[thread overview]
Message-ID: <4CBD6F30.3090708@tiscali.cz> (raw)
In-Reply-To: <56E6D6B3-5779-403E-B51E-72520EE599A9@st.estfiles.de>

Hi Steffen,

On 10/13/2010 07:23 PM, Steffen Wolfrum wrote:
> Hi,
>
> I don't understand the concept of entries in registerentry :o(
>
> Say, you have this example:
>
> \starttext
> \placeregister[index]
> \page
> page 1
> \setregisterentry[index]
>   [entries:1={eins},
>    entries:2={zwei},
>    entries:3={drei},
>    label=range]
> \page
>   page 2
>   text
> \page
>   page 3
> \finishregisterentry[index][label=range]
> text
> \stoptext

\setregisterentry writes only one index entry and entries:1, entries:2, 
entries:3 are the levels of this entry, so \setregisterentry in your 
example is equivalent to

\index{eins+zwei+drei}

and you get

eins
   zwei
     drei <number>

> Why does only have entries:3 the index range "2-4", both entries:1 and 2 are emtpy?
> What should I write in order to have all of those entries referering to the same "2-4"?

Hans might have a better hint, I would write these entries three times.

Jano



___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2010-10-19 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 17:23 Steffen Wolfrum
2010-10-19 10:13 ` Jano Kula [this message]

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=4CBD6F30.3090708@tiscali.cz \
    --to=jano.kula@tiscali.cz \
    --cc=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    --cc=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).