(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 ?
Thank in advance,
Laurent
------------------------------------------------------------------------
--------
--- mpgraph.mpx produced :
% Written by DVItoMP, Version 0.64 (Web2C 7.4.5)
begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
string _n[];
vardef _s(expr _t,_f,_m,_x,_y)=
addto _p also _t infont _f scaled _m shifted (_x,_y); enddef;
_n0="cmr12";
_s("aa",_n0,1.00000,0.0000,0.0000);
setbounds _p to (0,0.0000)--(11.7060,0.0000)--
(11.7060,5.1474)--(0,5.1474)--cycle;
_p endgroup
mpxbreak
------------------------------------------------------------------------
--------
--- mpgraph.mp produced :
% collected graphics of job "test"
mpgraph:=1;
randomseed := 3705;
if unknown context_tool : input mp-tool ;
fi ;
if unknown context_spec : input mp-spec ;
fi ;
if unknown context_grph : input mp-grph ;
fi ;
defaultfont := "cmr10" ;
defaultscale := 12.0pt/10pt ;
graphictextformat := "context" ;
graphictextdirective "\global \loadfontfileoncetrue " ;
string contextversion ;
contextversion := "2003.1.31" ;
if not known _data_prefix_ : string _data_prefix_ , _data_suffix_ ;
fi ;
_data_prefix_ := "mpd-" ;
_data_suffix_ := ".mpd" ;
boolean collapse_data ;
collapse_data := true ;
_data_suffix_ := ".mpd" ;
cmykcolors := true ;
spotcolors := true ;
color OverlayColor, OverlayLineColor ;
OverlayWidth := 426.78743pt ;
OverlayHeight := 597.51323pt ;
OverlayDepth := 597.51323pt ;
OverlayColor := (0,0,0) ;
OverlayLineWidth := 0pt;
OverlayLineColor := (0,0,0) ;
BaseLineSkip := 14.46669pt;
LineHeight := 14.46669pt;
BodyFontSize := 12.0pt;
TopSkip := 12.0pt;
StrutHeight := 10.41603pt;
StrutDepth := 4.05064pt;
CurrentWidth := 426.78743pt;
CurrentHeight := 597.51323pt;
EmWidth := 11.74988pt;
ExHeight := 5.16667pt;
PageNumber := 1;
RealPageNumber := 1;
LastPageNumber := 1;
prologues := 2;
if unknown context_page : input mp-page ;
fi ;
boolean PageStateAvailable, OnRightPage, InPageBody ;
PageStateAvailable := OnRightPage := true ;
InPageBody := false ;
def LoadPageState = OnRightPage := true;
RealPageNumber := 1;
PageNumber := 1;
NOfPages := 1;
PaperHeight := 845.04684pt;
PaperWidth := 597.50787pt;
PrintPaperHeight := 845.04684pt;
PrintPaperWidth := 597.50787pt;
TopSpace := 71.12546pt;
BottomSpace := 62.60228pt;
BackSpace := 71.13275pt;
CutSpace := 99.58769pt;
MakeupHeight := 711.3191pt;
MakeupWidth := 426.78743pt;
TopHeight := 0.0pt;
TopDistance := 0.0pt;
HeaderHeight := 56.90294pt;
HeaderDistance := 0.0pt;
TextHeight := 597.51323pt;
FooterDistance := 0.0pt;
FooterHeight := 56.90294pt;
BottomDistance := 0.0pt;
BottomHeight := 0.0pt;
LeftEdgeWidth := 0.0pt;
LeftEdgeDistance := 0.0pt;
LeftMarginWidth := 75.58197pt;
LeftMarginDistance := 11.99829pt;
TextWidth := 426.78743pt;
RightMarginDistance := 11.99829pt;
RightMarginWidth := 75.58197pt;
RightEdgeDistance := 0.0pt;
RightEdgeWidth := 0.0pt;
InnerMarginDistance := 11.99829pt;
InnerMarginWidth := 75.58197pt;
OuterMarginDistance := 11.99829pt;
OuterMarginWidth := 75.58197pt;
InnerEdgeDistance := 0.0pt;
InnerEdgeWidth := 0.0pt;
OuterEdgeDistance := 0.0pt;
OuterEdgeWidth := 0.0pt;
PageOffset := 0.0pt;
PageDepth := 0.0pt;
enddef ;
ResetTextAreas ;
SaveTextAreas ;
ResetTextAreas ;
if unknown context_core : input mp-core.mp ;
fi ;
local_multi_par_area:=false;
;;
verbatimtex \global \loadfontfileoncetrue etex;
let mprunend = end ;
beginfig(1);
label(btex aa etex
,(0,0)) ;
draw fullcircle scaled 3cm ;
endfig;
let end = mprunend ;
end.
------------------------------------------------------------------------
--------
--- test.log produced
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
(format=cont-en 2003.4.29) 21 MAY 2003 11:24
entering extended mode
**&cont-en test.tex
(./test.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}
ConTeXt ver: 2003.1.31 fmt: 2003.4.29 int: english mes: english
language : language en is active