Mohammad Hossein Bateni <mailto:bat...@gmail.com>
4. Juli 2016 um 07:13
Hi,
Can one use {push,pop}background to save/restore backgrounds for
header*text and/or footer*text areas? I'm trying to typeset a
document where one page has a special background, which I set using
\setupbackgrounds[header][text][background=color,backgroundcolor=gray].
Can I go back to the default setting afterwards or do I need to
specify it explicitly. I know I can save whatever I put in
\setupbackgrounds[page] using \pushbackground[page] and
\popbackground. I could not get it to work with header/footer.
\setupcolors[state=start]
\showframe
\setupbackgrounds[header][text][background=color,backgroundcolor=yellow]
\starttext
One
\page
%\pushbackground[page]
\pushbackground[header][text]
\pushbackground[headertext]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________