ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* textbackground again...
@ 2003-03-27 13:50 Patrick Gundlach
  2003-03-27 17:50 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gundlach @ 2003-03-27 13:50 UTC (permalink / raw)


Hi there,

why is frame=on and the offset ignored? (Why do I need ... enlarged
in MPgrahic?)


\mainlanguage[de]
\setupcolors[state=start]

\startuseMPgraphic{mpos:par:columnset:shade}
   for i := 1 upto nofmultipars :
    linear_shade(multipars[i] enlarged 5pt cornered 20pt,1,
                  \MPcolor{middlegreen},\MPcolor{lightgreen}); 
   endfor ;
\stopuseMPgraphic

\definetextbackground[info]
  [backgroundoffset=5pt,
   location=paragraph,
   frame=on,
   mp=mpos:par:columnset:shade,
    ]

\starttext
\starttextbackground[info]
Stolz auf diesen Sieg flog die M\"ucke davon, um ihn aller
Welt auszuposaunen, \"ubersah aber das Gewebe einer Spinne
und verfing sich in demselben. Gierig umarmte die Spinne
sie und sog ihr das Heldenblut aus. Sterbend empfand die
M\"ucke ihre Nichtigkeit, indem sie, die Besiegerin des
L\"owen, einem so ver\"achtlichen Tiere, einer Spinne,
erliegen mu\SS te. 
\stoptextbackground
\stoptext


Patrick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: textbackground again...
  2003-03-27 13:50 textbackground again Patrick Gundlach
@ 2003-03-27 17:50 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-03-27 17:50 UTC (permalink / raw)


At 02:50 PM 3/27/2003 +0100, Patrick Gundlach wrote:

>why is frame=on and the offset ignored? (Why do I need ... enlarged
>in MPgrahic?)

because setuptextbackgrounds only passes values, you can try to use 
OverlayOffset or so but 'm not sure if i added that; just collect your 
wishes and i'll see what i can/will honor

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-27 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 13:50 textbackground again Patrick Gundlach
2003-03-27 17:50 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).