{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________