ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* No number on first page
@ 2014-11-26 23:59 Richard Sherman
  2014-11-27  6:00 ` Wolfgang Schuster
  2014-11-27  6:06 ` Pablo Rodriguez
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Sherman @ 2014-11-26 23:59 UTC (permalink / raw)
  To: ntg-context

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No number on first page
  2014-11-26 23:59 No number on first page Richard Sherman
@ 2014-11-27  6:00 ` Wolfgang Schuster
  2014-11-27  7:16   ` Richard Sherman
  2014-11-27  6:06 ` Pablo Rodriguez
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-11-27  6:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No number on first page
  2014-11-26 23:59 No number on first page Richard Sherman
  2014-11-27  6:00 ` Wolfgang Schuster
@ 2014-11-27  6:06 ` Pablo Rodriguez
  2014-11-27  7:19   ` Richard Sherman
  1 sibling, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2014-11-27  6:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No number on first page
  2014-11-27  6:00 ` Wolfgang Schuster
@ 2014-11-27  7:16   ` Richard Sherman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Sherman @ 2014-11-27  7:16 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster <schuster.wolfgang <at> gmail.com> writes:


> \starttext
> 
> \noheaderandfooterlines
> 
> \dorecurse{10}{\input knuth\par}
> 
...
> 
> \stoptext
> 
> Wolfgang

Thank you. More time with the manuals for me. 

-Richard



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No number on first page
  2014-11-27  6:06 ` Pablo Rodriguez
@ 2014-11-27  7:19   ` Richard Sherman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Sherman @ 2014-11-27  7:19 UTC (permalink / raw)
  To: ntg-context

Pablo Rodriguez <oinos <at> gmx.es> writes:


> Minimal working sample:
> 
>     \setuppapersize[A6]
>     \setuphead[chapter][header=empty]
>     \starttext
>     \dorecurse{5}{\chapter{Digital typography}
>     \dorecurse{5}{\input zapf\par}}
>     \stoptext
> 

Thank you, that is great. 

-Richard




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-27  7:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26 23:59 No number on first page Richard Sherman
2014-11-27  6:00 ` Wolfgang Schuster
2014-11-27  7:16   ` Richard Sherman
2014-11-27  6:06 ` Pablo Rodriguez
2014-11-27  7:19   ` Richard Sherman

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).