[metapost] [mp-form.mp and negative numbers

Stephan Hennig mailing_list at arcor.de
Tue Dec 11 22:52:24 CET 2007


Dan Luecking schrieb:

> The following work-around might or might not be useful. I only tested
> it on stephan's example:
> 
>    noftexpictures:=0;
>    picture texpictures[];
>    texpictures1 := btex$-$etex;
> 
> Use after metafun is input but before any calls to format().

For me, those lines only work for the next call to format.  After that,
again "unknown" numbers appear.

Best regards,
Stephan Hennig


input metafun
prologues := 3;
beginfig(1);
  noftexpictures:=0;
  picture texpictures[];
  texpictures1 := btex$-$etex;
  label(format("%3f", -1234), (50,100));
  label(format("%3f", -1234), (50,50));
endfig;
end



More information about the metapost mailing list