ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \framed[backgroundcolor=x] might imply \framed[background=color]
@ 2008-09-02  9:27 Johan Sandblom
  2008-09-02 11:07 ` Wolfgang Schuster
  2008-09-02 16:28 ` Peter Rolf
  0 siblings, 2 replies; 6+ messages in thread
From: Johan Sandblom @ 2008-09-02  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

What would be the drawback of allowing

backgroundcolor=n imply background=color

and

backgroundscreen=x imply background=screen

in the setup to \framed. Background compatibility should not be an
issue and I am failing to imagine cases where it would not be
desirable.

Regards, Johan

-- 
Johan Sandblom, MD PhD
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___________________________________________________________________________________
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] 6+ messages in thread

* Re: \framed[backgroundcolor=x] might imply \framed[background=color]
  2008-09-02  9:27 \framed[backgroundcolor=x] might imply \framed[background=color] Johan Sandblom
@ 2008-09-02 11:07 ` Wolfgang Schuster
  2008-09-02 16:28 ` Peter Rolf
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2008-09-02 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Sep 2, 2008 at 11:27 AM, Johan Sandblom <jsandblom@gmail.com> wrote:
> What would be the drawback of allowing
>
> backgroundcolor=n imply background=color
>
> and
>
> backgroundscreen=x imply background=screen
>
> in the setup to \framed. Background compatibility should not be an
> issue and I am failing to imagine cases where it would not be
> desirable.
>
> Regards, Johan

backgroundscreen has a default value and with your description
the background will be always gray.

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] 6+ messages in thread

* Re: \framed[backgroundcolor=x] might imply \framed[background=color]
  2008-09-02  9:27 \framed[backgroundcolor=x] might imply \framed[background=color] Johan Sandblom
  2008-09-02 11:07 ` Wolfgang Schuster
@ 2008-09-02 16:28 ` Peter Rolf
  2008-09-02 17:25   ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Rolf @ 2008-09-02 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Johan Sandblom schrieb:
> What would be the drawback of allowing
> 
> backgroundcolor=n imply background=color
> 
> and
> 
> backgroundscreen=x imply background=screen
> 
> in the setup to \framed. Background compatibility should not be an
> issue and I am failing to imagine cases where it would not be
> desirable.
>
The background parameter is not fixed to 'color' or 'screen'. You can
use any type of overlay background (which itself can use the parameter
backgroundcolor). So the usage of 'backgroundcolor' doesn't always imply
'screen=color'. At least not in my macros.. :)


Best Wishes, Peter

___________________________________________________________________________________
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] 6+ messages in thread

* Re: \framed[backgroundcolor=x] might imply \framed[background=color]
  2008-09-02 16:28 ` Peter Rolf
@ 2008-09-02 17:25   ` Hans Hagen
  2008-09-02 19:33     ` Johan Sandblom
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2008-09-02 17:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf wrote:
> Johan Sandblom schrieb:
>> What would be the drawback of allowing
>>
>> backgroundcolor=n imply background=color
>>
>> and
>>
>> backgroundscreen=x imply background=screen
>>
>> in the setup to \framed. Background compatibility should not be an
>> issue and I am failing to imagine cases where it would not be
>> desirable.
>>
> The background parameter is not fixed to 'color' or 'screen'. You can
> use any type of overlay background (which itself can use the parameter
> backgroundcolor). So the usage of 'backgroundcolor' doesn't always imply
> 'screen=color'. At least not in my macros.. :)

is anyone using screen? deep down it's already mapped onto color anyway 
(the color mechanism will reduce colors anyway) .. if not, we might as 
well remove it from mkiv

Hans

ps. it dates from the time where not all printers could print gray areas 
and fallbacks were needed (fakes, real old code often)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \framed[backgroundcolor=x] might imply \framed[background=color]
  2008-09-02 17:25   ` Hans Hagen
@ 2008-09-02 19:33     ` Johan Sandblom
  2008-09-02 21:57       ` Peter Rolf
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Sandblom @ 2008-09-02 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

So perhaps as expected it turns out that the limitation was only in my
imagination. Thanks for the responses.

Johan

2008/9/2 Hans Hagen <pragma@wxs.nl>:
> Peter Rolf wrote:
>> Johan Sandblom schrieb:
>>> What would be the drawback of allowing
>>>
>>> backgroundcolor=n imply background=color
>>>
>>> and
>>>
>>> backgroundscreen=x imply background=screen
>>>
>>> in the setup to \framed. Background compatibility should not be an
>>> issue and I am failing to imagine cases where it would not be
>>> desirable.
>>>
>> The background parameter is not fixed to 'color' or 'screen'. You can
>> use any type of overlay background (which itself can use the parameter
>> backgroundcolor). So the usage of 'backgroundcolor' doesn't always imply
>> 'screen=color'. At least not in my macros.. :)
>
> is anyone using screen? deep down it's already mapped onto color anyway
> (the color mechanism will reduce colors anyway) .. if not, we might as
> well remove it from mkiv
>
> Hans
>
> ps. it dates from the time where not all printers could print gray areas
> and fallbacks were needed (fakes, real old code often)
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>



-- 
Johan Sandblom, MD PhD
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___________________________________________________________________________________
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] 6+ messages in thread

* Re: \framed[backgroundcolor=x] might imply \framed[background=color]
  2008-09-02 19:33     ` Johan Sandblom
@ 2008-09-02 21:57       ` Peter Rolf
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Rolf @ 2008-09-02 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Johan Sandblom schrieb:
> So perhaps as expected it turns out that the limitation was only in my
> imagination. Thanks for the responses.
>
It's limited by your main focus. The drawbacks of specialismn (mine is
graphics, so I surely lack the textual part [not always (some would say
most times) aware of it]) :D

> Johan
> 
> 2008/9/2 Hans Hagen <pragma@wxs.nl>:
>> Peter Rolf wrote:
>>> Johan Sandblom schrieb:
>>>> What would be the drawback of allowing
>>>>
>>>> backgroundcolor=n imply background=color
>>>>
>>>> and
>>>>
>>>> backgroundscreen=x imply background=screen
>>>>
>>>> in the setup to \framed. Background compatibility should not be an
>>>> issue and I am failing to imagine cases where it would not be
>>>> desirable.
>>>>
>>> The background parameter is not fixed to 'color' or 'screen'. You can
>>> use any type of overlay background (which itself can use the parameter
>>> backgroundcolor). So the usage of 'backgroundcolor' doesn't always imply
>>> 'screen=color'. At least not in my macros.. :)
>> is anyone using screen? deep down it's already mapped onto color anyway
>> (the color mechanism will reduce colors anyway) .. if not, we might as
>> well remove it from mkiv
>>
I can live without (and it's not a big deal to get the same effect with
a slightly different setup). So if it doesn't hurt too much, cut of the
old pigtails. *ConTeXt is a democratic kingdom* ;)

Regards, Peter

>> Hans
>>
>> ps. it dates from the time where not all printers could print gray areas
>> and fallbacks were needed (fakes, real old code often)
>>
must be from the time before I was born (or realized what a printer is) ...

>> -----------------------------------------------------------------
>>                                           Hans Hagen | PRAGMA ADE
>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>>
> 
> 
> 

___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2008-09-02 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-02  9:27 \framed[backgroundcolor=x] might imply \framed[background=color] Johan Sandblom
2008-09-02 11:07 ` Wolfgang Schuster
2008-09-02 16:28 ` Peter Rolf
2008-09-02 17:25   ` Hans Hagen
2008-09-02 19:33     ` Johan Sandblom
2008-09-02 21:57       ` Peter Rolf

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).