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

2012-02-22 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:50, Hans Hagen 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 appare

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

2012-02-21 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:53, Marco wrote: > On 2012-02-16 Mari Voipio 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, \recu

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

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

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 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

[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.