Peter Münster wrote:
> Hello Hans,
> 
> what is the purpose of \hexstringtonumber{..}?

I am not Hans, of course, but:

Your macro is making the thing harder then needed, this
works just as well:

     \starttext
     \number\hexstringtonumber{1F}
     \number\hexstringtonumber{f5}
     \stoptext

However, like you, I would have expected it to return
a decimal value directly, like this:

    \def\hexstringtonumber#1%
      {\number\dohexstringtonumber#1}

Cheers, Taco

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to