Re: [NTG-context] No header and no page-number on empty pages

2012-11-30 Thread Wolfgang Schuster

Am 30.11.2012 um 09:05 schrieb H. Özoguz :

> Am 29.11.2012 19:09, schrieb ntg-context-requ...@ntg.nl:
>> \definepagebreak
>>   [mychapterpagebreak]
>>  % [yes,header,right]
>>  %[yes,header,left]
>>  [yes,header,footer,right]
>> 
>> \setuphead
>>   [chapter]
>>   [page=mychapterpagebreak]
>>  %[page=Mychapterpagebreak,header=empty,footer=empty]
>> 
>> %\setupsectionblock[frontpart][page=chapter]
>> %\setupsectionblock[bodypart][page=chapter]
>> %\setupsectionblock[backpart][page=chapter]
>> %\setupsectionblock[appendix][page=chapter]
>> 
>> \setuppagenumbering[alternative=doublesided,location={header,margin}]
>> \setupheadertexts[{My special headertext}]
>> \setupfootertexts[This is a text in the footer]
>> %\setupbackgrounds[header][text][bottomframe=on]
>> 
>> \starttext
>>   \chapter{testA} \dorecurse{10}{\input tufte }
>>   \chapter{testB} \dorecurse{10}{\input tufte }
>>   \chapter{testC} \dorecurse{10}{\input tufte }
>> \stoptext
>> test-
> Thanks Luigi, Wolfgang. But this does not work if I use
> "\page~\page"
> (I need that in some cases for manually inserting a empty page). So the 
> question is how to insert empty pages – but of course respect them in page 
> numbering, I mean that the number is not shown on the page, but the page is 
> counted, s.t. the next pages have the correct numbers).

You can add a empty page in your document with \page[empty].

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
___


Re: [NTG-context] No header and no page-number on empty pages

2012-11-30 Thread luigi scarso
On Fri, Nov 30, 2012 at 9:05 AM, "H. Özoguz"  wrote:
> Am 29.11.2012 19:09, schrieb ntg-context-requ...@ntg.nl:
>>
>> \definepagebreak
>>[mychapterpagebreak]
>>   % [yes,header,right]
>>   %[yes,header,left]
>>   [yes,header,footer,right]
>>
>> \setuphead
>>[chapter]
>>[page=mychapterpagebreak]
>>   %[page=Mychapterpagebreak,header=empty,footer=empty]
>>
>> %\setupsectionblock[frontpart][page=chapter]
>> %\setupsectionblock[bodypart][page=chapter]
>> %\setupsectionblock[backpart][page=chapter]
>> %\setupsectionblock[appendix][page=chapter]
>>
>> \setuppagenumbering[alternative=doublesided,location={header,margin}]
>> \setupheadertexts[{My special headertext}]
>> \setupfootertexts[This is a text in the footer]
>> %\setupbackgrounds[header][text][bottomframe=on]
>>
>> \starttext
>>\chapter{testA} \dorecurse{10}{\input tufte }
>>\chapter{testB} \dorecurse{10}{\input tufte }
>>\chapter{testC} \dorecurse{10}{\input tufte }
>> \stoptext
>> test-
>
> Thanks Luigi, Wolfgang. But this does not work if I use
> "\page~\page"
> (I need that in some cases for manually inserting a empty page). So the
> question is how to insert empty pages – but of course respect them in page
> numbering, I mean that the number is not shown on the page, but the page is
> counted, s.t. the next pages have the correct numbers).
>
> Huseyin
something like this ?
(I'm sure that there are other solutions)

\starttext
\input tufte\page %% force a pagebreak
\vbox to\textheight{}\page[blank,yes] % empty page
\vbox to\textheight{}\page[blank]
\vbox to\textheight{}\page
\input tufte\page
\input tufte
\stoptext


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

[NTG-context] No header and no page-number on empty pages

2012-11-30 Thread H. Özoguz

Am 29.11.2012 19:09, schrieb ntg-context-requ...@ntg.nl:

\definepagebreak
   [mychapterpagebreak]
  % [yes,header,right]
  %[yes,header,left]
  [yes,header,footer,right]

\setuphead
   [chapter]
   [page=mychapterpagebreak]
  %[page=Mychapterpagebreak,header=empty,footer=empty]

%\setupsectionblock[frontpart][page=chapter]
%\setupsectionblock[bodypart][page=chapter]
%\setupsectionblock[backpart][page=chapter]
%\setupsectionblock[appendix][page=chapter]

\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
%\setupbackgrounds[header][text][bottomframe=on]

\starttext
   \chapter{testA} \dorecurse{10}{\input tufte }
   \chapter{testB} \dorecurse{10}{\input tufte }
   \chapter{testC} \dorecurse{10}{\input tufte }
\stoptext
test-

Thanks Luigi, Wolfgang. But this does not work if I use
"\page~\page"
(I need that in some cases for manually inserting a empty page). So the 
question is how to insert empty pages – but of course respect them in 
page numbering, I mean that the number is not shown on the page, but the 
page is counted, s.t. the next pages have the correct numbers).


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] No header and no page-number on empty pages

2012-11-29 Thread Wolfgang Schuster

Am 29.11.2012 um 15:32 schrieb H. Özoguz :

> Hi there,
> 
> there are some possibilities for getting empty pages in a book, f.e. if a new 
> chapter begins (and by settings it may only begin on pages with odd 
> pagenumber).
> 
> In these cases I want the page-number and the headers to disappear on the 
> empty page, it should be totally empty, if no text is in it. How to achieve 
> that?

\setuphead
  [chapter]
  [page={yes,header,footer,right}]

or

\definepagebreak[chapterpage][yes,header,footer,right]

\setuphead
  [chapter]
  [page=chapterbreak]

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
___


Re: [NTG-context] No header and no page-number on empty pages

2012-11-29 Thread luigi scarso
On Thu, Nov 29, 2012 at 3:32 PM, "H. Özoguz"  wrote:
> Hi there,
>
> there are some possibilities for getting empty pages in a book, f.e. if a
> new chapter begins (and by settings it may only begin on pages with odd
> pagenumber).
>
> In these cases I want the page-number and the headers to disappear on the
> empty page, it should be totally empty, if no text is in it. How to achieve
> that?
>
> Thanks
> Huseyin

from http://wiki.contextgarden.net/Titles

\definepagebreak
  [mychapterpagebreak]
 % [yes,header,right]
 %[yes,header,left]
 [yes,header,footer,right]

\setuphead
  [chapter]
  [page=mychapterpagebreak]
 %[page=Mychapterpagebreak,header=empty,footer=empty]

%\setupsectionblock[frontpart][page=chapter]
%\setupsectionblock[bodypart][page=chapter]
%\setupsectionblock[backpart][page=chapter]
%\setupsectionblock[appendix][page=chapter]

\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
%\setupbackgrounds[header][text][bottomframe=on]

\starttext
  \chapter{testA} \dorecurse{10}{\input tufte }
  \chapter{testB} \dorecurse{10}{\input tufte }
  \chapter{testC} \dorecurse{10}{\input tufte }
\stoptext
test-003.tex (END)


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

[NTG-context] No header and no page-number on empty pages

2012-11-29 Thread H. Özoguz

Hi there,

there are some possibilities for getting empty pages in a book, f.e. if 
a new chapter begins (and by settings it may only begin on pages with 
odd pagenumber).


In these cases I want the page-number and the headers to disappear on 
the empty page, it should be totally empty, if no text is in it. How to 
achieve that?


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
___