Re: [NTG-context] Red framed text

2005-12-23 Thread Peter Münster
On Fri, 23 Dec 2005, Jilani Khaldi wrote: \framed [align=middle,background=shadow,frame=off] {\input zapf \relax} Very nice! Thank you. But is there a simple way to get the text left justified with a centered title Attention!? \framed

Re: [NTG-context] Red framed text

2005-12-23 Thread Hans Hagen
David Arnold wrote: Very cool. First time I ever could figure out what \relax does. When I deleted it from this source, I got: ! I can't find file `zapf}'. l.25 {\input zapf} Please type another input file name: Good learning experience for me. I've seen and ignored this type of error

[NTG-context] Red framed text

2005-12-22 Thread Jilani Khaldi
Hi All, 1) I looks correct but I can't get the word Attention! written in red color inside a red frame. \setupframedtexts[bodyfont=small,framecolor=red] \startframedtext[width=.8\makeupwidth] \color[red]{\bf Attention!}\blank bla bla bla... \stopframedtext What am I missing? And what about a

Re: [NTG-context] Red framed text

2005-12-22 Thread Taco Hoekwater
Jilani Khaldi wrote: What am I missing? Missing \setupcolors[state=start] maybe? (works for me) And what about a shaded frame? You mean like a dropshadow or so? Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Red framed text

2005-12-22 Thread Jilani Khaldi
Missing \setupcolors[state=start] maybe? (works for me) Yes it is. And what about a shaded frame? You mean like a dropshadow or so? Something like \shadowbox{..} using LaTeX package fancybox I just want to translate the simple macro I wrote time ago from LaTeX to ConTeXt:

Re: [NTG-context] Red framed text

2005-12-22 Thread Hans Hagen
Jilani Khaldi wrote: Missing \setupcolors[state=start] maybe? (works for me) Yes it is. And what about a shaded frame? You mean like a dropshadow or so? Something like \shadowbox{..} using LaTeX package fancybox I just want to translate the simple macro I wrote time ago from

Re: [NTG-context] Red framed text

2005-12-22 Thread Jilani Khaldi
\setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic

Re: [NTG-context] Red framed text

2005-12-22 Thread David Arnold
Very cool. First time I ever could figure out what \relax does. When I deleted it from this source, I got: ! I can't find file `zapf}'. l.25 {\input zapf} Please type another input file name: Good learning experience for me. I've seen and ignored this type of error message before, looking

Re: [NTG-context] Red framed text

2005-12-22 Thread Jilani Khaldi
\setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic