Hi, I use \definetextbackground to create an environment that is set-off from the main text. This (now) works correctly, except in the particular case when the backgrounded text wraps to a second page and the first page contains a footnote. In this particular case, the footnote also gets the background, which is not the desired behavior.
Is this a bug or am I not using \definetextbackground correctly?
Alan
Minimal example (see also attached pdf):
\definetextbackground [example]
[location=paragraph,
background=color,backgroundscreen=middlegray,
leftoffset=0.5cm,rightoffset=0.5cm,
topoffset=.25ex,bottomoffset=.25ex,
before={\blank[small]\switchtobodyfont[script]},
after={\blank[small]},
frame=off]
\starttext
\input tufte\footnote{Do we ever get tired of this text?}\par
\dorecurse{3}
{\input tufte\par}
\startexample
\input knuth
\stopexample
\input tufte
\stoptext
test.pdf
Description: Adobe PDF document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
