Sanjoy Mahajan wrote:
> 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.
>   
that test should go into the test repos (which btw we should get running 
now that it gets filled up); i have to look into that asap

Hans
> ============================================================
> \defineoverlay [foregraphics] [\positionoverlay{foregraphics}]
> \setupbackgrounds
>   [page]
>   [background={foreground,foregraphics}]
>
> \starttext
>
> \hpos{r23}{7} \quad \hpos{r24}{8} 
>
> \startMPpositiongraphic{mypos:line}
>   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 ;
> \stopMPpositiongraphic
>
> \startpositionoverlay{foregraphics}
>   \setMPpositiongraphic{r23}{mypos:line}{to=r24}
> \stoppositionoverlay
>
> The pattern.
>
> \stoptext
> ============================================================
>
> -Sanjoy
>
> `Not all those who wander are lost.' (J.R.R. Tolkien)
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to