[metapost] format.mp and mptopdf
Stephan Hennig
mailing_list at web.de
Sat Mar 12 00:32:47 CET 2005
Hello,
mptopdf has problems here to process files that load the format.mp
package. It complains about some redundant equations where mpost
doesn't. Changing line 148 of format.mp from equations = to assignments
:= solves the problem. But I don't know if this is a correct solution. I
think format.mp needs somehow to be reset when included twice.
Regards,
Stephan Hennig
PS: Shouldn't the output of the example below show a dot? Adding
'withpen pencircle scaled 2bp' does so.
input format
beginfig(1);
draw origin;
endfig;
end
This is MetaPost, Version 0.641 (MiKTeX 2.4) (preloaded mem=metafun
2005.1.8) 12 MAR 2005 00:29
**formaterr
(formaterr.mp (C:\texmf\metapost\base\format.mp
(C:\texmf\metapost\base\string.mp) (C:\texmf\metapost\base\texnum.mp)
! Redundant equation.
<to be read again>
;
l.148 Ten_to0=1;
Ten_to1=10; Ten_to2=100; Ten_to3=1000; Ten_to4=10000;
I already knew that this equation was true.
But perhaps no harm has been done; let's continue.
! Redundant equation.
<to be read again>
;
l.148 Ten_to0=1; Ten_to1=10;
Ten_to2=100; Ten_to3=1000; Ten_to4=10000;
I already knew that this equation was true.
But perhaps no harm has been done; let's continue.
! Redundant equation.
<to be read again>
;
l.148 Ten_to0=1; Ten_to1=10; Ten_to2=100;
Ten_to3=1000; Ten_to4=10000;
I already knew that this equation was true.
But perhaps no harm has been done; let's continue.
! Redundant equation.
<to be read again>
;
l.148 ...1; Ten_to1=10; Ten_to2=100; Ten_to3=1000;
Ten_to4=10000;
I already knew that this equation was true.
But perhaps no harm has been done; let's continue.
! Redundant equation.
<to be read again>
;
l.148 ...Ten_to2=100; Ten_to3=1000; Ten_to4=10000;
I already knew that this equation was true.
But perhaps no harm has been done; let's continue.
) [1]
metafun 2005-1-8 23:23
)
1 output file written: formaterr.1
More information about the metapost
mailing list