27 Dec
2007
27 Dec
'07
3:27 p.m.
Wolfgang,
Thanks for the suggestion. However, I'm using ConTeXt to typeset arbitrary XML input from users (and therefore arbitrary image filenames). While your idea works for the two examples that I gave, it doesn't work if the curly braces aren't balanced in the filename (e.g., "flower{1.jpg"). Is there any general character escaping mechanism for macro arguments?
Cheers, Mike
If you use xml as input format you could save the file name in a temporary macro and use this macro now in the \externalfigure command. You already gave a example for this. Wolfgang