From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, context@vivaldi.net
Subject: Re: \startitemize + "joinedup" ("nowhite") not working in footnotes?
Date: Thu, 10 Oct 2019 17:53:57 +0200 [thread overview]
Message-ID: <a93774f5-361a-0abf-f489-d76127b3ee0f@xs4all.nl> (raw)
In-Reply-To: <679b2f0ddef1350b8feb1b5f36320a7a@vivaldi.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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2019-10-10 15:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-02 12:40 context
2019-10-07 6:25 ` context
2019-10-10 15:53 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a93774f5-361a-0abf-f489-d76127b3ee0f@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=context@vivaldi.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).