ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* The new beta
@ 1999-11-24  3:38 leiwang
  1999-11-24  8:26 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: leiwang @ 1999-11-24  3:38 UTC (permalink / raw)


Hi, Hans
   I download the new beta context today. It seems have some problems
when deal with the metapost graphics. I test it with a small file,
use the s-pre-04.tex. when compile, it give error message likes:

(mpgraph.mp (/usr/local/teTeX/share/texmf/metapost/context/mp-tool.mp)
(/usr/local/teTeX/share/texmf/metapost/context/mp-page.mp)
(/usr/local/teTeX/share/texmf/metapost/context/mp-tool.mp)
! Missing parameter type; `expr' will be assumed.
<to be read again> 
                   tex
l.9 def triangle (expr wid,rot)(tex
                                    t col) = x1 := x3 := y1 := 0 tex\relax etex

? 
! Missing `)' has been inserted.
<to be read again> 
                   t
l.9 def triangle (expr wid,rot)(tex t
                                      col) = x1 := x3 := y1 := 0 tex\relax etex

? 
! Missing `=' has been inserted.
<to be read again> 
                   t
l.9 def triangle (expr wid,rot)(tex t
                                      col) = x1 := x3 := y1 := 0 tex\relax etex

? 

I  think it may have some problem in supp-mps.tex with \writeMPgraphics macros.
I saw the mpgraph.mp and find taht in line 9 it is:

def triangle (expr wid,rot)(tex t col) = x1 := x3 := y1 := 0 tex\relax etex
;

but in s-pre-04.tex, the line is :

def triangle (expr wid,rot)(text col) = x1 := x3 := y1 := 0;

When I edit the mpgraph.mp so that it has the same line as that in s-pre-04.tex,
mpost works well. 

Wang
-------------------------------------
»¶Ó­Ê¹Óñ±¾©µç±¨¾ÖµÄÃâ·Ñµç×ÓÓʼþϵͳ!
 http://btamail.net.cn  or http://mail.bta.net.cn


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-11-24  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-24  3:38 The new beta leiwang
1999-11-24  8:26 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).