> Am 10.07.2017 um 20:23 schrieb Mathias Schickel : > >> >> Am 10.07.2017 um 12:50 schrieb Pablo Rodriguez : >> >> On 07/08/2017 03:17 PM, Mathias Schickel wrote: >>> Dear Andreas, Pablo and the list, >>> >>> I did read your question and answer with great interest, since I >>> encountered similar issues. Sadly your trick to get footnotes that are >>> defined in some environments like tables displayed at the bottom of the >>> page does not work if you try it using backgrounds. Here I provide a >>> minimal example that shows the problem: >> >> Dear Mathias, >> >> I didn’t even know that backgrounds existed in ConTeXt. >> >> Framed texts does the trick with your sample: >> >> \setupframedtext >> [width=\textwidth, >> frame=on, >> rulethickness=1pt, >> corner=0, >> offset=12pt] >> >> \starttext >> \startframedtext >> If you typeset text with background, >> the footnote workaround does not work. >> \postponenotes\footnote{So what could >> I do to get this footnote displayed? >> Use framed texts.} >> \stopframedtext >> \flushnotes >> \stoptext >> >> But if you really need a background, I’m afraid it won’t work (or I >> don’t know how to make it work). >> >> Just in case it might help, >> >> Pablo > > Dear Pablo, > > thank you very much for your suggestion! Sadly I have noticed that framed texts do not break across pages (at least if I simply copy and use your code). I remember that I switched to backgrounds (from \definetextbackground) because I did get problems at page breaks. Regarding that backgrounds showed the best behaviour but sadly it has the described problems using footnotes. > > Do you have any further suggestions how I can enable framed text to break across pages? > > And can anyone tell me how I can get rid of the problem of backgrounds and footnotes? > > Again, thank you very much for your kind help! > > Best > Mathias > > Does no-one know what I can do to settle the problem? I have created a minimal example that shows the problem using textbackground to work around the footnote problem. But sadly the framedtext environment does not seem to be able to break across pages. Besides I would prefer the background solution. So what can I do to get the footnotes in a background environment displayed? Help appreciated! Best Mathias The minimal example follows: %%%%%%%%%%%%%%%%%% \setupbackground[ width=\textwidth, frame=on, framecolor=black, rulethickness=1pt, background=color, backgroundcolor=green, corner=0, before={\blank[4*small]}, after={\blank[5*small]}, topoffset=10pt, bottomoffset=10pt, leftoffset=10pt, rightoffset=10pt] \setupframedtext [width=\textwidth, frame=on, framecolor=black, rulethickness=1pt, background=color, backgroundcolor=red, corner=0, offset=12pt] \starttext % \startbackground % If you typeset text with background, the footnote workaround does not work.\postponenotes\footnote{So what could I do to get this footnote displayed?} % \stopbackground \flushnotes % \startbackground % One advantages of backgrounds is that they break across pages, as you can see here: % \dorecurse{5}{% \input{knuth}% } % \stopbackground % Compare that to the output of framedtext (the gap on this page is not intended!): % \startframedtext % Here I am getting trouble with breaking across pages. This was the first reason why I switched to backgrounds. % \dorecurse{5}{% \input{knuth}% } % \stopframedtext % \stoptext %%%%%%%%%%%%%%%%%% > >> -- >> http://www.ousia.tk >> ___________________________________________________________________________________ >> 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://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________