* \startregister…\stopregister bug?
@ 2018-08-14 15:25 Alan Bowen
2018-08-14 15:31 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Alan Bowen @ 2018-08-14 15:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]
In the latest beta (2018.08.10),
\defineregister[TesT]
\starttext
\startregister[TesT]{samples}
\input knuth
\page
\input ward
\stopregister[TesT]
\blank[3*big]
\placeregister[TesT]
\stoptext
produces on page 2 the index entry
*samples 1*
when one expects
*samples 1–2*
Alan
[-- Attachment #1.2: Type: text/html, Size: 931 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \startregister…\stopregister bug?
2018-08-14 15:25 \startregister…\stopregister bug? Alan Bowen
@ 2018-08-14 15:31 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2018-08-14 15:31 UTC (permalink / raw)
To: mailing list for ConTeXt users, Alan Bowen
[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]
You forgot the second argument for \startregister and \stopregister.
\defineregister[TesT]
\starttext
\startregister[TesT][one]{samples}
\input knuth
\page
\startregister[TesT][two]{more}
\input ward
\stopregister[TesT][one]
\page zapf
\stopregister[TesT][two]
\blank[3*big]
\placeregister[TesT]
\stoptext
Wolfgang
Alan Bowen schrieb am 14.08.18 um 17:25:
> In the latest beta (2018.08.10),
>
> \defineregister[TesT]
> \starttext
> \startregister[TesT]{samples}
> \input knuth
> \page
> \input ward
> \stopregister[TesT]
> \blank[3*big]
> \placeregister[TesT]
> \stoptext
>
> produces on page 2 the index entry
> /samples 1/
> when one expects
> /samples 1–2/
> /
> /
> Alan
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2709 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-14 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 15:25 \startregister…\stopregister bug? Alan Bowen
2018-08-14 15:31 ` Wolfgang Schuster
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).