[metapost] Another Question
Daniel H. Luecking
luecking at uark.edu
Mon May 8 23:36:25 CEST 2017
This error message:
! Not implemented: penoffset(unknown numeric)of(pen).
<to be read again>
;
pen_pickup_->...part.penoffset.left.of.currentpen;
seems to indicate that somehow the known pair variable "left"
has become an unknown numeric. Is there perhaps a command such
as
save left;
or
numeric left;
or
left := <some unknown numeric>;
somewhere preceding drawVisible or within is code?
Regards, Dan
Daniel H. Luecking [luecking at uark.edu]
Department of Mathematical Sciences
1 University of Arkansas
Fayetteville, AR, USA 72701-1201
________________________________
From: metapost <metapost-bounces at tug.org> on behalf of Walt Burkhard <burkhard at cs.ucsd.edu>
Sent: Sunday, May 7, 2017 2:57 PM
To: Metapost List
Subject: [metapost] Another Question
Hello All,
I have a metapost program that begins as below ---
mpost -numbersystem=double displayMP.mp
This is MetaPost, version 1.9991 (TeX Live 2016) (kpathsea version 6.2.2)
(/usr/local/texlive/2016/texmf-dist/metapost/base/mpost.mp<https://urldefense.proofpoint.com/v2/url?u=http-3A__mpost.mp&d=DwMFaQ&c=7ypwAowFJ8v-mw8AB-SdSueVQgSDL4HiiSaLK01W8HA&r=TC6doj34eEZMeTCOMVYeIK4ttwYpTurqDpMOi43sP18&m=2kGdThTgwEIcoHnt2yBUWBJGMgkkYy9JYWaIsZcv0vg&s=S5MWIgCXSZQM-2ksbRal2hpsLuztJ4fsb00pII-y-os&e=>
(/usr/local/texlive/2016/texmf-dist/metapost/base/plain.mp<https://urldefense.proofpoint.com/v2/url?u=http-3A__plain.mp&d=DwMFaQ&c=7ypwAowFJ8v-mw8AB-SdSueVQgSDL4HiiSaLK01W8HA&r=TC6doj34eEZMeTCOMVYeIK4ttwYpTurqDpMOi43sP18&m=2kGdThTgwEIcoHnt2yBUWBJGMgkkYy9JYWaIsZcv0vg&s=xJgkAf7ekgH2w8X98FldoVtmODGoRXwqoBpUo5apemI&e=>
Preloading the plain mem file, version 1.005) ) (./displayMP.mp (./SCHEMA0)
(./SCHEMA1)
data file: fourObjects
>> left
>> pen
! Not implemented: penoffset(unknown numeric)of(pen).
<to be read again>
;
pen_pickup_->...part.penoffset.left.of.currentpen;
pen_bot:=ypart.penoffset.r...
<to be read again>
;
drawVisible->...ckup.pencircle.scaled.mpLineWidth;
for.i=0upto(numberObjects-...
l.702 ^^IdrawVisible
;
The mpLineWidth variable is properly set before the pickup pencircle
statement is interpreted.
Then if an r is typed ... I end up with the following ...
! Internal quantity `pen_bot' must receive a known numeric value.
<to be read again>
;
pen_pickup_->...art.penoffset.right.of.currentpen;
path.currentpen_path;
<to be read again>
;
drawVisible->...ckup.pencircle.scaled.mpLineWidth;
for.i=0upto(numberObjects-...
l.722 ^^IdrawVisible
;
[4] )
(see the transcript file for additional information)
4 output files written: fourObjects.1 .. fourObjects.4
Transcript written on displayMP.log.
But now if I use the four files fourObjects.1 ... fourObjects.4 the line
width drawn is what I asked for.
Why is there all these extra statements by metapost? I do not have a
small example of this behavior.
Many thanks in advance for your comments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20170508/a4be2035/attachment.html>
More information about the metapost
mailing list