[metapost] Another Question
Walt Burkhard
burkhard at cs.ucsd.edu
Tue May 9 00:09:38 CEST 2017
Hi Daniel, Yes, I have changed the variables left and right I had defined
and now all is good again.
Thanks. for your comments.
Walt
On Mon, May 8, 2017 at 2:36 PM, Daniel H. Luecking <luecking at uark.edu>
wrote:
> 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.
>
> --
> http://tug.org/metapost/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20170508/bef7766e/attachment-0001.html>
More information about the metapost
mailing list