Hans Hagen wrote:

beginfig(1) ;

numeric u ; u = 1.0cm ;

  for i=-10 upto 10 :
    if not (i=0) :
      draw textext.lft("$" & decimal i & "$") shifted (i*u,0) ;
    fi ;
  endfor;

endfig ;

end

given that you have configured texexec well:

texexec --mptex thisfile.mp
mptopdf thisfile.1

With ConTeXt 2003.8.15, I get (\000) in thisfile.1, which mptopdf does not handle:

! Undefined control sequence.
l.14 (\0
        00) cmsy10 11.95514 fshow

These seem to be the minus signs.

Regards,
        Christopher Creutzig





_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to