* How to set \definemakeup without affect other pages?
@ 2009-04-18 4:21 Wei-Wei Guo
2009-04-18 7:20 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Wei-Wei Guo @ 2009-04-18 4:21 UTC (permalink / raw)
To: ConTeXt users
Dear all,
I use \setupbackgrounds to draw a line under header. It works fine.
When I setup a cover makeup and use it, the lines under headers are gone.
The "headerstate=none" causes the problem. But I don't want the lines under headers
appear in cover. What should I do?
Here is an example.
%======================================
\setupbackgrounds
[header][text]
[frame=off,bottomframe=on,rulethickness=1.5pt]
\definemakeup[cover]
[headerstate=none,
footerstate=none,
pagestate=stop,
doublesided=yes]
\starttext
\startcovermakeup
\input knuth
\stopcovermakeup
\input knuth
\stoptext
%======================================
Best wishes,
Wei-Wei
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to set \definemakeup without affect other pages?
2009-04-18 4:21 How to set \definemakeup without affect other pages? Wei-Wei Guo
@ 2009-04-18 7:20 ` Wolfgang Schuster
2009-04-18 16:04 ` Wei-Wei Guo
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2009-04-18 7:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.04.2009 um 06:21 schrieb Wei-Wei Guo:
> Dear all,
>
> I use \setupbackgrounds to draw a line under header. It works fine.
> When I setup a cover makeup and use it, the lines under headers are
> gone.
>
> The "headerstate=none" causes the problem. But I don't want the
> lines under headers
> appear in cover. What should I do?
headerstate=high
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to set \definemakeup without affect other pages?
2009-04-18 7:20 ` Wolfgang Schuster
@ 2009-04-18 16:04 ` Wei-Wei Guo
2009-04-19 0:00 ` Wei-Wei Guo
2009-04-19 2:59 ` Wei-Wei Guo
2 siblings, 0 replies; 5+ messages in thread
From: Wei-Wei Guo @ 2009-04-18 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster 写道:
>> I use \setupbackgrounds to draw a line under header. It works fine.
>> When I setup a cover makeup and use it, the lines under headers are gone.
>>
>> The "headerstate=none" causes the problem. But I don't want the lines
>> under headers
>> appear in cover. What should I do?
>
> headerstate=high
>
> Wolfgang
Thanks a lot. What does "high" mean? Do I need to set footerstate to "high" too?
Best wishes,
Wei-Wei
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to set \definemakeup without affect other pages?
2009-04-18 7:20 ` Wolfgang Schuster
2009-04-18 16:04 ` Wei-Wei Guo
@ 2009-04-19 0:00 ` Wei-Wei Guo
2009-04-19 2:59 ` Wei-Wei Guo
2 siblings, 0 replies; 5+ messages in thread
From: Wei-Wei Guo @ 2009-04-19 0:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster 写道:
>> The "headerstate=none" causes the problem. But I don't want the lines
>> under headers
>> appear in cover. What should I do?
>
> headerstate=high
>
I just noticed that "headerstate=high" had a side effect. The cover should be followed
by a blank page. With "high", the "blank page" has header now.
Best wishes,
Wei-Wei
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to set \definemakeup without affect other pages?
2009-04-18 7:20 ` Wolfgang Schuster
2009-04-18 16:04 ` Wei-Wei Guo
2009-04-19 0:00 ` Wei-Wei Guo
@ 2009-04-19 2:59 ` Wei-Wei Guo
2 siblings, 0 replies; 5+ messages in thread
From: Wei-Wei Guo @ 2009-04-19 2:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Wolfgang,
Wolfgang Schuster 写道:
>
> Am 18.04.2009 um 06:21 schrieb Wei-Wei Guo:
>
>> Dear all,
>>
>> I use \setupbackgrounds to draw a line under header. It works fine.
>> When I setup a cover makeup and use it, the lines under headers are gone.
>>
>> The "headerstate=none" causes the problem. But I don't want the lines
>> under headers
>> appear in cover. What should I do?
>
> headerstate=high
>
Sorry for posting one by one. I just found that \definemakeup could make the whole
header disappear.
%=======================================
\setupheadertexts[]
\setupheadertexts[pagenumber][MyHeader][][]
\definemakeup[cover]
[headerstate=high,
footerstate=high,
pagestate=stop,]
\starttext
\startcovermakeup
\midaligned{My Title}
\stopcovermakeup
\input knuth
\inleft{\ConTeXt }Other text\footnote{\LaTeX }.
\stoptext
%=====================================
Am I setting something wrong?
Best wishes,
Wei-Wei
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-19 2:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-18 4:21 How to set \definemakeup without affect other pages? Wei-Wei Guo
2009-04-18 7:20 ` Wolfgang Schuster
2009-04-18 16:04 ` Wei-Wei Guo
2009-04-19 0:00 ` Wei-Wei Guo
2009-04-19 2:59 ` Wei-Wei Guo
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).