[NTG-context] \footnote in \startlines[space=on] overflows

Marco Pessotto melmothx at gmail.com
Sun Apr 22 22:28:58 CEST 2012

Philipp Gesang <gesang at stud.uni-heidelberg.de> writes:

> On 2012-04-22 19:38, Marco Pessotto wrote:
>> Thanks! Still there is the problem of the footnote. I can live with some
>> random space (expecially if there is the workaround!), but the footnotes
>> are quite an issue.
>
> Took some code digging but finally:

And indeed it works like a charm. Thanks a lot.

> ········································································
> \startsetups get_back_my_spacing
>   \activatespacehandler{off}
> \stopsetups
>
> \setupnote[footnote][setups=get_back_my_spacing]
>
> \starttext
>
> \startlines[space=on]
>
>  this is a {\em test} with a long long long long
>  line\footnote{this is a test with a long long long long line this is a test with a long long long long line this is a test with a long long long long line this is a test with a long long long long line}
>  another line, obeying spaces once more
>  this is no haiku
>
> \stoplines
>
> \stoptext
> ········································································
>
> (NB the “setups” parameter is declared “experimental” in
> strc-not.mkvi; it might misbehave some time in the future ...)
>
> Regards
> Philipp

--
Marco