Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Peter Rolf
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 <[EMAIL PROTECTED]>:
>> 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
___


Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Johan Sandblom
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 <[EMAIL PROTECTED]>:
> 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
___


Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Hans Hagen
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
___


Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Peter Rolf
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
___


Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 11:27 AM, Johan Sandblom <[EMAIL PROTECTED]> 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
___