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
___________________________________________________________________________________
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
___________________________________________________________________________________