ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Subject: Re[3]: Backgrounds
Date: Tue, 25 Mar 2003 11:43:58 +0100	[thread overview]
Message-ID: <1205637386.20030325114358@iol.it> (raw)
In-Reply-To: <5.1.0.14.1.20030325094633.031a8c80@server-1>

Tuesday, March 25, 2003 Hans Hagen wrote:

HH> \starttext

HH> \setupcolors[state=start]

HH> \definetextbackground[gb][state=start]

HH> \startuseMPgraphic{mpos:par:columnset}
HH>    for i := 1 upto nofmultipars :
HH>      fill multipars[i] enlarged 5pt cornered 5pt withcolor green ;
HH>      draw multipars[i] enlarged 5pt cornered 5pt withcolor red ;
HH>    endfor ;
HH> \stopuseMPgraphic

HH> \input tufte \blank
HH> \starttextbackground[gb]
HH> \dorecurse{10}{\input tufte \par}
HH> \stoptextbackground
HH> \blank \input tufte

HH> \stoptext

HH> they split, can have corners, lay behind the text, ...

Ok, I start to see the picture: one must use MetaPost. I can
accept that :) (even if it's somewhat clumsier, but this is no
problem, one can write interfaces for that).

The problem is still that I cannot separate the behaviour at the
end of the background from the behaviour at a split. What I'm
looking for is something like this:


/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |

---- (page split) --------------

| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/

Instead, what I get is this:

/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/

---- (page split) --------------

/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/


Can the first effect be achieved?

-- 
Giuseppe "Oblomov" Bilotta

  reply	other threads:[~2003-03-25 10:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25  8:46 Re[2]: Backgrounds Hans Hagen
2003-03-25 10:43 ` Giuseppe Bilotta [this message]
2003-03-25 12:25   ` Re[3]: Backgrounds Hans Hagen
2003-03-25 14:36     ` Re[4]: Backgrounds Giuseppe Bilotta
2003-03-25 15:18       ` Hans Hagen
2003-03-25 17:00         ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-09 14:52       ` Backgrounds Patrick Gundlach
2003-04-09 16:57         ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-10  9:50           ` Backgrounds Patrick Gundlach
2003-04-10 11:43             ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-18 14:33             ` Backgrounds Johannes Hüsing
2003-04-18 14:36               ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-19 13:35               ` Backgrounds Patrick Gundlach
2003-04-10 20:00           ` Re[2]: Backgrounds Hans Hagen
2003-04-11 13:35             ` Re[3]: Backgrounds Giuseppe Bilotta
2003-04-11 16:02               ` Hans Hagen
2003-04-11 16:21                 ` Backgrounds Patrick Gundlach
2003-04-11 17:15                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-11 17:40                 ` Re[3]: Backgrounds John Culleton
2003-04-13 23:06                 ` supp-emp.tex \EMlinewd Hartmut Henkel
2003-04-14  6:48                   ` Hans Hagen
2003-04-18 14:41                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-19 10:42                   ` Hans Hagen
2003-04-19 12:10                     ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-21 11:13                       ` Hans Hagen
2003-04-21 18:33                         ` Re[6]: Backgrounds Giuseppe Bilotta
2003-03-25 18:00   ` Error: /undefined in NP scarso luigi
2003-03-26 12:55     ` scarso luigi
2003-03-26 14:04       ` Jens-Uwe Morawski
2003-03-28  7:41         ` scarso luigi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1205637386.20030325114358@iol.it \
    --to=gip.bilotta@iol.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).