* suppress header-footers
@ 2015-09-14 9:01 Meer, Hans van der
2015-09-14 17:13 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Meer, Hans van der @ 2015-09-14 9:01 UTC (permalink / raw)
To: NTG ConTeXt
With \noheaderandfooterlines one can suppress the header and footer lines on the current page.
When using \setuplayout[location=doublesided] a blank page is generated if necessary. However this generated page does contain header/footer, notwhithstanding the use of \noheaderandfooterlines. Is it possible to avoid this?
Hans van der Meer
___________________________________________________________________________________
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] 9+ messages in thread
* Re: suppress header-footers
2015-09-14 9:01 suppress header-footers Meer, Hans van der
@ 2015-09-14 17:13 ` Pablo Rodriguez
2015-09-14 18:33 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-09-14 17:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 09/14/2015 11:01 AM, Meer, Hans van der wrote:
> With \noheaderandfooterlines one can suppress the header and footer lines on the current page.
>
> When using \setuplayout[location=doublesided] a blank page is
> generated if necessary. However this generated page does contain
> header/footer, notwhithstanding the use of \noheaderandfooterlines. Is
> it possible to avoid this?
Hi Hans,
\setuppagenumbering[alternative=doublesided] is the command I know to work.
You can add either blank or header and footer to page break option, such
as in:
\setuppagenumbering[alternative=doublesided]
\setuphead[chapter][page={yes, header, footer, right}]
\setupheadertexts[Header]
\setupfootertexts[Footer]
\starttext
\dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines}
\stoptext
For some strange reason (at least, unknown to me), header and footer
must be placed before right (if specified at all). Although blank may be
placed before or after right.
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] 9+ messages in thread
* Re: suppress header-footers
2015-09-14 17:13 ` Pablo Rodriguez
@ 2015-09-14 18:33 ` Wolfgang Schuster
2015-09-14 19:28 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2015-09-14 18:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 965 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 14. September 2015 19:13
>
> Hi Hans,
>
> \setuppagenumbering[alternative=doublesided] is the command I know to
> work.
>
> You can add either blank or header and footer to page break option, such
> as in:
>
> \setuppagenumbering[alternative=doublesided]
> \setuphead[chapter][page={yes, header, footer, right}]
> \setupheadertexts[Header]
> \setupfootertexts[Footer]
> \starttext
> \dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines}
> \stoptext
>
> For some strange reason (at least, unknown to me), header and footer
> must be placed before right (if specified at all).
I will explain it for you.
When your text from the previous chapter ends on a right page the "yes" ends
the page end we move to the next left page. With the "header" and "footer"
keywords we disable the header and footer lines on this page. The last
keyword "right" moves us from the now empty left page to the following
right page.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2004 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] 9+ messages in thread
* Re: suppress header-footers
2015-09-14 18:33 ` Wolfgang Schuster
@ 2015-09-14 19:28 ` Pablo Rodriguez
2015-09-14 19:45 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-09-14 19:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 09/14/2015 08:33 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 14. September 2015 19:13
>> [...]
>> For some strange reason (at least, unknown to me), header and footer
>> must be placed before right (if specified at all).
>
> I will explain it for you.
>
> When your text from the previous chapter ends on a right page the "yes" ends
> the page end we move to the next left page. With the "header" and "footer"
> keywords we disable the header and footer lines on this page. The last
> keyword "right" moves us from the now empty left page to the following
> right page.
Many thanks for the explanation, Wolfgang.
I have only a question: why doesn’t blank behave the same way? Is blank
a switch?
Many thanks for your help,
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] 9+ messages in thread
* Re: suppress header-footers
2015-09-14 19:28 ` Pablo Rodriguez
@ 2015-09-14 19:45 ` Wolfgang Schuster
2015-09-17 5:24 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2015-09-14 19:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 14. September 2015 21:28
>
> Many thanks for the explanation, Wolfgang.
>
> I have only a question: why doesn’t blank behave the same way? Is blank
> a switch?
What do you expect from blank?
\setupbackgrounds[page][background=color,backgroundcolor=yellow]
\setuppagenumbering
[alternative=doublesided,
% page={yes,blank,right},
]
\starttext
\dorecurse{3}{\input knuth\par}
\page[yes,blank,right]
\dorecurse{6}{\input knuth\par}
\page[yes,blank,right]
\dorecurse{3}{\input knuth\par}
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1653 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] 9+ messages in thread
* Re: suppress header-footers
2015-09-14 19:45 ` Wolfgang Schuster
@ 2015-09-17 5:24 ` Pablo Rodriguez
2015-09-17 10:36 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-09-17 5:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 09/14/2015 09:45 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 14. September 2015 21:28
>> [...]
>> I have only a question: why doesn’t blank behave the same way? Is blank
>> a switch?
>
> What do you expect from blank?
Well, the question isn’t my expectation about blank, but about right.
Header and footer are applied to the right page only if set before
right. But blank may be written before or after right.
I must be missing something, because I think that the behavior of blank
in both cases might be inconsistent.
Many thanks for your help,
Pablo
> \setupbackgrounds[page][background=color,backgroundcolor=yellow]
>
> \setuppagenumbering
> [alternative=doublesided,
> % page={yes,blank,right},
> ]
>
> \starttext
>
> \dorecurse{3}{\input knuth\par}
> \page[yes,blank,right]
> \dorecurse{6}{\input knuth\par}
> \page[yes,blank,right]
> \dorecurse{3}{\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
> ___________________________________________________________________________________
>
--
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] 9+ messages in thread
* Re: suppress header-footers
2015-09-17 5:24 ` Pablo Rodriguez
@ 2015-09-17 10:36 ` Wolfgang Schuster
2015-09-17 15:55 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2015-09-17 10:36 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez
[-- Attachment #1.1: Type: text/plain, Size: 809 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 17. September 2015 07:24
> On 09/14/2015 09:45 PM, Wolfgang Schuster wrote:
>>> Pablo Rodriguez 14. September 2015 21:28
>>> [...]
>>> I have only a question: why doesn’t blank behave the same way? Is blank
>>> a switch?
>> What do you expect from blank?
>
> Well, the question isn’t my expectation about blank, but about right.
>
> Header and footer are applied to the right page only if set before
> right. But blank may be written before or after right.
>
> I must be missing something, because I think that the behavior of blank
> in both cases might be inconsistent.
>
Let me repeat my question, what do expect from the blank keyword?
The only description I found is “insert a completely blank page” from
cont-enp.pdf.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1897 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] 9+ messages in thread
end of thread, other threads:[~2015-09-17 17:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14 9:01 suppress header-footers Meer, Hans van der
2015-09-14 17:13 ` Pablo Rodriguez
2015-09-14 18:33 ` Wolfgang Schuster
2015-09-14 19:28 ` Pablo Rodriguez
2015-09-14 19:45 ` Wolfgang Schuster
2015-09-17 5:24 ` Pablo Rodriguez
2015-09-17 10:36 ` Wolfgang Schuster
2015-09-17 15:55 ` Pablo Rodriguez
2015-09-17 17:29 ` Wolfgang Schuster
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).