On 2012-02-16 Mari Voipio <mari.voi...@iki.fi> wrote: > So, if I have > > photo1.jpg > photo2.jpg > photo3.jpg > photo4.jpg > > and \dorecurse{10}{insert random photo here}, how do I do it?
\dorecurse{4}{\externalfigure[photo\recurselevel]} Beware, \recurselevel counts go like this 1 2 3 4 5 …. If your photos are not numbered according to this scheme, the 10th picture will bite you. Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________