OK. Clean directory. qdf $ ls OTqdbpreview.sty dev.qdf sample2.qdf dev.1 dev.tex useemp.mp dev.mp functions.qdf useemp.pdf dev.pdf qdftools.mp useemp.tex qdf $ useemp.tex: \documentclass{article} \usepackage{amsmath} \usepackage{emp,ifpdf} \ifpdf \DeclareGraphicsRule{*}{mps}{*}{} \fi \setlength{\unitlength}{1cm} \begin{document} Now is the time for all good men to come to the aid of their country. \empprelude{input qdftools} \begin{empfile} \begin{empdef}[david](4,4) numeric u; 10u=3in; gridfivefive; xyaxesfivefive; \end{empdef} \end{empfile} \immediate\write18{mpost -tex=latex \jobname} \empuse{david} Now is the time for all good men to come to the aid of their country. \end{document} qdftools.mp: numeric s; s=0.2; color gridlines; gridlines:=(s,s,s); def openbluedot(expr pos)= fill fullcircle scaled 4pt withcolor white; draw fullcircle scaed 4pt withcolor blue; enddef; def openreddot(expr pos)= fill fullcircle scaled 4pt withcolor white; draw fullcircle scaed 4pt withcolor red; enddef; def filledreddot(expr pos)= fill fullcircle scaled 4pt withcolor red; draw fullcircle scaed 4pt withcolor red; enddef; def filledbluedot(expr pos)= fill fullcircle scaled 4pt withcolor blue; draw fullcircle scaed 4pt withcolor blue; enddef; def vtick(expr pos)= draw ((0,-3)--(0,3)) shifted pos; enddef; def htick(expr pos)= draw ((-3,0)--(3,0)) shifted pos; enddef; def gridfivefive = for k=-5u step 1u until 5u: draw (-5u,k)--(5u,k) withcolor gridlines; draw (k,-5u)--(k,5u) withcolor gridlines; endfor; enddef; def xyaxesfivefive= drawdblarrow (-5u,0)--(5u,0); label.rt(btex $x$ etex, (5u,0)); label.bot(btex $25$ etex, (5u,0)); drawdblarrow (0,-5u)--(0,5u); label.top(btex $y$ etex, (0,5u)); label.lft(btex $5$ etex, (0,5u)); enddef; endinput; Now a run: $ pdflatex --shell-escape useemp.tex ... )This is MetaPost, Version 0.901 (Web2C 7.5.5) (useemp.mp (qdftools.mpnewer: target file `qdftools.mpx' doesn't exist. /usr/local/teTeX/bin/powerpc-apple-darwin-current/makempx: Command failed: latex mpxerr.tex; see mpxerr.log
qdftools.mp qdftools.mpx ! Unable to make mpx file. l.41 label.rt(btex $x$ etex, (5u,0)); Transcript written on useemp.log.
emp: File useemp.1 not found:
emp: Process useemp.mp with MetaPost and then reprocess this file.
[1{/Users/darnold/Library/texmf/fonts/map/pdftex/updmap/pdftex.map}]
(./useemp.aux) )
Output written on useemp.pdf (1 page, 7947 bytes).
Transcript written on useemp.log.
Now my directory:
qdf $ ls
OTqdbpreview.sty functions.qdf useemp.aux
dev.1 mpx509.dvi useemp.log
dev.mp mpxerr.log useemp.mp
dev.pdf mpxerr.tex useemp.pdf
dev.qdf qdftools.mp useemp.tex
dev.tex sample2.qdf
And mpxerr.log:
qdf $ cat mpxerr.log
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(format=latex 2006.6.27) 28 JUN 2006 09:10
entering extended mode
**mpx509.tex
(./mpx509.tex
LaTeX2e <2003/12/01>
Babel
David Arnold wrote:
Taco,
Not sure what you mean here, so I ran:
latex useemp.tex
And got: <correct output>
And now I am lost as well. Nothing useful in the mpxerr.log, I assume?
Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context