From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2874 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: second problem Date: Thu, 5 Oct 2000 14:17:13 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010051217.OAA00272@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 1035393649 12466 80.91.224.250 (23 Oct 2002 17:20:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:20:49 +0000 (UTC) Cc: roegel@lorraine.loria.fr (Denis B. Roegel) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:2874 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2874 I am still using the example \setupoutput[pdftex] \starttext \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: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 When I launch cont-en, I immediately get an error with \pdflastxpos. Is this because I have an old version of pdftex ? Thanks, Denis This is pdfeTeX, Version 3.14159-13c-2.1 (Web2C 7.3) (/usr/local/tex/texmf/pdftex/config/pdftex.cfg) (test2.tex ConTeXt ver: 2000.9.21 fmt: 2000.10.3 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 specials : tex,postscript,rokicki is reset specials : loading definition file tpd (/usr/local/tex/texmflocal/tex/context/base/spec-tpd.tex systems : please update your pdfTeX binaries specials : loading definition file fdf (/usr/local/tex/texmflocal/tex/context/base/spec-fdf.tex ) specials : fdf loaded ) specials : fdf,tpd loaded systems : begin file test2 at line 2 ! Undefined control sequence. ...io }{\noexpand \number \pdflastxpos }{\noexpand \number \pdfla... \writeutilitycommand ...writeutility {c \string #1 } \doTPDsetposition ...and \number \pdflastypos }#3} }\pdfsavepos \doTPDsetposi... \doonespecial ...\nextbox }{\number \dp \nextbox } \relax \next1 #1,->\doonespecial {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.23 ...ction we saw that some \hpos {X-1} {words} were ?