Am Mittwoch, den 21.Mai 2003 um 22:21 schrieb Laurent Chéno:
(please excuse my poor english)
I'm using ConTeXt with the distribution of teTeX by Gerben Wierda (with iInstaller) under MacOS X (10.2.6). Version of texmf.ii2 : 2003/04/15 12:03:57
This works perfectly :
\starttext \startMPpage label("aa",(0,0)) ; draw fullcircle scaled 3cm ; \stopMPpage \stoptext \end
But this don't work :
\starttext \startMPpage label(btex aa etex,(0,0)) ; draw fullcircle scaled 3cm ; \stopMPpage \stoptext \end
Who can help me ?
If you get an empty page in the second example, it seems like you ran into the same "feature" I did. As I have posted earlier, you could try to fix it: Search for the file texexec.pl, make a backup, and edit it as follows: around line 2218, you will see something like this: { while (/^l\.(\d+)\s/gmois) { print " error in metapost run : $MpName.mp:$1\n" } } unlink "mptrace.tmp" ; rename ($MpFile, "mptrace.tmp") ;
if (-e $MpKep) { unlink ($MpFile) ; rename ($MpKep, $MpFile) } } }
now cut the 3 marked ('>') lines (but without the last two '}' !), it will look like this: { while (/^l\.(\d+)\s/gmois) { print " error in metapost run : $MpName.mp:$1\n" } } unlink "mptrace.tmp" ; rename ($MpFile, "mptrace.tmp") ;
} }
(of course without the '>') and paste them after the 'print "metapost...."' statement around line 2200: rename $MpTex, $MpBck ; unlink $MpDvi } } print " metapost : $MpName\n" ;
if (-e $MpKep) { unlink ($MpFile) ; rename ($MpKep, $MpFile) }
my $cmd = "$own_quote$MpExecutable$own_quote" ; if ($EnterBatchMode) { $cmd .= " $MpBatchFlag " } This should fix the problem. Let me know if this helped. Dennis