[metapost] New numbersystems strange behaviour of arclength

Karel horakk at math.cas.cz
Tue Mar 12 19:02:40 CET 2019


Dear Luigi,

the following code

beginfig(0);
path s;
s:=fullcircle scaled 30mm;
for k=0 upto 18: draw origin--point(arctime ((k/36)*arclength s) of s) 
of s; endfor
endfig;
end

gives very strange results when used with
numbersystem=decimal or binary (mpost 2.00 for TeXlive 2019).

With scaled a double numbersystem everything works fine.

It would be also nice (from practical point of view) if the numbersystem 
could be read by mpost from the compiled file, e.g. from commented first 
line like the format in TeX file.

All the best,
Karel Horak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc-binary.0
Type: application/postscript
Size: 2017 bytes
Desc: not available
URL: <https://tug.org/pipermail/metapost/attachments/20190312/e3376c7c/attachment.ai>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc-decimal.0
Type: application/postscript
Size: 2022 bytes
Desc: not available
URL: <https://tug.org/pipermail/metapost/attachments/20190312/e3376c7c/attachment-0001.ai>


More information about the metapost mailing list