Re: [NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread H. Özoguz

\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
___


Re: [NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread Wolfgang Schuster

Am 02.10.2013 um 10:43 schrieb H. Özoguz :

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