* :-))))) 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
* Re: :-))))) Solution? mpgraph.1 now generated and metapost invoked...
2001-02-22 21:34 :-))))) Solution? mpgraph.1 now generated and metapost invoked Patrick Gundlach
@ 2001-02-23 10:04 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-02-23 10:04 UTC (permalink / raw)
Cc: ConTeXt
At 10:34 PM 2/22/01 +0100, Patrick Gundlach wrote:
>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 :-)))))))
If you wanto to change that, add your patch to you cont-sys.tex file, not
to meta-ini,
\let\initializeMPgraphics\empty
>The problem was that I always ended up with a file (mpgraph.mp) who's
>content was just a simple
>end.
This should not give problems.
>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.
I'm a bit puzzled. Texexec won't even process files that small.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ 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).