ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* second problem
@ 2000-10-05 12:17 Denis B. Roegel
  2000-10-05 13:48 ` Tobias Burnus
  0 siblings, 1 reply; 7+ messages in thread
From: Denis B. Roegel @ 2000-10-05 12:17 UTC (permalink / raw)
  Cc: Denis B. Roegel

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 <unprotect 2>
<unprotect 3> <protect 3> <protect 2>)
specials       : fdf loaded
<unprotect 2> <protect 2>)
specials       : fdf,tpd loaded
systems        : begin file test2 at line 2
! Undefined control sequence.
<argument> ...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
? 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-10-16  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-05 12:17 second problem Denis B. Roegel
2000-10-05 13:48 ` Tobias Burnus
2000-10-05 18:37   ` Denis B. Roegel
2000-10-15 22:58     ` Denis B. Roegel
2000-10-16  2:01       ` Mr. Wang Lei
2000-10-16  8:18       ` Hans Hagen
2000-10-07 21:42   ` Hans Hagen

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).