ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Backgrounds off
@ 2000-08-11  9:36 Michal Kvasnicka
  2000-08-21 11:05 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kvasnicka @ 2000-08-11  9:36 UTC (permalink / raw)


Hallo,

one more question: In my paper document I'm using \setupbackgrounds
to put some chapter-dependent material to the left margin. I do want to
change it every chapter (that's o.k.), but I do also want to turn it off
on
the chapter page. How can I do it?

By the way, how can I link some command (macro) to shipout? Can I
simply use something like this:
    \let\orishipout=\shipout
    \def\shipout{\dosomethin\orishipout}
or is \shipout redefined in the ConTeXt in a way that doesn't allow to
use this simple hook securely?

Many thanks for your answers
Michal Kvasnicka

--
Economics is the only field in which two people can get a Nobel Prize
for saying exactly the opposite things.


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

* Re: Backgrounds off
  2000-08-11  9:36 Backgrounds off Michal Kvasnicka
@ 2000-08-21 11:05 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-08-21 11:05 UTC (permalink / raw)
  Cc: Context

At 11:36 AM 8/11/00 +0200, Michal Kvasnicka wrote:
>Hallo,
>
>one more question: In my paper document I'm using \setupbackgrounds
>to put some chapter-dependent material to the left margin. I do want to
>change it every chapter (that's o.k.), but I do also want to turn it off
>on
>the chapter page. How can I do it?
>
>By the way, how can I link some command (macro) to shipout? Can I
>simply use something like this:
>    \let\orishipout=\shipout
>    \def\shipout{\dosomethin\orishipout}
>or is \shipout redefined in the ConTeXt in a way that doesn't allow to
>use this simple hook securely?

Given that you know what you are doing [i.e. not introducing funny spaces
and so] 

\appendtoks \DoMyCommand \to \everyshipout

use capitals in your command to prevent clashes.

Context overloads some primitives, and the originals are always called
\normal...

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-08-21 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-11  9:36 Backgrounds off Michal Kvasnicka
2000-08-21 11:05 ` 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).