ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MPtoPDF problem: metafun.mem error
@ 2003-08-19 15:28 Andreas Steiger
  2003-08-19 15:34 ` David Arnold
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Steiger @ 2003-08-19 15:28 UTC (permalink / raw)


Hi,

  I'm trying to setup Metapost on my computer using Miktex (version
  2.2.6) but when I try to execute mptopdf.pl I get the following
  error message:

<snip>
 TeXExec 3.2 - ConTeXt / PRAGME ADE 1997-2003
 
              metapost : G:\metapost\height
                format : metafun
initexmf: don't know how to dump metafun
cannot make metafun.mem
I can't found the feault mem file!

        total run time : 0 seconds

MPtoPDF 1.2 : error while processing mp file
</snip>

  I tried already different things (like changing paths) but nothing
  worked :(. How could I solve my problem?
-- 
Best regards,
 Andreas                          mailto:anstei@ksk.ch

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

* Re: MPtoPDF problem: metafun.mem error
  2003-08-19 15:28 MPtoPDF problem: metafun.mem error Andreas Steiger
@ 2003-08-19 15:34 ` David Arnold
  2003-08-19 16:15   ` Re[2]: " Andreas Steiger
  0 siblings, 1 reply; 4+ messages in thread
From: David Arnold @ 2003-08-19 15:34 UTC (permalink / raw)


Andreas,

First, type:

texexec --make --alone

and see what happens. Look in \localtexmf\miktex\fmt and check the dates of
cont-en.efmt. Look for a newly updated metafun.mem file. If there is one
there, move it to \localtexmf\miktex\mem.

On some systems texexec --make --alone will dumpt the format files into the
current directory. You must move them manually to the correct place:
\localtexmf\miktex\fmt for format files, \localtexmf\miktex\mem for the
metapost format files.

Don't forget to refresh the filename database and make sure Yap is closed
when you do so.

At 05:28 PM 8/19/03 +0200, you wrote:
>Hi,
>
>  I'm trying to setup Metapost on my computer using Miktex (version
>  2.2.6) but when I try to execute mptopdf.pl I get the following
>  error message:
>
><snip>
> TeXExec 3.2 - ConTeXt / PRAGME ADE 1997-2003
> 
>              metapost : G:\metapost\height
>                format : metafun
>initexmf: don't know how to dump metafun
>cannot make metafun.mem
>I can't found the feault mem file!
>
>        total run time : 0 seconds
>
>MPtoPDF 1.2 : error while processing mp file
></snip>
>
>  I tried already different things (like changing paths) but nothing
>  worked :(. How could I solve my problem?
>-- 
>Best regards,
> Andreas                          mailto:anstei@ksk.ch
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re[2]: MPtoPDF problem: metafun.mem error
  2003-08-19 15:34 ` David Arnold
@ 2003-08-19 16:15   ` Andreas Steiger
  2003-08-27 17:25     ` Patrick Gundlach
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Steiger @ 2003-08-19 16:15 UTC (permalink / raw)


Hello David,

Tuesday, August 19, 2003, 5:34:07 PM, you wrote:

DA> Andreas,

DA> First, type:

DA> texexec --make --alone

DA> and see what happens.

  Well, after about a minute of tons of lines i get another error
  message :(.

<snip>
loading : Context Support Macros / PDF
) ( \localtexmf\tex\context\base\supp-mpe.tex
loading : Metapost Special Extensions
! Undefined control sequence.
1.537 \appendtoks
</snip>

  These are the lines 530 to 546, I tried already do mark the specific
  lines as comment, but then other error messages appear.

<snip>
\def\stopMPshading
  {\global\advance\currentPDFshade \plusone
   \setxvalue{obj:Sh:\currentMPspecial}%
     {/Sh\the\currentPDFshade\space\the\pdflastobj\space0 R }%
   \setxvalue{mps:Sh:\currentMPspecial}%
     {\the\currentPDFshade}}

\appendtoks
  \global\let\currentMPshades\empty
\to \MPstartresources

\appendtoks
  \ifx\currentMPshades\empty \else
    \xdef\currentPDFresources{\currentPDFresources
      /Shading <<\currentMPshades>>}%
  \fi
\to \MPstopresources
</snip>
DA> Look in \localtexmf\miktex\fmt and check the dates of
DA> cont-en.efmt. Look for a newly updated metafun.mem file. If there is one
DA> there, move it to \localtexmf\miktex\mem.

  I can't find neither cont-en.efmt nor metafun.mem on my harddisk,
  might it be there went something wrong during the installation?

-- 
Best regards,
 Andreas Steiger                   mailto:anstei@ksk.ch

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

* Re: MPtoPDF problem: metafun.mem error
  2003-08-19 16:15   ` Re[2]: " Andreas Steiger
@ 2003-08-27 17:25     ` Patrick Gundlach
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2003-08-27 17:25 UTC (permalink / raw)


Andreas Steiger <anstei@ksk.ch> writes:

Hello,

>   Well, after about a minute of tons of lines i get another error
>   message :(.

could you please run 

texexec --make --alone mptopdf

and post the resulting logfile?

[...]



>   I can't find neither cont-en.efmt nor metafun.mem on my harddisk,
>   might it be there went something wrong during the installation?

cont-en.efmt and metafun.mem are not shipped with ConTeXt. These
should be generated during installation. How did you install ConTeXt?

Patrick

-- 
Silent is the goldfish in its bowl

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

end of thread, other threads:[~2003-08-27 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 15:28 MPtoPDF problem: metafun.mem error Andreas Steiger
2003-08-19 15:34 ` David Arnold
2003-08-19 16:15   ` Re[2]: " Andreas Steiger
2003-08-27 17:25     ` Patrick Gundlach

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).