On 12/9/2020 1:08 PM, Bruce Horrocks wrote:
Here's an odd quirk...
I wanted to get at some of my dataset data for use outside of ConTeXt so I thought I would just extract it from the .tuc file. MWE:
\definedataset [MyDS][delay=yes] \starttext \input tufte \setdataset [MyDS] [ title={Test title}, page={\userpagenumber}, ] \stoptext
In the TUC file I get:
utilitydata.job.datasets.collected={ ["MyDS"]={ { ["index"]=1, ["order"]=1, ["page"]="1\\relax ", ["realpage"]=1, ["title"]="Test title", }, }, }
Note the \\relax following the page number. This isn't a problem for me at the moment but I wondered if it is something that needs to be looked at? you ask for the "typeset number" while you want \pagenumber
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------