* Spurious registers log entry?
@ 2015-03-29 21:47 Rik Kabel
2015-03-31 0:11 ` Rik Kabel
0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2015-03-29 21:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 483 bytes --]
The following code:
\setupregister[index][n=1]
\starttext
\index{A}\index{A+A}AA\seeindex{AA}{A+A}.
\placeindex
\stoptext
generates the following log entry.
structure > registers > invalid see entry in register 'index',
reference 'AA'
No similar entry is produced for a non-+ target. This does not appear to
cause a problem in the output, but the log message
is annoying, and may point to incorrect logic in the source (strc-reg.lua).
--
rik
[-- Attachment #1.2: Type: text/html, Size: 889 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Spurious registers log entry?
2015-03-29 21:47 Spurious registers log entry? Rik Kabel
@ 2015-03-31 0:11 ` Rik Kabel
2015-03-31 8:14 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2015-03-31 0:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]
On 2015-03-29 17:47, Rik Kabel wrote:
> The following code:
>
> \setupregister[index][n=1]
> \starttext
> \index{A}\index{A+A}AA\seeindex{AA}{A+A}.
> \placeindex
> \stoptext
>
> generates the following log entry.
>
> structure > registers > invalid see entry in register
> 'index', reference 'AA'
>
> No similar entry is produced for a non-+ target. This does not appear
> to cause a problem in the output, but the log message
> is annoying, and may point to incorrect logic in the source
> (strc-reg.lua).
>
Nice fix, thank you.
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 1226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Spurious registers log entry?
2015-03-31 0:11 ` Rik Kabel
@ 2015-03-31 8:14 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2015-03-31 8:14 UTC (permalink / raw)
To: ntg-context
On 3/31/2015 2:11 AM, Rik Kabel wrote:
> On 2015-03-29 17:47, Rik Kabel wrote:
>> The following code:
>>
>> \setupregister[index][n=1]
>> \starttext
>> \index{A}\index{A+A}AA\seeindex{AA}{A+A}.
>> \placeindex
>> \stoptext
>>
>> generates the following log entry.
>>
>> structure > registers > invalid see entry in register
>> 'index', reference 'AA'
>>
>> No similar entry is produced for a non-+ target. This does not appear
>> to cause a problem in the output, but the log message
>> is annoying, and may point to incorrect logic in the source
>> (strc-reg.lua).
>>
> Nice fix, thank you.
i commented the message ... not the best solution
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-31 8:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-29 21:47 Spurious registers log entry? Rik Kabel
2015-03-31 0:11 ` Rik Kabel
2015-03-31 8:14 ` Hans Hagen
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).