From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2996 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: Re: second problem Date: Mon, 16 Oct 2000 00:58:14 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010152258.AAA02535@bar.loria.fr> References: <200010051837.UAA15955@bar.loria.fr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393762 13407 80.91.224.250 (23 Oct 2002 17:22:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:22:42 +0000 (UTC) Cc: burnus@gmx.de (Tobias Burnus), Denis.Roegel@loria.fr (Denis B. Roegel), ntg-context@ntg.nl (NTG-ConTeXt) Original-To: Denis.Roegel@loria.fr (Denis B. Roegel) In-Reply-To: <200010051837.UAA15955@bar.loria.fr> from "Denis B. Roegel" at Oct 05, 2000 08:37:10 PM Xref: main.gmane.org gmane.comp.tex.context:2996 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2996 Hello, I am not sure that there was a reply for the problem below, so please forgive me the repost. I have now the TeXlive 5 CD installed + context from September 21 I think. There are two problems with the example below: 1) I have to do texexec --pdf --color test2 *twice* in order to see a circle and lines 2) I see only one circle and not three as I expected The input file and the first execution log are given below. Thanks, Denis \starttext \startMPpositiongraphic{mypos:circle} initialize_box(\MPpos{\MPvar{self}}); path p; p:=llxy..lrxy..urxy..ulxy..cycle; pickup pencircle scaled 1pt; fill p withcolor .800white; draw p withcolor .625yellow; anchor_box(\MPanchor{\MPvar{self}}); \stopMPpositiongraphic \startMPpositiongraphic{mypos:line} path pa, pb, pab ; numeric na, nb; initialize_box(\MPpos{\MPvar{from}}); na := nxy ; pa := llxy..lrxy..urxy..ulxy..cycle ; initialize_box(\MPpos{\MPvar{to}}); nb := nxy ; pb := llxy..lrxy..urxy..ulxy..cycle ; if na=nb : pab := center pa -- center pb ; pab := pab cutbefore (pab intersectionpoint pa) ; pab := pab cutafter (pab intersectionpoint pb) ; pickup pencircle scaled 1pt; draw pab withcolor .625yellow; anchor_box(\MPanchor{\MPvar{from}}); fi; \stopMPpositiongraphic \setMPpositiongraphic{X-1}{mypos:circle} \setMPpositiongraphic{X-2}{mypos:circle} \setMPpositiongraphic{X-3}{mypos:circle} \setMPpositiongraphic{X-1}{mypos:line}{to=X-2} \setMPpositiongraphic{X-2}{mypos:line}{to=X-3} In a previous section we saw that some \hpos {X-1} {words} were \hpos {X-2} {circled} and connected by an \hpos {X-3} {arrow}. As with most things in \CONTEXT, marking these words is separated from declaring what to do with those words. \stoptext bar test5 256 % texexec --pdf --color test2 TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 executable : pdfetex format : cont-en inputfile : test2 output : pdftex interface : en options : color current mode : all TeX run : 1 This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x) entering extended mode (./test2.tex{/local/hugo/texlive5/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2000.9.21 fmt: 2000.10.5 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/tex/texmflocal/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/local/tex/texmflocal/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/tex/texmflocal/tex/context/base/cont-fil.tex loading : Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded specials : tex,postscript,rokicki loaded system : test2.top loaded (./test2.top specials : tex,postscript,rokicki is reset specials : loading definition file tpd (/usr/local/tex/texmflocal/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/tex/texmflocal/tex/context/base/spec-fdf.tex ) specials : fdf loaded ) specials : fdf,tpd loaded color : rgb color space is supported color : cmyk color space is supported color : system rgb is global activated ) systems : begin file test2 at line 1 Randomizer initialized to 72518374. figures : figure mpgraph can not be found figures : figure mpgraph can not be found figures : figure mpgraph can not be found [1.1{/local/hugo/texlive5/texmf/pdftex/config/psfonts.map}{/local/hugo/texlive5 /texmf/pdftex/config/lw35.map}{/local/hugo/texlive5/texmf/pdftex/config/rawfont s.map}{/local/hugo/texlive5/texmf/dvips/cspsfonts/csfontd.mapfile}] systems : end file test2 at line 42 [flush and process mpgraph.mp afterwards] ) Output written on test2.pdf (1 page, 15437 bytes). Transcript written on test2.log. run time : 2 seconds generating graphics : metaposting mpgraph.mp TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 metapost : mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.3.2x) (mpgraph.mp [1] [2] [3] ) 3 output files written: mpgraph.1 .. mpgraph.3 Transcript written on mpgraph.log. sorting and checking : running texutil 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 : test2.tui output file : test2.tuo passed commands : 10 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 utility file analysis : another run needed TeX run : 2 This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x) entering extended mode (./test2.tex{/local/hugo/texlive5/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2000.9.21 fmt: 2000.10.5 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/tex/texmflocal/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/local/tex/texmflocal/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/tex/texmflocal/tex/context/base/cont-fil.tex loading : Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded specials : tex,postscript,rokicki loaded system : test2.top loaded (./test2.top specials : tex,postscript,rokicki is reset specials : loading definition file tpd (/usr/local/tex/texmflocal/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/tex/texmflocal/tex/context/base/spec-fdf.tex ) specials : fdf loaded ) specials : fdf,tpd loaded color : rgb color space is supported color : cmyk color space is supported color : system rgb is global activated ) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) systems : begin file test2 at line 1 Randomizer initialized to 72518374. figures : dimensions of ./mpgraph.1 loaded from figurefile itself [MP to PDF ./mpgraph.1] (./mpgraph.1) figures : dimensions of ./mpgraph.2 loaded from figurefile itself [MP to PDF ./mpgraph.2] (./mpgraph.2) figures : dimensions of ./mpgraph.3 loaded from figurefile itself [MP to PDF ./mpgraph.3] (./mpgraph.3) [1.1{/local/hugo/texlive5/texmf/pdftex/co nfig/psfonts.map}{/local/hugo/texlive5/texmf/pdftex/config/lw35.map}{/local/hug o/texlive5/texmf/pdftex/config/rawfonts.map}{/local/hugo/texlive5/texmf/dvips/c spsfonts/csfontd.mapfile}] systems : end file test2 at line 42 [flush and process mpgraph.mp afterwards] ) Output written on test2.pdf (1 page, 8945 bytes). Transcript written on test2.log. run time : 2 seconds generating graphics : metaposting mpgraph.mp TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 metapost : mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.3.2x) (mpgraph.mp [1] [2] [3] ) 3 output files written: mpgraph.1 .. mpgraph.3 Transcript written on mpgraph.log. sorting and checking : running texutil 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 : test2.tui output file : test2.tuo passed commands : 10 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 bar test5 257 %