ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Empty page without header, footer, pagenumber
@ 2013-10-02  8:43 "H. Özoguz"
  2013-10-02 10:25 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: "H. Özoguz" @ 2013-10-02  8:43 UTC (permalink / raw)
  To: ntg-context

Hi there,

since long time I always use hacks and complicate uses of

\setuppagenumbering[location=] and \startfrontmatter \stopfrontmatter in 
different places of my documents, which habe often sideeffects and make 
problems.

All this just for realizing a very simple rule: If the page is empty (no 
text), then it should be "totally empty", that is: No header, no footer, 
no pagenumber. But apart from this, do nothing – do not change effects 
of partnumerings (like \frontmatter does), or anything else.

That is all I need. Is that easy to realize without on/off-commands, 
which makes confusing in a large document?

Thanks.
Huseyin
___________________________________________________________________________________
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: Empty page without header, footer, pagenumber
  2013-10-02  8:43 Empty page without header, footer, pagenumber "H. Özoguz"
@ 2013-10-02 10:25 ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2013-10-02 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 02.10.2013 um 10:43 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Hi there,
> 
> since long time I always use hacks and complicate uses of
> 
> \setuppagenumbering[location=] and \startfrontmatter \stopfrontmatter in different places of my documents, which habe often sideeffects and make problems.

Sectionblock environment are supposed to be used only once in a document.

> All this just for realizing a very simple rule: If the page is empty (no text), then it should be "totally empty", that is: No header, no footer, no pagenumber. But apart from this, do nothing – do not change effects of partnumerings (like \frontmatter does), or anything else.
> 
> That is all I need. Is that easy to realize without on/off-commands, which makes confusing in a large document?


\setuppagenumbering[alternative=doublesided]

\starttext

\input knuth

\page[empty] % empty page

\input knuth

\page[yes,right] %move to right page but keep header and footer

\input knuth

\page[yes,header,footer,right] % move to right page and remove header and footer

\input knuth

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

* Re: Empty page without header, footer, pagenumber
@ 2013-10-02 10:38 "H. Özoguz"
  0 siblings, 0 replies; 3+ messages in thread
From: "H. Özoguz" @ 2013-10-02 10:38 UTC (permalink / raw)
  To: ntg-context

> \setuppagenumbering[alternative=doublesided]
>
> \starttext
>
> \input knuth
>
> \page[empty] % empty page
>
> \input knuth
>
> \page[yes,right] %move to right page but keep header and footer
>
> \input knuth
>
> \page[yes,header,footer,right] % move to right page and remove header and footer
>
> \input knuth
>
> \stoptext
>
> Wolfgang

Thanks Wolfgang, but its not so easy. I knew this commands, but that is, 
what I meant with this problems I had. In a large document often empty 
pages (but with numbers) appear infront of a new part, or chapter, 
because this new part has to be set on a odd page, for example. And so I 
have always to deactivate all things, and activate them after this empty 
page again, exactly with these commands above.

That is, why I had the pseudo-algorithm idea, that context should just 
look after, which pages are empty, and to clear everything on them (or: 
to not set anything on them, if there is no text). That would give 
perfect result with only one single command, without switching all the way.

Huseyin


___________________________________________________________________________________
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-10-02 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02  8:43 Empty page without header, footer, pagenumber "H. Özoguz"
2013-10-02 10:25 ` Wolfgang Schuster
2013-10-02 10:38 "H. Özoguz"

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