[metapost] Problem with macros file
notezik at gmail.com
Sat Jun 30 14:25:45 CEST 2007
I don't know how to solve your problem but i think :
is not necessary...
2007/6/29, Nicolas FRANCOIS <nicolas.francois at free.fr>:
> I have a reccuring problem with this situation : I have a metapost file
> containing some "btex gnagnagna etex" code. As I want to use latex
> commands, I have a preambule like this :
> input courbes;
> z.a = (0,0);
> label.llft(btex $A_1$ etex,z.a);
> The problem comes from "input courbes". courbes.mp is a macro file (see
> Syracuse site : http://melusine.eu.org/syracuse/metapost/) which also
> contains some "btex gna etex" stuff, but no preambule. So this code fails
> with a message signaling that courbes.mpx can't be built.
> The only solutions I have found so far are :
> 1) some black magic consisting in doing "export TEX=tex; mpost fic.mp
> (error); export TEX=latex; mpost fic.mp (it works !)".
> 2) putting a preambule in courbes.mp, which sounds weird since the
> original author didn't seem to need those additional lines.
> Can you help me ?
> Nicolas FRANCOIS
> A TRUE Klingon programmer does NOT comment his code
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the metapost