On 4/25/2024 4:51 PM, Taco Hoekwater wrote:
On 25 Apr 2024, at 16:45, Thomas A. Schmitz
wrote: On 4/25/24 16:13, Henning Hraban Ramm wrote:
I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error.
Since I've become an expert on tuc files since yesterday (ha!): if I compare the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry ["lastrealpage"]=9 in the references table, mkxl doesn't. This appears to be the relevant bit, and it is connected with the replacement of realpageno by c_realpageno in line 638 of strc-reg.lmt
references.lastrealpage = texgetcount(c_realpageno)
Let's seen if we can make Thomas more of an expert as he's zooming in on the issue: extendregister { metadata = { name = name }, references = { abel = label }, } Let me know if you't see it.
Possibly related: I noticed last week that mkxl does not update the legacy counter \pageno any more for every page. i'll check it
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------