ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Background colors in teTeX 1.0.7
@ 2000-10-11 21:07 Balazs Nagy
  2000-10-12  8:15 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Balazs Nagy @ 2000-10-11 21:07 UTC (permalink / raw)


Hi,

I'd like to use background colors as I did earlier, but every time I try it
I get black background.  Here's my example:

% interface=english output=pdftex
\pdfoutput=1
\setupcolors[state=start]
\definecolor[gry][s=.9]
\setupbackground[background=color,backgroundcolor=gry]
\starttext
normal
\background{backgrounded}
\stoptext

I tried with background=screen too, but nothing happened.

How can I use raster backgrounds again? The same applies to tables.
-- 
Nagy Balazs, LSC
http://www.lsc.hu/


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

* Re: Background colors in teTeX 1.0.7
  2000-10-11 21:07 Background colors in teTeX 1.0.7 Balazs Nagy
@ 2000-10-12  8:15 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-10-12  8:15 UTC (permalink / raw)
  Cc: ntg-context

At 11:07 PM 10/11/00 +0200, Balazs Nagy wrote:
>Hi,
>
>I'd like to use background colors as I did earlier, but every time I try it
>I get black background.  Here's my example:
>
>% interface=english output=pdftex
>\pdfoutput=1

That's wrong. Never use low level pdf primitives, and let \CONTEXT\ turn on
pdf support, since then it can load the right drivers. 

the hard coded way is [but best use txexec] \setupoutput[pdftex]

>\setupcolors[state=start]
>\definecolor[gry][s=.9]
>\setupbackground[background=color,backgroundcolor=gry]
>\starttext
>normal 

>\background{backgrounded}

this provides a background behind running text. Page backgrounds are
defined differently [see s-pre-*.tex]

>\stoptext
>
>I tried with background=screen too, but nothing happened.
>
>How can I use raster backgrounds again? The same applies to tables.

did you use texexec ? 

Hans

-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-10-12  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-11 21:07 Background colors in teTeX 1.0.7 Balazs Nagy
2000-10-12  8:15 ` 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).