Otared Kavian via ntg-context schrieb am 31.10.2021 um 18:11:
Hi,
Your example has two issues, since you invoke \externalfigure before \starttext, and moreover you don’t use the place figure mechanism. The following gives the result you want:
\setupinteraction[state=start] \starttext \startplacefigure[reference=clock] \externalfigure[clock.jpg] \stopplacefigure In figure \at[clock] you see a clock \page In figure \at[clock] you see a clock.
Or better: in \in{Figure}[clock] you see a clock. \stoptext
With \in you the value of the float counter while \at shows the page where the float is placed. The original example passed a name to the optional argument of \externalfigure but when you do this you just access a named list of figure options, e.g. rotating the image by 90 degrees counter clockwise. \setupexternalfigures[location={local,global,default}] \defineexternalfigure[rotated][orientation=90] \starttext \externalfigure[hacker.jpg][rotated] \stoptext Wolfgang