[NTG-context] Seperate footnotereference and footnotenumber if necessary
Hello dear list, I work with grids and in many cases a footnote on one of the last lines forces and too early page break. See this min-example: \setuplayout[grid=yes] \showgrid \starttext \dorecurse{40}{Word.\\} Word.\footnote{Footnote} \stoptext % Lines 41 on page 1 is empty It preserves the footnote and the reference on the same (next) page, but the not full lines because of early pagebreak are inacceptable in my cases. What I do as a workaround: I seperate the footnote and the reference with \note[] and \footnotetext[]{} – but that is not ideal in a developing and changing document. Is there some automatic method to allow the footnote to set on the next page if otherwise the pagebreak would leave one or more lines at the buttom empty? Maybe some penalty for empty lines or something else? Thank you. Huseyin ___ 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 ___
[NTG-context] Placing pagenumer with coordinates (layers)
Hello dear context-enthusiasts, I want to place the pagenumber on a double-sided project with coordinates. I tried the layer-mechanism: \setuppagenumbering[location=] \definelayer [pagenumber] [width=\paperwidth, height=\paperheight, location={left,top}, x=120mm,y=220mm, doublesided=yes] \startsetups layer \setlayer[pagenumber][even]{\pagenumber} \stopsetups \setupbackgrounds[page][setups=layer,background={pagenumber}] \starttext ~\page~\page~\page \stoptext And it works, but only for the left (even) page. On the right page I want to place the pagenumber on different coordinates. I tried to copy the layer and then change [even] to [odd] with different coordinates, but that did not work (no pagenumber printed). What do you suggest? Thank you. Huseyin ___ 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 ___