Hi all, I should call the current head number in a figure. I am getting the following error: ! Undefined control sequence. <argument> \reporttextprefixerror \secondoftwoarguments #1#2->#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1->\ifcsname #1 \endcsname \@EA \secondoftwoarguments \el... <argument> ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...Y\currentheadnumber][width=0.5/textwidth]} Using: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.19 int: english/ english Minimal example attached KR Willi