ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Error using \starttextbackground. (LONG)
Date: Thu, 10 Apr 2003 23:19:31 +0200	[thread overview]
Message-ID: <87llyiqcd8.fsf@gundla.ch> (raw)
In-Reply-To: <200304101233.07781.john@wexfordpress.com> (John Culleton's message of "Thu, 10 Apr 2003 12:33:07 -0400")

John Culleton <john@wexfordpress.com> writes:

> I feel we have rounded the bend and are galloping for finish line :-) 

:)

> I did as Giuseppe suggested, deleted the files from .../context,
> left the .../context/base directory intact. Now the error message
> goes away but the background does not appear. I also added the
> \setupcolors[state=start] as suggested for my \framedtext example.


Let us first try a simple background, then we go to columnsets:


% output=pdf
\mainlanguage[de]
\setupcolors[state=start]

\definetextbackground[wichtig]
        [backgroundcolor=lightgray,
         location=paragraph,
         frame=off,
         backgroundoffset=5pt,
         ]
\starttext
         
\starttextbackground[wichtig]
\input tufte         
\stoptextbackground
\stoptext


Or a somewhat more complicated one:

% output=pdf
\mainlanguage[de]
\setupcolors[state=start]
\definetextbackground[wichtig][]
\startuseMPgraphic{mpos:par:columnset}
   for i := 1 upto nofmultipars :
    linear_shade(multipars[i] enlarged 5pt cornered 20pt,1,
                  \MPcolor{middlegreen},\MPcolor{lightgreen}); 
   endfor ;
\stopuseMPgraphic
\starttext
\starttextbackground[wichtig]
\input tufte         
\stoptextbackground
\stoptext


Do they come out right?

> ### simple group (level 1) entered at line 23 ({)
> ### bottom level

[...]
> \stoptextbackground
\stopcolumnset

> \page[new]
> \stoptext


Patrick

  reply	other threads:[~2003-04-10 21:19 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 21:52 Error using \starttextbackground John Culleton
2003-04-09  7:29 ` Hans Hagen
2003-04-09 19:35   ` John Culleton
2003-04-09 19:49     ` Patrick Gundlach
2003-04-09 20:30       ` John Culleton
2003-04-09 21:49         ` John Culleton
2003-04-09 22:17           ` keep section head with following paragraphs Mark A. Lilly
2003-04-10  6:13             ` narrowing text, but not heads? Mark A. Lilly
2003-04-10 11:33               ` Patrick Gundlach
2003-04-10 10:06             ` keep section head with following paragraphs Patrick Gundlach
2003-04-10 16:17             ` Hans Hagen
2003-04-10  5:27           ` Error using \starttextbackground Guy Worthington
2003-04-10  9:56         ` Patrick Gundlach
     [not found]           ` <87smspjuor.fsf_-_@gundla.ch>
2003-04-11  9:17             ` metafun id Hans Hagen
2003-04-09 23:22       ` Re: Error using \starttextbackground John Culleton
2003-04-10  5:23         ` Guy Worthington
2003-04-10 16:07           ` John Culleton
     [not found]       ` <87llyiisk9.fsf@levana.i-did-not-set--mail-host-address--so -tickle-me>
2003-04-10 18:29         ` Hans Hagen
2003-04-10 12:20     ` Patrick Gundlach
2003-04-10 14:11       ` John Culleton
2003-04-10 15:00         ` Patrick Gundlach
2003-04-10 14:35     ` Re[2]: " Giuseppe Bilotta
2003-04-10 15:46       ` Re[2]: Error using \starttextbackground. (LONG) John Culleton
2003-04-10 15:57         ` Re[4]: " Giuseppe Bilotta
2003-04-10 16:02         ` Patrick Gundlach
2003-04-10 16:33           ` John Culleton
2003-04-10 21:19             ` Patrick Gundlach [this message]
2003-04-11  0:02               ` John Culleton
     [not found]   ` <87el4ah7cn.fsf@levana.i-did-not-set--mail-host-address--so -tickle-me>
2003-04-10 17:27     ` Re: Error using \starttextbackground Hans Hagen
2003-04-09  7:39 ` Patrick Gundlach

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=87llyiqcd8.fsf@gundla.ch \
    --to=pg@levana.de \
    --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).