Thanks very much!  All I had to do was include

\setuppagenumbering[state=stop]

to stop the page number being automatically included in the middle of my footer.

cheers,
Alasdair

On Tue, Aug 2, 2011 at 10:26 AM, Aditya Mahajan <adityam@umich.edu> wrote:
On Tue, 2 Aug 2011, Alasdair McAndrew wrote:

I'm trying to recreate an MS Word document in ConTeXt.  The reason for this
is so the final document won't stand out from the others too much, and also
so that I can have better control over the layout.

One thing I'm having difficulty with is the footer, which consists of a
rule, followed by

"Name of document on the left << space >> Page n of m"

where "n" is the current page number, and "m" is the total number of pages
and is on the right.  Is there an automatic way of obtaining "m",


\setupfootertexts[Page \currentpage\ of \lastpage]


and what's the best way of preceding this footer by a rule?

\setupbackgrounds[footer][text][topframe=on]

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



--
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew