* background color for makeups
@ 2013-06-18 20:58 Pablo Rodríguez
2013-06-18 21:38 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2013-06-18 20:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
the only way I found to center content horizontally and vertically on a
page is a makeup, such as:
\startstandardmakeup[align=middle]
content to be centered
\stopstandardmakeup
I need to be able to change the background on some given pages. Which is
the way to do this?
I have tried with (what I understand from) setups:
\startsetups[setups:redcolor]
\setupbackgrounds[page][background=color,backgroundcolor=red]
\stopsetups
\startstandardmakeup[setups=setups:redcolor]
content
\stopstandardmakeup
But it didn't work.
Could you help me with this?
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] 3+ messages in thread
* Re: background color for makeups
2013-06-18 20:58 background color for makeups Pablo Rodríguez
@ 2013-06-18 21:38 ` Hans Hagen
2013-06-19 15:30 ` Pablo Rodríguez
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-06-18 21:38 UTC (permalink / raw)
To: ntg-context
On 6/18/2013 10:58 PM, Pablo Rodríguez wrote:
> \startstandardmakeup[align=middle]
> content to be centered
> \stopstandardmakeup
>
> I need to be able to change the background on some given pages. Which is
> the way to do this?
>
> I have tried with (what I understand from) setups:
>
> \startsetups[setups:redcolor]
> \setupbackgrounds[page][background=color,backgroundcolor=red]
> \stopsetups
>
> \startstandardmakeup[setups=setups:redcolor]
> content
> \stopstandardmakeup
why not just
\startstandardmakeup[align=middle]
content to be centered
\stopstandardmakeup
\setupbackgrounds[page][background=color,backgroundcolor=red]
\startstandardmakeup[align=middle]
content
\stopstandardmakeup
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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: background color for makeups
2013-06-18 21:38 ` Hans Hagen
@ 2013-06-19 15:30 ` Pablo Rodríguez
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2013-06-19 15:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 18/06/13 23:38, Hans Hagen wrote:
> On 6/18/2013 10:58 PM, Pablo Rodríguez wrote:
>> \startstandardmakeup[align=middle]
>> content to be centered
>> \stopstandardmakeup
>>
>> I need to be able to change the background on some given pages. Which is
>> the way to do this?
>
> why not just
>
> \startstandardmakeup[align=middle]
> content to be centered
> \stopstandardmakeup
>
> \setupbackgrounds[page][background=color,backgroundcolor=red]
>
> \startstandardmakeup[align=middle]
> content
> \stopstandardmakeup
Well, so stupid it sounds, I had no idea this was possible (I thought it
was forbidden to setup anything after \starttext).
Many thank 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] 3+ messages in thread
end of thread, other threads:[~2013-06-19 15:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 20:58 background color for makeups Pablo Rodríguez
2013-06-18 21:38 ` Hans Hagen
2013-06-19 15:30 ` Pablo Rodríguez
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).