24 Jun
2006
24 Jun
'06
8:05 p.m.
On Sat, 24 Jun 2006, Taco Hoekwater wrote:
Your macro is making the thing harder then needed, this works just as well:
\starttext \number\hexstringtonumber{1F} \number\hexstringtonumber{f5} \stoptext
Hello Taco, thanks for your answer! (I mentioned Hans, because he is the author of syst-con.tex) Now I understand the meaning of the " character: interpret the following number as hex-value. With this knowledge, my macro becomes as easy as this: \def\HexToNum#1{\number"#1} since I only need uppercase hex-values. Thanks for your enlightenment! Cheers, Peter -- http://pmrb.free.fr/contact/