![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
2 Sep
2008
2 Sep
'08
1:43 p.m.
Hi all, for a presentation, I would like to have a series of images as backgrounds for my slides, and I want to use them in a randomized order. The images are named "1.jpg" through "20.jpg." So I was thinking of using this code: \externalfigure[\directlua0{print(math.random(20))}][width=\paperwidth] epecting that this should But that doesn't work, ConTeXt doesn't find my pictures (I get "name: dummy" texts). Any idea what is going wrong? Thomas