Re: [NTG-context] doifnumberelse

2010-03-03 Thread Taco Hoekwater
Hans van der Meer wrote: > > This text suggest that the the test is on whether "string" as a whole is > a number (taken as having digits 0123456789 only, I presume) of contains > nondigits and thus isn't a number. > However, it seems the macro tests on the first character only. The wiki page

[NTG-context] doifnumberelse

2010-03-03 Thread Hans van der Meer
The macro \doifnumberelse is not behaving as I would have expected from the description in Taco Hoekwater's article "Context System Macros: part 1: General macros". There I read: The next macro executesa command depending of the outcome of a test on numerals. \doifnumberelse {string} {t