Am 2006-09-26 um 08:53 schrieb Taco Hoekwater:

>> I think I tried everything but didn't get it to work.
>> For the moment I use:
>> \def\LPscale{0.6315789} % downscale the image
>> \def\LPkscale{632}
>> % doesn't work: \def\LPkscale{\numexpr1000\LPscale\relax}
>
> Missed this thread so far, but how about this?
>    \edef\LPkscale{\the\numexpr1000\LPscale\relax}

Thank you.
That doesn't run on an error, but scales way too much.
With
\def\LPscale{0.6315789}
the command should have the same effect as
\def\LPkscale{632}

But
\edef\LPkscale{\the\numexpr1000\LPscale\relax}
seems to scale about 100 times too much.

I simply(?!?) want to multiply some floating point value with 1000 to  
set the "scale" parameter of \externalfigure.
Why ist this so difficult?

Is there a book or tutorial on TeX as a programming language somewhere?



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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

Reply via email to