Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 9:46 AM, B. Tommy Jensen [EMAIL PROTECTED] wrote:
 On Tue, 02 Sep 2008 00:18:40 +0200, Mojca Miklavec
 [EMAIL PROTECTED] wrote:

 %
 \setupcolors[state=start]
 \definetextbackground[highlight][backgroundcolor=yellow,
 frame=on,

 %add
 background=color,

 location=text,
 color=blue]
 \starttext
 \starttextbackground[highlight]
 This text should have yellow background but it is white.
 The text is however blue.
 \stoptextbackground
 \stoptext
 %-

 Thanks for the prompt reply!

 I have tried to add background=color as an option, but the result is
 exactly the same;
 only the text gets colored; no frame and no background color appear.

 Do you have other ideas?

Is metapost or MPtoPDF called, take a in your terminal, dou you have
the metafun format and do you use MkII (texexec ...) or MkIV (context ...).

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
___


Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 12:55 PM, B. Tommy Jensen [EMAIL PROTECTED] wrote:
 On Tue, 02 Sep 2008 11:08:36 +0200, Wolfgang Schuster
 [EMAIL PROTECTED] wrote:

 Do you have other ideas?

 Is metapost or MPtoPDF called, take a in your terminal, dou you have
 the metafun format and do you use MkII (texexec ...) or MkIV (context
 ...).

 Wolfgang

 Thanks a lot for pointing me in the right direction!

 I was using the texexec utility. When I tried the same with the context
 version, it rebuilt some formats and it now works exactly as expected.

 Sorry for being a novice here; is it so that the texexec utility should
 be consiered as obsolete?

But MkII should work too. Try texexec --make metafun --alone and now
texexec myfile.

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
___


Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 00:18:40 +0200, Mojca Miklavec  
[EMAIL PROTECTED] wrote:

 %
 \setupcolors[state=start]
 \definetextbackground[highlight][backgroundcolor=yellow,
 frame=on,

 %add
 background=color,

 location=text,
 color=blue]
 \starttext
 \starttextbackground[highlight]
 This text should have yellow background but it is white.
 The text is however blue.
 \stoptextbackground
 \stoptext
 %-

Thanks for the prompt reply!

I have tried to add background=color as an option, but the result is  
exactly the same;
only the text gets colored; no frame and no background color appear.

Do you have other ideas?

Best regards,
Tommy Jensen
___
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] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 11:08:36 +0200, Wolfgang Schuster  
[EMAIL PROTECTED] wrote:

 Do you have other ideas?

 Is metapost or MPtoPDF called, take a in your terminal, dou you have
 the metafun format and do you use MkII (texexec ...) or MkIV (context  
 ...).

 Wolfgang

Thanks a lot for pointing me in the right direction!

I was using the texexec utility. When I tried the same with the context
version, it rebuilt some formats and it now works exactly as expected.

Sorry for being a novice here; is it so that the texexec utility should
be consiered as obsolete?

Best regards,
Tommy Jensen
___
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] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 13:08:56 +0200, Wolfgang Schuster  
[EMAIL PROTECTED] wrote:


 Sorry for being a novice here; is it so that the texexec utility  
 should
 be consiered as obsolete?

 But MkII should work too. Try texexec --make metafun --alone and now
 texexec myfile.

 Wolfgang

Thanks - this also now works! The context utility built the format
automatically while I had to run the command manually with texexec
(So context seems to be smarter than texexec).

My installation is the complete windows environment of context. I ran
the fist_setup.bat batch file after installation; this built many  
formats.
I don't know why the metafun format wasn't built - perhaps something
is missing from the setup file?

In any case - thanks a lot for the good advice.

Best regards,
Tommy Jensen


___
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
___


[NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread B. Tommy Jensen
Hi,
I am strugglig to get the background color visible with the following code:

%
\setupcolors[state=start]
\definetextbackground[highlight][backgroundcolor=yellow,
 frame=on,
 location=text,
 color=blue]
\starttext
\starttextbackground[highlight]
This text should have yellow background but it is white.
The text is however blue.
\stoptextbackground
\stoptext
%-

The background of the rendered text is always white, independent of the
backgroundcolor parameter. The font color is however OK (blue).
All other samples I have tried from details.pdf
behaves similarly - no background color and no frame/frame color.

I am using the latest complete standalone Windows version of Context.

Has anybody encountered a similar behaviour?

Best regards,
Tommy Jensen
___
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] Missing background color with \definetextbackground

2008-09-01 Thread Aditya Mahajan
On Tue, 2 Sep 2008, B. Tommy Jensen wrote:

 Hi,
 I am strugglig to get the background color visible with the following code:

 %
 \setupcolors[state=start]
 \definetextbackground[highlight][backgroundcolor=yellow,
background=color,%--- Add this
 frame=on,
 location=text,
 color=blue]
 \starttext
 \starttextbackground[highlight]
 This text should have yellow background but it is white.
 The text is however blue.
 \stoptextbackground
 \stoptext
 %-

Add background=color to \definetextbackground

Aditya
___
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] Missing background color with \definetextbackground

2008-09-01 Thread Mojca Miklavec
On Tue, Sep 2, 2008 at 12:06 AM, B. Tommy Jensen [EMAIL PROTECTED] wrote:
 Hi,
 I am strugglig to get the background color visible with the following code:

 %
 \setupcolors[state=start]
 \definetextbackground[highlight][backgroundcolor=yellow,
 frame=on,

%add
background=color,

 location=text,
 color=blue]
 \starttext
 \starttextbackground[highlight]
 This text should have yellow background but it is white.
 The text is however blue.
 \stoptextbackground
 \stoptext
 %-

 The background of the rendered text is always white, independent of the
 backgroundcolor parameter. The font color is however OK (blue).
 All other samples I have tried from details.pdf
 behaves similarly - no background color and no frame/frame color.

Mojca
___
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
___