On 2011-02-22 <23:22:17>, Wolfgang Schuster wrote: > > Am 22.02.2011 um 23:18 schrieb Philipp Gesang: > > > On 2011-02-22 <22:46:20>, Wolfgang Schuster wrote: > >> > >> Am 22.02.2011 um 22:25 schrieb Philipp Gesang: > >> > >>> Hi all, > >>> > >>> [3] Is there a way to globally declare an externalfigure from > >>> inside a group? So that in the following example, the second > >>> reference to “kuh” succeeds. > >>> > >>> ···8<···························································· > >>> \starttext > >>> > >>> \bgroup > >>> \useexternalfigure[kuh][cow] > >> > >> \startglobal > >> \useexternalfigure[kuh][cow] > >> \stopglobal > > > > Thanks a lot, this works like a charm. Too bad I already wrote > > a workaround … > > Which? My-code specific and Lua-based. Cost me a couple of function calls but I managed to get the extfig declared outside the group. > As Hans wrote \startglobal can result in unwanted side effects. I guess I’ll investigate those later and stick to my code just now. Best regards, Philipp > Wolfgang > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________