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