Re: [NTG-context] Getting changing/random graphics?

2012-02-22 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:50, Hans Hagen pra...@wxs.nl wrote: On 16-2-2012 07:43, Mari Voipio wrote: I'm trying to do something that should be possible and I think variables is the answer, I just can't figure out how. attached .. (will be in test suite) It works. :-) However, this one

Re: [NTG-context] Getting changing/random graphics?

2012-02-21 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:53, Marco net...@lavabit.com wrote: 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]}

Re: [NTG-context] Getting changing/random graphics?

2012-02-16 Thread Hans Hagen
On 16-2-2012 07:43, Mari Voipio wrote: Hello all, I'm trying to do something that should be possible and I think variables is the answer, I just can't figure out how. I have a pile of photos (jpg) in a directory and the assumption is that they are all the same size and there's a spot for the

Re: [NTG-context] Getting changing/random graphics?

2012-02-16 Thread Hans Hagen
On 16-2-2012 07:43, Mari Voipio wrote: I'm trying to do something that should be possible and I think variables is the answer, I just can't figure out how. attached .. (will be in test suite) Hans -

Re: [NTG-context] Getting changing/random graphics?

2012-02-16 Thread Marco
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

[NTG-context] Getting changing/random graphics?

2012-02-15 Thread Mari Voipio
Hello all, I'm trying to do something that should be possible and I think variables is the answer, I just can't figure out how. I have a pile of photos (jpg) in a directory and the assumption is that they are all the same size and there's a spot for the photo on a layer at the top of the page. I