[NTG-context] \placelist[chapter][counter=realpage] not working
Wolfgang Schuster
wolfgang.schuster.lists at gmail.com
Sat Apr 11 14:53:37 CEST 2020
Pablo Rodriguez schrieb am 11.04.2020 um 13:54:
> Dear list,
>
> here you have the following sample:
>
> \setuppapersize[A6]
> \setupuserpagenumber[way=chapter]
> \starttext
> \placelist[chapter][counter=realpage]
> \dorecurse{5}{\chapter{Chapter}}
> \stoptext
>
> Why doesn’t \placelist[chapter] use the realpage counter?
>
> According to i-context.pdf, \placelist inherits from \setuplist (which
> also inherits from \setupcounter).
While \setuplist inherits values from \setupcounter doesn't mean it
supports all of them and keys like "counter" work only when you create a
new instance which uses the counter of another instance, e.g. you create
two enumerations but both of them share one counter.
Another problem is that you assume counter refers to the page value
while it would make more sense to link it to the section value (or float
number for figures or tables).
> I really need that, since the document I’m composing needs chapter and
> part page numbering independent from the whole document page numbering.
>
> Am I missing something or have I hit a bug?
You can show the realpage value but there is no proper interface setting
(e.g. \setuplist[chapter][pagenumber=realpage]) for this yet and I think
it's better to do this.
Wolfgang
More information about the ntg-context
mailing list