Sorry, I wasn't clear. \midalign{} put the page number in the (horizontal) middle of the margin in the bottom. What I would like to do is to put the page number in the vertical middle of the page.
Flavien Lambert wrote:(no vfill in hmode)
Dear all, as said by the title of the e-mail, I try to put the page number
in the middle (both vertically and horizontally) of the margin. I tried a
custom command like
\def\mypagenumber#1{%
\vfill #1 \vfill
}
\setuppagenumbering{location=margin,command=\mypagenumber}
but, unfortunately, I got an error message on the \vfill. Is there a direct
way to place my page number ?
\midaligned{#1}
-----------------------------------------------------------------
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________