2 Aug
2011
2 Aug
'11
12:26 a.m.
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