Hi all, I have seen this question asked several times and not answered in a way that has worked for me. To suppress a page number on the first page, in LaTeX I would use \thispagestyle{empty} but I cannot find how to accomplish the same thing in ConTeXt. I have seen the suggestions \setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should be, and \definelayout[1][header=0mm] \definelayout[2][reset] which doesn't work either. I'd like to 1. Have the header appear on each page and 2. Have no page number on the first page and 3, Have page numbers beginning on the second page which seems like it should have a simple solution, but after a couple of days of searching here and in the manuals I haven't been able to find it. A solution that puts a \page in somewhere fails, since I don't know when the second page will begin. Thanks much in advance, -Richard
Am 27.11.2014 um 00:59 schrieb Richard Sherman
: Hi all,
I have seen this question asked several times and not answered in a way that has worked for me.
To suppress a page number on the first page, in LaTeX I would use
\thispagestyle{empty}
but I cannot find how to accomplish the same thing in ConTeXt. I have seen the suggestions
\setupheader[1][header=0mm]
which is not what is intended, and also does not result in page numbers on pages 2, 3, ...,
and
\noheaderandfooterlines
which is also not successful, and doesn't seem like it should be, and
\definelayout[1][header=0mm] \definelayout[2][reset]
which doesn't work either.
I'd like to
1. Have the header appear on each page
and
2. Have no page number on the first page
and
3, Have page numbers beginning on the second page
which seems like it should have a simple solution, but after a couple of days of searching here and in the manuals I haven't been able to find it.
A solution that puts a \page in somewhere fails, since I don't know when the second page will begin.
You have to provide a example because \noheaderandfooterlines removes the pagenumber in the following example. \starttext \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \page \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \stoptext Wolfgang
On 11/27/2014 12:59 AM, Richard Sherman wrote:
Hi all,
I have seen this question asked several times and not answered in a way that has worked for me.
To suppress a page number on the first page, in LaTeX I would use
\thispagestyle{empty}
Hi Richard, \setuphead[chapter][header=empty] is what you need. Minimal working sample: \setuppapersize[A6] \setuphead[chapter][header=empty] \starttext \dorecurse{5}{\chapter{Digital typography} \dorecurse{5}{\input zapf\par}} \stoptext I hope it helps, Pablo -- http://www.ousia.tk
participants (3)
-
Pablo Rodriguez
-
Richard Sherman
-
Wolfgang Schuster