\startitemize + "joinedup" ("nowhite") not working in footnotes?
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 ---- Best regards, Lukas
Hello, anyone to confirm/explain/fix the vertical gap? Lukas On 2019-10-02 14:40, context@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 ----
Best regards,
Lukas ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 10/7/2019 8:25 AM, context@vivaldi.net wrote:
Hello,
anyone to confirm/explain/fix the vertical gap?
Lukas
On 2019-10-02 14:40, context@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 -----------------------------------------------------------------
participants (2)
-
context@vivaldi.net
-
Hans Hagen