[NTG-context] \startitemize + "joinedup" ("nowhite") not working in footnotes?

Hans Hagen j.hagen at xs4all.nl
Thu Oct 10 17:53:57 CEST 2019


On 10/7/2019 8:25 AM, context at vivaldi.net wrote:
> Hello,
> 
> anyone to confirm/explain/fix the vertical gap?
> 
> Lukas
> 
> 
> On 2019-10-02 14:40, context at vivaldi.net wrote:
>> Hello,
>>
>> in the following sample there is unwanted vertical gap between text
>> "Foo" and the first item "- bar" in the footnote 1 (and also between
>> "Bar" and "- bar") - see red arrows.
>>
>> The same code used outside the footnote behaves as expected - there is
>> no vertical space.
>>
>> Is there anything special about handling itemization inside footnotes?
>>
>> My code:
>>
>> ----
>> \def\T{%
>>   \startitemize[joinedup,nowhite]
>>     \item bar
>>     \item baz
>>   \stopitemize
>> }
>>
>> \def\U{%
>>   Foo
>>    \T
>>   Bar
>>    \T
>> }
>>
>> \starttext
>>   \U
>>
>>   \startitemize
>>     \item Item\footnote{\U}
>>   \stopitemize
>> \stoptext
>> ----
a nasty one ...

add this to cont-new.mkiv

\unprotect
\appendtoks
     \c_strc_itemgroups_nesting\zerocount
\to \everyinsidenoteinsert
\protect



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list