ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: register ranges
       [not found] <mailman.7.1140692402.12786.ntg-context@ntg.nl>
@ 2006-02-23 11:10 ` Duncan Hothersall
  2006-02-23 11:13   ` Thomas A. Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Duncan Hothersall @ 2006-02-23 11:10 UTC (permalink / raw)


> \startregister[index]{Menippean}
> \stopregister[index]
> 
> and it works. However, when I try to replace [index] with my own key  
> (because I have overlapping ranges)
> 
> \startregister[satire]{Menippean}
> \stopregister[satire]
> 
> I get errors: ...

Hi Thomas.

The first [...] in the \startregister command is the name of the
register itself, then there is a second one for the sort key/range
identifier. So you want:

\startregister[index][Menippean]{Menippean}
\stopregister[index][Menippean]

and then you can have

\startregister[index][Menippean1]{Menippean}
\stopregister[index][Menippean1]

as well.

Hope that helps.

Duncan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: register ranges
  2006-02-23 11:10 ` register ranges Duncan Hothersall
@ 2006-02-23 11:13   ` Thomas A. Schmitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2006-02-23 11:13 UTC (permalink / raw)



On Feb 23, 2006, at 12:10 PM, Duncan Hothersall wrote:

>
> Hi Thomas.
>
> The first [...] in the \startregister command is the name of the
> register itself, then there is a second one for the sort key/range
> identifier. So you want:
>
> \startregister[index][Menippean]{Menippean}
> \stopregister[index][Menippean]
>
> and then you can have
>
> \startregister[index][Menippean1]{Menippean}
> \stopregister[index][Menippean1]
>
> as well.
>
> Hope that helps.
>
> Duncan

Duncan, thanks, that helped a lot! I will add a line to the wiki with  
your explanation, if you don't mind...

Thanks, and best

Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: register ranges
  2006-02-23 10:04 Thomas A. Schmitz
@ 2006-02-23 11:12 ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2006-02-23 11:12 UTC (permalink / raw)




Thomas A. Schmitz wrote:
> Hi all,
> 
> I must be obtuse, but I can't find the answer to this easy question:  
> to define a register range, I was using this:
> 
> \startregister[index]{Menippean}
> \stopregister[index]
> 
> and it works. However, when I try to replace [index] with my own key  
> (because I have overlapping ranges)
> 
> \startregister[satire]{Menippean}
> \stopregister[satire]

Are you sure that you have defined that register (\defineregister)?

Cheers, Taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* register ranges
@ 2006-02-23 10:04 Thomas A. Schmitz
  2006-02-23 11:12 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2006-02-23 10:04 UTC (permalink / raw)


Hi all,

I must be obtuse, but I can't find the answer to this easy question:  
to define a register range, I was using this:

\startregister[index]{Menippean}
\stopregister[index]

and it works. However, when I try to replace [index] with my own key  
(because I have overlapping ranges)

\startregister[satire]{Menippean}
\stopregister[satire]

I get errors:
ERROR: Missing \endcsname inserted.

--- TeX said ---
<to be read again>
                    \@@idsatkeyexpansion
\convertexpanded ... \csname \s!do \c!expansion #1
                                                   \endcsname \relax  
\s!defau...

\doprocesspageregister ...#1}\asciiregisterentryA
                                                   \convertexpanded  
{\registe...

\dodogotopar ...ageregister []{}{Menippean satire}
                                                   \ifvmode \nobreak \fi
<to be read again>
                    \index
l.567 \index
             [imp::spoudogeloion]{\localgreek{spoudog'eloion}}  
``serio|-|comi...
--- HELP ---
 From the .log file...

The control sequence marked <to be read again> should
not appear between \csname and \endcsname.

Is there some \define something that I'm missing?

Thanks

Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-23 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.7.1140692402.12786.ntg-context@ntg.nl>
2006-02-23 11:10 ` register ranges Duncan Hothersall
2006-02-23 11:13   ` Thomas A. Schmitz
2006-02-23 10:04 Thomas A. Schmitz
2006-02-23 11:12 ` Taco Hoekwater

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).