ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startitemize + "joinedup" ("nowhite") not working in footnotes?
@ 2019-10-02 12:40 context
  2019-10-07  6:25 ` context
  0 siblings, 1 reply; 3+ messages in thread
From: context @ 2019-10-02 12:40 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

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

[-- Attachment #2: t.mkiv --]
[-- Type: text/plain, Size: 232 bytes --]

\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

[-- Attachment #3: t~.pdf --]
[-- Type: application/pdf, Size: 12294 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \startitemize + "joinedup" ("nowhite") not working in footnotes?
  2019-10-02 12:40 \startitemize + "joinedup" ("nowhite") not working in footnotes? context
@ 2019-10-07  6:25 ` context
  2019-10-10 15:53   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: context @ 2019-10-07  6:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \startitemize + "joinedup" ("nowhite") not working in footnotes?
  2019-10-07  6:25 ` context
@ 2019-10-10 15:53   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-10-10 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users, context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-10 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 12:40 \startitemize + "joinedup" ("nowhite") not working in footnotes? context
2019-10-07  6:25 ` context
2019-10-10 15:53   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).