# [NTG-context] columns and footnotes

Hans Hagen j.hagen at xs4all.nl
Mon Oct 21 10:47:54 CEST 2019

On 10/20/2019 3:51 PM, Henning Hraban Ramm wrote:
> Hi again,
> I’m testing columns again, and before I publish an article on the subject, I’d like to check with you.
>
> Find attached my testing environment, env_test.tex, and columns.tex, a "product", as well as the result of compiling with —mode=oldcolumns,grid and —mode=grid
>
> The "oldcolumns" example shows the result of \usemodule[old-columns] and looks like it should. The new columns code still has errors:
>
> Previously it wasn’t possible to start (new) columns mid-page, i.e. after an image or chapter/intro like in the example.
> This works now (progress!), but the pre-columns stuff is still shifted to the right. (And I don’t know where the yellow box comes from.)
>
> Additionally, footnotes in old-columns use the whole width and don’t interfere with the text columns, while in new columns, footnotes start in their column but use the whole width anyway and thus interfere with the main text.
> I tried \setupnotes[footnote][location=columns] (and other options) but saw no change.
>
> Many more options to check…
yes but best check them indepedently (i have to turn these into small
simple examples only settigm things that matter)

anyway, the shift at the top is a side effect of tracing options enabled:

{\begingroup
\resetvisualizers
\global\setbox#1\vpack{\noindent\backgroundline[layout:mix]{\box#1}}%
\endgroup}

needs an \noindent (or maybe a forgetall elsewhere but that is more
drastic)

Hans

-----------------------------------------------------------------