From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3135 Path: main.gmane.org!not-for-mail From: Thomas Porter Newsgroups: gmane.comp.tex.context Subject: Re: shading, Trying shading example, missing metafun.mem Date: Tue, 31 Oct 2000 17:02:40 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: <39FF4180.9E764264@mindspring.com> References: <200010312129.WAA23455@bar.loria.fr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------00E98D00FD08AF1A94A2393C" X-Trace: main.gmane.org 1035393891 14541 80.91.224.250 (23 Oct 2002 17:24:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:24:51 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:3135 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3135 This is a multi-part message in MIME format. --------------00E98D00FD08AF1A94A2393C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have the most recent stable pdfTeX and ConTeXt versions, but when I ran he recently posted shading example, I got an error message during my texexec run saying that metafun.mem could not be found, was using mpost.mem instead. I scanned dejanews and google, but no mention of metafun.mem Any help welcome. -- Tom Porter txporter@mindspring.com -------------------------------------------------------------------- "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." --------------00E98D00FD08AF1A94A2393C Content-Type: text/plain; charset=us-ascii; name="mptest_run.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mptest_run.log" This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x) entering extended mode (mptest.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2000.10.3 fmt: 2000.10.23 int: english mes: english language : language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 2-sp-2 2-nl-2 loaded specials : tex,postscript,rokicki loaded system : mptest.top loaded (./mptest.top specials : tex,postscript,rokicki is reset specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex ) specials : fdf loaded ) specials : fdf,tpd loaded ) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) (./mptest.tuo) color : rgb color space is supported color : cmyk color space is supported color : system rgb is global activated (./mptest.tuo) (./mptest.tuo) systems : begin file mptest at line 2 Randomizer initialized to 1194900621. [MP to PDF mpgraph.1] (mpgraph.1) (./mptest.tuo) [MP to PDF mpgraph.2] (mpgraph.2) [MP to PDF mpgraph.3] (mpgraph.3) [MP to PDF mpgraph.4] (mpgraph.4) [MP to PDF mpgraph.5] (mpgraph.5) [1.1{/usr/share/texmf/dvips/config/pdftex.map}] systems : end file mptest at line 65 [flush and process mpgraph.mp afterwards] ) Output written on mptest.pdf (1 page, 15449 bytes). Transcript written on mptest.log. This is MetaPost, Version 0.641 (Web2C 7.3.1) Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'. (mpgraph.mp (/usr/share/texmf/metapost/context/mp-tool.mp) (/usr/share/texmf/metapost/context/mp-spec.mp) (/usr/share/texmf/metapost/context/mp-page.mp) (/usr/share/texmf/metapost/context/mp-core.mp) [1] [2] [3] [4] [5] ) 5 output files written: mpgraph.1 .. mpgraph.5 Transcript written on mpgraph.log. TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 metapost : mpgraph format : metafun TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : mptest.tui output file : mptest.tuo passed commands : 5 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 executable : pdfetex format : cont-en inputfile : mptest output : pdftex interface : en current mode : all TeX run : 1 run time : 0 seconds generating graphics : metaposting mpgraph.mp sorting and checking : running texutil --------------00E98D00FD08AF1A94A2393C Content-Type: application/x-tex; name="mptest.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mptest.tex" \setupcolors[state=start] \starttext \definecolor[a][darkyellow] \definecolor[b][s=.8] \definecolor[c][darkred] \startuniqueMPgraphic{CircularShade} path p; p:= unitsquare xscaled \overlaywidth yscaled \overlayheight ; circular_shade(p,0,\MPcolor{a},\MPcolor{b}); \stopuniqueMPgraphic \startuniqueMPgraphic{LinearShade} path p; p:= unitsquare xscaled \overlaywidth yscaled \overlayheight ; linear_shade(p,0,\MPcolor{a},\MPcolor{b}); \stopuniqueMPgraphic \defineoverlay[circular shade][\uniqueMPgraphic{CircularShade}] \defineoverlay[linear shade] [\uniqueMPgraphic{LinearShade}] \framed [background=circular shade,frame=off] {\bf \white Hi there, I'm Circular!} \framed [background=linear shade,frame=off] {\bf \white Whow, this is Linear!} \startuniqueMPgraphic{test} path p; p:=fullcircle scaled 1cm; for i:= 0 step 2cm until 8cm: circular_shade(p shifted (i,0),0,\MPcolor{a},\MPcolor{b}); endfor; \stopuniqueMPgraphic \useMPgraphic{test} \startuniqueMPgraphic{test1} circular_shade(fullcircle scaled 1cm,0,\MPcolor{a},\MPcolor{b}); picture s; s:=currentpicture; currentpicture := nullpicture; for i=0 step 2cm until 8cm: addto currentpicture also s shifted (i,0); endfor; \stopuniqueMPgraphic \useMPgraphic{test1} \startuniqueMPgraphic{test2} sh:=define_circular_shade(origin,origin,0,8cm,\MPcolor{a},\MPcolor{b}); for i=0 step 2cm until 8cm: fill fullcircle scaled 1cm shifted (i,0) withshade sh; endfor; \stopuniqueMPgraphic \useMPgraphic{test2} \stoptext --------------00E98D00FD08AF1A94A2393C--