[metapost] Trying to figure out MPLib

Shriramana Sharma samjnaa at gmail.com
Fri Aug 3 08:43:56 CEST 2012


On Fri, Aug 3, 2012 at 12:07 PM, Shriramana Sharma <samjnaa at gmail.com> wrote:
> but trying to
> execute simple metapost commands using mp_execute fails.

This is what ensues:

>> beginfig(1)
! Isolated expression.
<to be read again>
                   ;
<*> beginfig ( 1 ) ;
                     draw (0, 0) .. (2, 20) -- (10, 5) .. (3,10) .. cycle ; ...

>> draw(0
! Isolated expression.
<to be read again>
                   ,
<*> beginfig ( 1 ) ; draw (0,
                              0) .. (2, 20) -- (10, 5) .. (3,10) .. cycle ; ...

! Extra tokens will be flushed.
<to be read again>
                   ,
<*> beginfig ( 1 ) ; draw (0,
                              0) .. (2, 20) -- (10, 5) .. (3,10) .. cycle ; ...

>> endfig
! Isolated expression.
<to be read again>
                   ;
<*> ...0) -- (10, 5) .. (3,10) .. cycle ; endfig ;
                                                   end ;

-- 
Shriramana Sharma


More information about the metapost mailing list