* Re: Simple test [not found] ` <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl> @ 2003-08-08 16:19 ` darnold 2003-08-08 17:22 ` Nigel King 2003-08-09 13:39 ` Re: Simple test Giuseppe Bilotta 0 siblings, 2 replies; 7+ messages in thread From: darnold @ 2003-08-08 16:19 UTC (permalink / raw) Cc: ntg-context Hans, comments below: > At 10:04 07/08/2003 -0700, you wrote: >>Hans, as a simple test, I tried saving the following as junk.mp. >> >>input mp-tool; >>beginfig(1); >>picture p; >>p:=textext.rt("Hello, world!"); >>endfig; >>end. >> >>However, >> >>C:\temp>mpost junk >>(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp) >> >> unknown picture p >> >> textext.rt >>! Equation cannot be performed (unknown picture=numeric). >><to be read again> >> ( >>l.7 p:=textext.rt( >> "Hello, world!"); > > you should use/load metafun -) But I have. Indeed, I completely updated Miktex, downloaded the latest Context, refreshed filename database, then ran: texexec --make --alone This rebuilds cont-en.efmt, cont-nl.efmt, and mptopdf.efmt. You can see they are new by their timestamps (08/07/2003 09:38 AM). Directory of C:\localtexmf\miktex\fmt 10/07/2002 11:34 PM <DIR> . 10/07/2002 11:34 PM <DIR> .. 11/28/2000 12:55 PM 909,544 pdflatex.fmt 08/05/2003 09:52 PM 437,192 omega.fmt 11/28/2000 12:55 PM 897,952 elatex.efmt 08/05/2003 09:52 PM 395,368 pdftex.fmt 11/28/2000 12:55 PM 926,688 lambda.fmt 08/05/2003 09:52 PM 416,704 etex.efmt 11/28/2000 12:55 PM 891,640 latex.fmt 08/05/2003 09:52 PM 376,968 plain.fmt 12/11/2002 11:05 PM 556,792 amstex.fmt 08/07/2003 09:38 AM 1,100 metafun.log 08/07/2003 09:38 AM 31,032 cont-en.log 08/07/2003 09:38 AM 32,231 cont-nl.log 08/07/2003 09:38 AM 5,373,040 cont-nl.efmt 08/07/2003 09:38 AM 3,809 mptopdf.log 08/07/2003 09:38 AM 322,768 mptopdf.efmt 08/07/2003 09:38 AM 5,319,424 cont-en.efmt 16 File(s) 16,892,252 bytes 2 Dir(s) 3,497,959,424 bytes free The command texexec --make --alone also builds metafun.mem in this same directory. It has to be moved by hand to a different directory. C:\localtexmf\miktex\mem>dir Volume in drive C has no label. Volume Serial Number is F803-A135 Directory of C:\localtexmf\miktex\mem 10/07/2002 11:34 PM <DIR> . 10/07/2002 11:34 PM <DIR> .. 08/05/2003 09:52 PM 99,480 plain.mem 08/05/2003 09:52 PM 106,240 mfplain.mem 08/07/2003 09:38 AM 506,752 metafun.mem 3 File(s) 712,472 bytes 2 Dir(s) 3,497,959,424 bytes free But again, brand new. All databases are refreshed after this move. There are no other versions of these format files on my system (I checked). I've even tried texexec --make --alone --tex=pdfetex metafun and moved the resulting metafun.mem file over and refreshed the database. On this file: input mp-tool; beginfig(1); picture p; p:=textext.rt("Hello, world!"); endfig; end. I still get this error: C:\temp>mpost junk (junk.mp (C:\texmf\metapost\context\base\mp-tool.mp) >> unknown picture p >> textext.rt ! Equation cannot be performed (unknown picture=numeric). <to be read again> ( l.7 p:=textext.rt( "Hello, world!"); ? I am aware of the new placement of /metapost/context/base. C:\texmf\metapost>dir Volume in drive C has no label. Volume Serial Number is F803-A135 Directory of C:\texmf\metapost 10/07/2002 11:27 PM <DIR> . 10/07/2002 11:27 PM <DIR> .. 08/05/2003 03:30 PM <DIR> context 08/05/2003 09:47 PM <DIR> base 0 File(s) 0 bytes 4 Dir(s) 3,497,893,888 bytes free C:\texmf\metapost\base>dir Volume in drive C has no label. Volume Serial Number is F803-A135 Directory of C:\texmf\metapost\base 08/05/2003 09:47 PM <DIR> . 08/05/2003 09:47 PM <DIR> .. 09/07/2000 02:01 PM 7,106 boxes.mp 09/07/2000 02:01 PM 7,146 format.mp 09/07/2000 02:01 PM 27,660 graph.mp 09/07/2000 02:01 PM 4,280 marith.mp 09/07/2000 02:01 PM 19,748 mfplain.mp 03/23/1997 01:16 AM 19 mpost.mp 09/07/2000 02:01 PM 16,018 plain.mp 09/07/2000 02:01 PM 1,098 rboxes.mp 09/07/2000 02:01 PM 1,466 sarith.mp 09/07/2000 02:01 PM 794 string.mp 09/07/2000 02:01 PM 331 TEX.mp 09/07/2000 02:01 PM 424 texnum.mp 01/24/1997 08:28 PM 230 troffnum.mp 13 File(s) 86,320 bytes 2 Dir(s) 3,497,893,888 bytes free So, I am absolutely stumped. Is there anything else I can try? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Simple test 2003-08-08 16:19 ` Simple test darnold @ 2003-08-08 17:22 ` Nigel King 2003-08-08 17:50 ` Re: Simple test --Aha! Progress, Now darnold 2003-08-09 13:39 ` Re: Simple test Giuseppe Bilotta 1 sibling, 1 reply; 7+ messages in thread From: Nigel King @ 2003-08-08 17:22 UTC (permalink / raw) >> you should use/load metafun -) > > But I have. Indeed, I completely updated Miktex, downloaded the latest > Context, refreshed filename database, then ran: You need input metafun ; Early in junk.mp -- Nigel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Simple test --Aha! Progress, Now... 2003-08-08 17:22 ` Nigel King @ 2003-08-08 17:50 ` darnold 0 siblings, 0 replies; 7+ messages in thread From: darnold @ 2003-08-08 17:50 UTC (permalink / raw) Nigel et al, OK> Nigel's suggestion compiled. Now, back to where this question originated. This file: \setupoutput[pdf] \runMPgraphicstrue \setupcolors[state=start] \startuseMPgraphic{FunnyFrame} picture p; numeric w, h, o; p:=textext.rt(\MPstring{FunnyFrame}); w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize; p:=p shifted (2o,h-ypart center p); draw p; drawoptions (withpen pencircle scaled 1pt withcolor .625red); draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ; draw boundingbox p; setbounds currentpicture to unitsquare xyscaled (w,h); \stopuseMPgraphic \defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}] \defineframedtext[FunnyText][frame=off,background=FunnyFrame] \def\StartFrame{\startFunnyText} \def\StopFrame{\stopFunnyText} \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em {\hss\strut#1\hss}}} \setMPtext{FunnyFrame}{} \starttext \FrameTitle{Zapf (1)} \StartFrame Coming back to the use of typefaces in electronic publishing: many of the new typographers receive their knowledge and information about the rules of typography from books, from computer magazines or the instruction manuals which they get with the purchase of a PC or software. \StopFrame \stoptext When saved as meta.tex and compiled with texexec --pdf meta, gives this error: (mpgraph.mp (C:\texmf\metapost\context\base\mp-tool.mp) (C:\texmf\metapost\context\base\mp-spec.mp) (C:\texmf\metapost\context\base\mp-grph.mp) (C:\texmf\metapost\context\base\mp-page.mp) (C:\texmf\metapost\context\base\mp-core.mp) >> unknown picture p >> textext.rt ! Equation cannot be performed (unknown picture=numeric). <to be read again> ( l.223 p:=textext.rt( "\hbox spread 1em {\hss \strut Zapf (1)\hss }"); Nigel, does this file give same error on your system, or does it compile? Thanks. > >>> you should use/load metafun -) >> >> But I have. Indeed, I completely updated Miktex, downloaded the latest >> Context, refreshed filename database, then ran: > You need > input metafun ; > Early in junk.mp > -- > Nigel > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Simple test 2003-08-08 16:19 ` Simple test darnold 2003-08-08 17:22 ` Nigel King @ 2003-08-09 13:39 ` Giuseppe Bilotta 2003-08-09 16:30 ` darnold 1 sibling, 1 reply; 7+ messages in thread From: Giuseppe Bilotta @ 2003-08-09 13:39 UTC (permalink / raw) Friday, August 8, 2003 darnold@northcoast.com wrote: dnc> I am aware of the new placement of /metapost/context/base. dnc> C:\texmf\metapost>dir dnc> Volume in drive C has no label. dnc> Volume Serial Number is F803-A135 dnc> Directory of C:\texmf\metapost dnc> 10/07/2002 11:27 PM <DIR> . dnc> 10/07/2002 11:27 PM <DIR> .. dnc> 08/05/2003 03:30 PM <DIR> context dnc> 08/05/2003 09:47 PM <DIR> base dnc> 0 File(s) 0 bytes dnc> 4 Dir(s) 3,497,893,888 bytes free dnc> C:\texmf\metapost\base>dir dnc> Volume in drive C has no label. dnc> Volume Serial Number is F803-A135 dnc> Directory of C:\texmf\metapost\base dnc> 08/05/2003 09:47 PM <DIR> . dnc> 08/05/2003 09:47 PM <DIR> .. dnc> 09/07/2000 02:01 PM 7,106 boxes.mp dnc> 09/07/2000 02:01 PM 7,146 format.mp dnc> 09/07/2000 02:01 PM 27,660 graph.mp dnc> 09/07/2000 02:01 PM 4,280 marith.mp dnc> 09/07/2000 02:01 PM 19,748 mfplain.mp dnc> 03/23/1997 01:16 AM 19 mpost.mp dnc> 09/07/2000 02:01 PM 16,018 plain.mp dnc> 09/07/2000 02:01 PM 1,098 rboxes.mp dnc> 09/07/2000 02:01 PM 1,466 sarith.mp dnc> 09/07/2000 02:01 PM 794 string.mp dnc> 09/07/2000 02:01 PM 331 TEX.mp dnc> 09/07/2000 02:01 PM 424 texnum.mp dnc> 01/24/1997 08:28 PM 230 troffnum.mp dnc> 13 File(s) 86,320 bytes dnc> 2 Dir(s) 3,497,893,888 bytes free Uh ... that's metapost/base, not metapost/context/base Make sure you have nothing but the /base/ subfolder under metapost/context -- Giuseppe "Oblomov" Bilotta ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Simple test 2003-08-09 13:39 ` Re: Simple test Giuseppe Bilotta @ 2003-08-09 16:30 ` darnold 0 siblings, 0 replies; 7+ messages in thread From: darnold @ 2003-08-09 16:30 UTC (permalink / raw) Giuseppe, Comments below. > Friday, August 8, 2003 darnold@northcoast.com wrote: > > dnc> I am aware of the new placement of /metapost/context/base. > > dnc> C:\texmf\metapost>dir > dnc> Volume in drive C has no label. > dnc> Volume Serial Number is F803-A135 > > dnc> Directory of C:\texmf\metapost > > dnc> 10/07/2002 11:27 PM <DIR> . > dnc> 10/07/2002 11:27 PM <DIR> .. > dnc> 08/05/2003 03:30 PM <DIR> context > dnc> 08/05/2003 09:47 PM <DIR> base > dnc> 0 File(s) 0 bytes > dnc> 4 Dir(s) 3,497,893,888 bytes free > > dnc> C:\texmf\metapost\base>dir > dnc> Volume in drive C has no label. > dnc> Volume Serial Number is F803-A135 > > dnc> Directory of C:\texmf\metapost\base > > dnc> 08/05/2003 09:47 PM <DIR> . > dnc> 08/05/2003 09:47 PM <DIR> .. > dnc> 09/07/2000 02:01 PM 7,106 boxes.mp > dnc> 09/07/2000 02:01 PM 7,146 format.mp > dnc> 09/07/2000 02:01 PM 27,660 graph.mp > dnc> 09/07/2000 02:01 PM 4,280 marith.mp > dnc> 09/07/2000 02:01 PM 19,748 mfplain.mp > dnc> 03/23/1997 01:16 AM 19 mpost.mp > dnc> 09/07/2000 02:01 PM 16,018 plain.mp > dnc> 09/07/2000 02:01 PM 1,098 rboxes.mp > dnc> 09/07/2000 02:01 PM 1,466 sarith.mp > dnc> 09/07/2000 02:01 PM 794 string.mp > dnc> 09/07/2000 02:01 PM 331 TEX.mp > dnc> 09/07/2000 02:01 PM 424 texnum.mp > dnc> 01/24/1997 08:28 PM 230 troffnum.mp > dnc> 13 File(s) 86,320 bytes > dnc> 2 Dir(s) 3,497,893,888 bytes free > > Uh ... that's metapost/base, not metapost/context/base > > Make sure you have nothing but the /base/ subfolder under > metapost/context That is the case: C:\texmf\metapost\context>dir Volume in drive C has no label. Volume Serial Number is F803-A135 Directory of C:\texmf\metapost\context 08/05/2003 03:30 PM <DIR> . 08/05/2003 03:30 PM <DIR> .. 08/05/2003 10:12 PM <DIR> base 0 File(s) 0 bytes 3 Dir(s) 3,444,121,600 bytes free ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.co m>]
* Re: Re: Simple test [not found] ` <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.co m> @ 2003-08-08 17:58 ` Hans Hagen 2003-08-08 19:03 ` darnold 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2003-08-08 17:58 UTC (permalink / raw) At 09:19 08/08/2003 -0700, darnold@northcoast.com wrote: >C:\temp>mpost junk >(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp) this is just calling metapost with mp-tool you may try "input metafun" instead > >> unknown picture p > >> textext.rt >! Equation cannot be performed (unknown picture=numeric). ><to be read again> > ( >l.7 p:=textext.rt( > "Hello, world!"); >? texexec --mptex junk.mp or mpost -mem=metafun junk.mp or \starttext \startMPpage some code \stopMPpage \stoptext Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Simple test 2003-08-08 17:58 ` Hans Hagen @ 2003-08-08 19:03 ` darnold 0 siblings, 0 replies; 7+ messages in thread From: darnold @ 2003-08-08 19:03 UTC (permalink / raw) Hans, I have this one figured out. Nigel sent me the same suggestion. It's still the FunnyFace that is not going, as I wrote in my followup to Nigel and the Context list. That's the one that is preventing progress through that particular example in the metafun manual. Most everything else is working in the metafun manual thus far. > At 09:19 08/08/2003 -0700, darnold@northcoast.com wrote: > >>C:\temp>mpost junk >>(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp) > > this is just calling metapost with mp-tool > > you may try "input metafun" instead > >> >> unknown picture p >> >> textext.rt >>! Equation cannot be performed (unknown picture=numeric). >><to be read again> >> ( >>l.7 p:=textext.rt( >> "Hello, world!"); >>? > > texexec --mptex junk.mp > > or > > mpost -mem=metafun junk.mp > > or > > \starttext > > \startMPpage > > some code > > \stopMPpage > > \stoptext > > Hans > ------------------------------------------------------------------------- > Hans Hagen | PRAGMA ADE | > pragma@wxs.nl > Ridderstraat 27 | 8061 GH Hasselt | The > Netherlands > tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | > www.pragma-ade.com > ------------------------------------------------------------------------- > information: > http://www.pragma-ade.com/roadmap.pdf > documentation: > http://www.pragma-ade.com/showcase.pdf > ------------------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-08-09 16:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1232.209.209.17.82.1060275898.squirrel@webmail.inreach.com <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl> [not found] ` <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl> 2003-08-08 16:19 ` Simple test darnold 2003-08-08 17:22 ` Nigel King 2003-08-08 17:50 ` Re: Simple test --Aha! Progress, Now darnold 2003-08-09 13:39 ` Re: Simple test Giuseppe Bilotta 2003-08-09 16:30 ` darnold [not found] ` <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.co m> 2003-08-08 17:58 ` Hans Hagen 2003-08-08 19:03 ` darnold
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).