[metapost] a problem of label when using metapost

source liu sourceonly at gmail.com
Wed Nov 16 02:17:31 CET 2011


> % near the top of your .mp file:
> verbatimtex
>  %&latex
>  \documentclass{article}
>  % \usepackage commands here
>  \begin{document}
> etex
> %...
> % then later in your figure:
> label.top(btex *something here* etex, z1);
> label.bot(btex *something else* etex, z2);
> %...
> --------------------------------
>
> If that doesn't work, prepare a short, but complete,
> figure file that fails for you and include that in your
> next email.


almost the same structure as me, i'm afraid i cant give out figure except for
i comment all the labels.  i wrote this way it simple gave a error message
even on recognizing such control sequence as \documentclass.

and i find the
$tex mproof something.eps
gave me a error message, even with the eps which was generated without label(
eps seem to be correct, as i can include in tex file, or view with
imagemagick).

I've test on <tex mproof > on the computer in the work place, but it
still failed me on
my PC.

and the invoking of TeX(related) failed on either my work computer or my P.C.

I've tried variety way such as

mpost -tex=latex(or plain, or tex)

pity none of them works.




>
> Regards,
> Dan
>
>
> Daniel H. Luecking
> Department of Mathematical Sciences
> Fayetteville, Arkansas
> http://www-cs-faculty.stanford.edu/~knuth/iaq.html
> --
> http://tug.org/metapost/
>



-- 
Liu An
Institution of modern physics, Shanghai, China



More information about the metapost mailing list