[metapost] Metapost btex etex problem

Karel horakk at math.cas.cz
Wed Jul 31 09:44:25 CEST 2013


Rothfuß, Ralf napsal(a):
> I changed the line from %&pdflatex to %&latex
>
> verbatimtex
> %&latex
> \documentclass[12pt]{article}
> \usepackage[latin1]{inputenc}
> \usepackage[T1]{fontenc}
> \begin{document}
> etex
> beginfig(1)
>   draw (0,0)--(5cm,0) withpen pencircle scaled 1pt;
>   label.rt(btex $A$ etex, (5cm, 1cm));
> endfig;
>
> end;
> %% End
>
>   
> What is my mistake?

Now everything works fine for me, even if I first reproduce the error 
with pdf output (sometimes it helps deleating all the output files 
(*.mpx, mpxerr.tex) before, but in that case I did not that). I am still 
using mpost 1.212 as a safe version, only later I'll try to test the 
last version you are using...

All the best,
Karel


More information about the metapost mailing list