Hi
It gives me frame too, but definetextbackground doesn't accept framecorner=round
parameter. I use ConTeXt ver: 2004.6.30 fmt: 2004.7.5. Is it too old?
ok, this is old functionality
{code snippet}
\definetextbackground[zak][state=start,framecolor=blue,framecorner=round]
(see core-pos.tex for the real dirty details and how to hook in your own mp
code)
todo, excercise: only topline at first page and bottom line at last page
(not that hard -)
Would work nicely. Not in this case though, as rounded frames would look rather
silly this way :)
\setupcolors[state=start]
\definetextbackground[zak][state=start,corner=round,radius=10pt]
\starttext
\starttextbackground[zak]
\dorecurse{10}{\input bryson\endgraf}
\stoptextbackground
\stoptext
ps. these are the mappings to mp:
gridtype=\getvalue{\??td#1\c!alternative},
filltype=\getvalue{\??td#1\c!background},
linetype=\getvalue{\??td#1\c!frame},
gridcolor=\getvalue{\??td#1\c!framecolor},
linecolor=\getvalue{\??td#1\c!framecolor},
fillcolor=\getvalue{\??td#1\c!backgroundcolor},
filloffset=\getvalue{\??td#1\c!backgroundoffset},
gridwidth=\getvalue{\??td#1\c!rulethickness},
linewidth=\getvalue{\??td#1\c!rulethickness},
lineradius=\getvalue{\??td#1\c!radius}}}%
-----------------------------------------------------------------
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
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context