Hi all,
There appears to be an incompatibility between the MetaPost graphing
functions and MetaFun.

The �testmp.tex� file is a nearly minimum file to test the various metapost
creations. The first two graphics produce the expected result while the
third does not produce a result.

The MetaPost log file �testmp-mpgraph.log� reveals that the number
formatting routine is in trouble.

Running mpost mem=mpost on testmp-mpgraph.mp creates the correct graphic
which can then be incorporated. This �work around� only works because the
graph is the last graphic.

BTW it would be nice if the failure of MetaPost was reported back to the
texexec log file. The message received is of missing pictures rather than
execution failure.
-- 
Nigel

\starttext
\startuseMPgraphic{testabc}
label(btex abcdef etex,origin);
\stopuseMPgraphic
test btex..etex  
\useMPgraphic{testabc}
\startuseMPgraphic{testxyz}
label("xyz",origin);
\stopuseMPgraphic

test ``xyz'' 
\useMPgraphic{testxyz}
\startuseMPgraphic{testgraphlabel}
input graph
draw begingraph(3in,2in);
setrange(origin,2,2);
endgraph;
\stopuseMPgraphic

Test of graph with labels
\useMPgraphic{testgraphlabel}
\stoptext

Attachment: testmp-mpgraph.log
Description: Binary data

Reply via email to