Re: Another Question
"Daniel H. Luecking" <[email protected]>
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <MWHPR04MB05269375ABE88CFAA40B77E8B9EE0@MWHPR04MB0526.namprd04.prod.outlook.com> |
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 [[email protected]]
Department of Mathematical Sciences
1 University of Arkansas
Fayetteville, AR, USA 72701-1201
________________________________
From: metapost <[email protected]> on behalf of Walt Burkhard <[email protected]>
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.
--
http://tug.org/metapost/