Hi all, The following minimal example used to work with mkiv (until last May, I would guess…) but now it doesn't work with the latest ConTeXt version 2009.09.21 17:39 Can any one tell me please what am I doing wrong? Best regards: OK %% begin \setupcolors[state=start] \starttext \startbuffer[axes-1] numeric u ; u := .5cm ; path xox ; xox := (-u,0)--(8u,0) ; path yoy ; yoy := (0,-u)--(0,7u) ; draw xox withcolor blue ; draw yoy withcolor blue ; \stopbuffer This MetaPost graphic is \doifmodeelse{mkiv}{not shown with mkiv} {shown with mkii}: \placefigure[middle][-]{}{\processMPbuffer[axes-1]} {} \stoptext %% end
Otared Kavian wrote:
Hi all,
The following minimal example used to work with mkiv (until last May, I would guess…) but now it doesn't work with the latest ConTeXt version 2009.09.21 17:39
Can any one tell me please what am I doing wrong?
shows ok here ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, 22 Sep 2009, Hans Hagen wrote:
Otared Kavian wrote:
Hi all,
The following minimal example used to work with mkiv (until last May, I would guess…) but now it doesn't work with the latest ConTeXt version 2009.09.21 17:39
Can any one tell me please what am I doing wrong?
shows ok here
It also works for me with 2009.09.18. Do normal MP figures work (those inside \startMPcode...\stopMPcode) Aditya
mpgraph does not appear to work properly under mkiv. %% minimal example %% \starttext \startuseMPgraphic{test} input graph draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage \useMPgraphic{test} \stopTEXpage \stoptext %%%%%%%%%%%%%%%%%%%%% Works correctly under mkii (texexec) but not under mkiv (context). Error message: mplib | mp terminal: (/home/local/context/tex/texmf/metapost/base/graph.mp ! Redundant equation. <to be read again> ; l.143 Gmargin.low=-.07; % bbox fraction for default ra... ! Redundant equation. <to be read again> ; l.144 Gmargin.high=1.07; % bbox fraction for default ra... ) mplib | mp error: unknown, no error, terminal or log messages mplib | mp terminal: [1] mplib | mp error: unknown, no error, terminal or log messages Alan
Alan BRASLAU wrote:
mpgraph does not appear to work properly under mkiv.
The reason why is explained here: http://wiki.contextgarden.net/MkIV_Differences#Metapost Best wishes, Taco
participants (5)
-
Aditya Mahajan
-
Alan BRASLAU
-
Hans Hagen
-
Otared Kavian
-
Taco Hoekwater