Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-15 Thread Matthias Weber

Thanks, that solves it!

Matthias


On Jan 14, 2010, at 5:15 PM, Aditya Mahajan wrote:


On Thu, 14 Jan 2010, Matthias Weber wrote:


Thanks, that is what I want to see.
So ConTeXt live is broken as well as TeXlive 2009?


No. Both are (understandably) slightly paranoid, and disable  
\write18 by default. Either enable write18 in Texlive (http://wiki.contextgarden.net/write18 
) or add \runMPgraphicsfalse on top of your file.


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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber
More precisely, what formerly worked (with my 2008 installation, and  
it still works when I switch back)
is the following minimized setup. The frame and the background are  
gone :(, the red text is there.


Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

\stoptext 
___

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
___


Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Willi Egger

Hi Mathias,

I tested your sample-code with the minimals

This is LuaTeX, Version beta-0.50.0-2009122422
ConTeXt  ver: 2010.01.11 14:57 MKIV  fmt: 2010.1.11  int: english/ 
english


The outcome is to my knowledge correct See attachment.

Kind regards
Willi


backgrounds.pdf
Description: Adobe PDF document



On Jan 14, 2010, at 9:55 PM, Matthias Weber wrote:

More precisely, what formerly worked (with my 2008 installation,  
and it still works when I switch back)
is the following minimized setup. The frame and the background are  
gone :(, the red text is there.


Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

\stoptext_ 
__
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
__ 
_


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


Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber

Thanks, that is what I want to see.
So ConTeXt live is broken as well as TeXlive 2009?

Matthias

On Jan 14, 2010, at 4:39 PM, Willi Egger wrote:


Hi Mathias,

I tested your sample-code with the minimals

This is LuaTeX, Version beta-0.50.0-2009122422
ConTeXt  ver: 2010.01.11 14:57 MKIV  fmt: 2010.1.11  int: english/ 
english


The outcome is to my knowledge correct See attachment.

Kind regards
Willi
backgrounds.pdf

On Jan 14, 2010, at 9:55 PM, Matthias Weber wrote:

More precisely, what formerly worked (with my 2008 installation,  
and it still works when I switch back)
is the following minimized setup. The frame and the background are  
gone :(, the red text is there.


Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

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


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


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


Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Aditya Mahajan

On Thu, 14 Jan 2010, Matthias Weber wrote:


Thanks, that is what I want to see.
So ConTeXt live is broken as well as TeXlive 2009?


No. Both are (understandably) slightly paranoid, and disable \write18 by 
default. Either enable write18 in Texlive 
(http://wiki.contextgarden.net/write18) or add \runMPgraphicsfalse on top 
of your file.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___