[NTG-context] ConTeXt 2007.01.12 problem

Sanjoy Mahajan sanjoy at mrao.cam.ac.uk
Sat Jan 13 03:50:22 CET 2007

Several>> ! Undefined control sequence.
Several>> \initializenextposition ...dosetpositionpapersize

Taco> There was a new upload at 6pm, but I have not yet tested if that fixes
Taco> it.

When I upgraded to 2007.01.12 01:02 via the Debian package, I got the
same error that others have reported.  I just tested 2007.01.12 15:56
and the problem is fixed, so thanks for the quick work.  Here is the
test file (same as I've been using for dvipos), and it showed the
problem in dvi and pdf modes.  I'm using pdftex 1.40.0 (with Taco's
patch for the off-by-one-error) in /usr/local/bin.

\defineoverlay [foregraphics] [\positionoverlay{foregraphics}]


\hpos{r23}{7} \quad \hpos{r24}{8} 

  mpprocset := 0;  % context doesn't yet handle the new mpprocsets
  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;
    draw pab;
    anchor_box(\MPanchor{\MPvar{from}}) ;
  fi ;


The pattern.



`Not all those who wander are lost.' (J.R.R. Tolkien)

More information about the ntg-context mailing list