From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2878 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: Re: second problem Date: Thu, 5 Oct 2000 20:37:10 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010051837.UAA15955@bar.loria.fr> References: <39DC86BE.7A1181D2@gmx.de> 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 1035393653 12499 80.91.224.250 (23 Oct 2002 17:20:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:20:53 +0000 (UTC) Cc: Denis.Roegel@loria.fr (Denis B. Roegel), ntg-context@ntg.nl (NTG-ConTeXt) Original-To: burnus@gmx.de (Tobias Burnus) In-Reply-To: <39DC86BE.7A1181D2@gmx.de> from "Tobias Burnus" at Oct 05, 2000 03:48:46 PM Xref: main.gmane.org gmane.comp.tex.context:2878 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2878 Ok, I have now installed the TeXlive 5 distribution. Things are going much better :-) However, with the file below, I see only one circle, around "arrow." Thanks again, 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 ============================================================= russell test 1329 % texexec --pdf test2 TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 executable : pdfetex format : cont-en inputfile : test2 output : pdftex interface : en 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 ) (./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 2 Randomizer initialized to 1443408607. 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 43 [flush and process mpgraph.mp afterwards] ) Output written on test2.pdf (1 page, 9091 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 russell test 1330 %