[NTG-context] Help with \numexpr

2015-05-04 Thread Keith McKay
Colleagues I've written some code which should extract photos from a directory and a add couple of lines of description to each photo. I'm using a variable (\numberText) as a counter which I was hoping to use with \getfromcommalist[string1, string2,...][\numberText] to add one line of text.

Re: [NTG-context] Help with \numexpr

2015-05-04 Thread Hans Hagen
On 5/4/2015 5:21 PM, Keith McKay wrote: Colleagues I've written some code which should extract photos from a directory and a add couple of lines of description to each photo. I'm using a variable (\numberText) as a counter which I was hoping to use with \getfromcommalist[string1,

Re: [NTG-context] Help with \numexpr

2015-05-04 Thread Keith McKay
Thanks Hans! With your suggestion and initializing \numberText=1, it workes just the way I wanted. I now have a quick and easy of cataloging my photos. Thanks again Keith On 04/05/2015 18:38, Hans Hagen wrote: On 5/4/2015 5:21 PM, Keith McKay wrote: Colleagues I've written some code