Christian, Hans,

I have built the format metafun.mem and put it in \localtexmf\miktex\mem. I
have write18 enabled in miktex.ini and cont-sys.tex has:

% Enabling run time \METAPOST\ (also enable \write18 in texmf.cnf):

   \runMPgraphicstrue
\runMPTEXgraphicstrue
  \recycleMPslotstrue
\useMETAFUNformattrue

But, no graphic is built when I compile my file. From the log file I spot a
suspicious area:

system(mpost -progname=mpost -mem=metafun
context-matrices-mpgraph)...executed.
figures        : figure context-matrices-mpgraph can not be found

Hans, here is the help file for mpost:

D:\NSFGRANT\LinAlg\Matrices>mpost --help
Usage: MPOST [OPTION...] [COMMAND...]
-alias  Prepend APP to the alias list.
-c-style-errors  Show C/C++ style error messages.
-halt-on-error  Allow only one error.
-help  Show this help screen and exit.
-include-directory  Prepend DIR to the search path.
-initialize  Initialize internal tables.
-job-name=NAME  Set the job name.
-job-time=FILENAME  Set the job time. Take a file's timestamp as the
reference.
-output-directory  Define the location for output files.
-tcx  Process a TCX table.
-terminal=oem  Use DOS codepage for console output.
-tex  Use TEXPROGRAM for text labels.
-trace  Specify trace options.
-translate-file  Same as --tcx
-undump=NAME  Preload a dumped memory file.
-version  Print version info and exit.

Note that there are no switches -progname and -mem. Further, note that this
seems to work at the command line.

D:\NSFGRANT\LinAlg\Matrices>mpost --alias=mpost --undump=metafun
context-matrice
s-mpgraph
(context-matrices-mpgraph.mp [1] )
1 output file written: context-matrices-mpgraph.1
Transcript written on context-matrices-mpgraph.log.

Hans, do you have a workaround? Christian, any thoughts?

Reply via email to