From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: No number on first page
Date: Thu, 27 Nov 2014 07:00:00 +0100 [thread overview]
Message-ID: <D4B0F6D9-854D-4085-B322-5B294ABFBEBC@gmail.com> (raw)
In-Reply-To: <loom.20141127T004513-618@post.gmane.org>
> Am 27.11.2014 um 00:59 schrieb Richard Sherman <rss.pdx@gmail.com>:
>
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-11-27 6:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 23:59 Richard Sherman
2014-11-27 6:00 ` Wolfgang Schuster [this message]
2014-11-27 7:16 ` Richard Sherman
2014-11-27 6:06 ` Pablo Rodriguez
2014-11-27 7:19 ` Richard Sherman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D4B0F6D9-854D-4085-B322-5B294ABFBEBC@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).