![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
1 Oct
2011
1 Oct
'11
12: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