[metapost] misprint in mpman

Stephan Hennig mailing_list at arcor.de
Fri Mar 14 21:37:41 CET 2008


Sergey Metelev schrieb:
> I don't know where to report an misprint in mpman.pdf so I decide to
> post it here. I look at the last version of mpman.tex also, at the
> http://tug.org/metapost/src/manual/ and it is still there.
> 
> It is a line 976 of mpman.tex source, where one can read:
>   &&\hbox{\verb|x3+y3=x6+y6=1.1in;|}
> 
> and later, in the line 981:
> z3=(.3in,.6in); z6=(-.3in,1.2in);
> 
> but (for example) -.3+1.2 not equal to 1.1 (I even tried it in Metapost :)))

Thanks for the report!  I have committed the attached patch.  Please
shout at me if there's still something wrong.  (I've also checked the
code of figure 13 in mpman.tex and manfig.mp to be equal.)

Best regards,
Stephan Hennig

PS:  Getting patches along with bug reports makes things easier for us.


Index: mpman.tex
===================================================================
--- mpman.tex	(Revision 406)
+++ mpman.tex	(Arbeitskopie)
@@ -979,7 +979,7 @@
 Exactly the same points could be obtained by setting their values directly:
 $$ \begin{verbatim}
 z1=(.2in,0);    z2=(-.2in,0);
-z3=(.3in,.6in); z6=(-.3in,1.2in);
+z3=(.3in,.8in); z6=(-.3in,1.4in);
 \end{verbatim}
 $$




More information about the metapost mailing list