ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* :-))))) Solution? mpgraph.1 now generated and metapost invoked...
@ 2001-02-22 21:34 Patrick Gundlach
  2001-02-23 10:04 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gundlach @ 2001-02-22 21:34 UTC (permalink / raw)


Yessssssssssssss!

I am getting closer to the solution (?) of my darn problem:
in meta-ini.tex, I have changed the definition of \initializeMPgraphics to:

\def\initializeMPgraphics{\relax}

it was

\def\initializeMPgraphics% \unlinkfile{\MPgraphicfile.mp} -> empty file 
  {%\ifx\bufferprefix\empty \else 
     \immediate\openout\MPwrite\MPgraphicfile.mp
     \immediate\write\MPwrite{end.}%
     \immediate\closeout\MPwrite 
   }%\fi}

now metapost is invoked and the graphic is correctly included in my pdf 
file :-)))))))

The problem was that I always ended up with a file (mpgraph.mp) who's 
content was just a simple
end.
and after the final run, the mpgrap.mp contained a sensible contents. But 
that was not metaposted.
But I did not notice it at all, since texexec would not stop between the 
the different runs of context/etc.

-- 
Viele Grüße, 

    Patrick Gundlach


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-23 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-22 21:34 :-))))) Solution? mpgraph.1 now generated and metapost invoked Patrick Gundlach
2001-02-23 10:04 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).