ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to clear the header and footer in some page?
@ 2013-04-16 10:17 Tim Li
  2013-04-16 10:41 ` Marco Patzer
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Li @ 2013-04-16 10:17 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 277 bytes --]

 I have set the header and footer in the setup area, so it will occur in every page unless clearing them. In some pages, for example, the page of dedication that the header and footer shouldn't occur there, how can I clear them in  pages like this ?   Best regards. 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: how to clear the header and footer in some page?
  2013-04-16 10:17 how to clear the header and footer in some page? Tim Li
@ 2013-04-16 10:41 ` Marco Patzer
  2013-04-16 10:55   ` Tim Li
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2013-04-16 10:41 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 880 bytes --]

On 2013–04–16 Tim Li wrote:

>  I have set the header and footer in the setup area, so it will
>  occur in every page unless clearing them. In some pages, for
>  example, the page of dedication that the header and footer
>  shouldn't occur there, how can I clear them in  pages like this ?

It would be nice to provide a minimal example next time. It's not
always necessary for understanding, but it's just simpler to
copy-paste the code than to write it yourself. It will increase the
chances of getting a response.

\setupheadertexts
  [My Header]

\definehead
  [dedication]
  [chapter]
  [header=empty]

\starttext

  \startchapter [title=Foo]
    \input knuth
  \stopchapter
  
  \startdedication [title=Dedication]
    \input knuth
  \stopdedication
  
  \startchapter [title=Bar]
    \input knuth
  \stopchapter

\stoptext


Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: how to clear the header and footer in some page?
  2013-04-16 10:41 ` Marco Patzer
@ 2013-04-16 10:55   ` Tim Li
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Li @ 2013-04-16 10:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset="gb2312", Size: 1606 bytes --]

oh, sorry, I must remember to do this next time.
 Date: Tue, 16 Apr 2013 12:41:57 +0200
From: homerow@lavabit.com
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] how to clear the header and footer in some page?

On 2013¨C04¨C16 Tim Li wrote:
 
>  I have set the header and footer in the setup area, so it will
>  occur in every page unless clearing them. In some pages, for
>  example, the page of dedication that the header and footer
>  shouldn't occur there, how can I clear them in  pages like this ?
 
It would be nice to provide a minimal example next time. It's not
always necessary for understanding, but it's just simpler to
copy-paste the code than to write it yourself. It will increase the
chances of getting a response.
 
\setupheadertexts
  [My Header]
 
\definehead
  [dedication]
  [chapter]
  [header=empty]
 
\starttext
 
  \startchapter [title=Foo]
    \input knuth
  \stopchapter
  
  \startdedication [title=Dedication]
    \input knuth
  \stopdedication
  
  \startchapter [title=Bar]
    \input knuth
  \stopchapter
 
\stoptext
 
 
Marco

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

[-- Attachment #1.2: Type: text/html, Size: 1997 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2013-04-16 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-16 10:17 how to clear the header and footer in some page? Tim Li
2013-04-16 10:41 ` Marco Patzer
2013-04-16 10:55   ` Tim Li

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