On 18-1-2010 16:47, Andreas Harder wrote:

\startuseMPgraphic{test}
   current := \somestructureheadnumber[chapter][current] ;
   last    := \somestructureheadnumber[chapter][last]    ;
   % current := 2 ;
   % last    := 6 ;

   skip    := TextHeight * (current-1)/last ;
   StartPage ;
     fill fullcircle scaled 3cm shifted (skip,skip) ;
   StopPage ;
\stopuseMPgraphic

not expandable and typeset ... so you i'll add

\somenamedheadnumber{chapter}{current}

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to