1 Oct
2011
1 Oct
'11
6:38 a.m.
I was experimenting with multi-level counters when I noticed that \rawsubstructurecounter[..][...] fails because commands.valuestructurecounter is not defined. I think that \dorawsubstructure counter should use 'structurecountervalue' rather than 'valuestructurecounter'. Thus, its definition should be \def\dorawsubstructurecounter [#1][#2]{\ctxcommand{structurecountervalue("\@@thestructurecounter{#1}",#2)}} Minimal example: \definestructurecounter[test] \starttext \incrementsubstructurecounter[test][2] \rawsubstructurecounter[test][1] \rawsubstructurecounter[test][2] \stoptext Aditya