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

2019-10-10 Thread Hans Hagen

On 10/7/2019 8:25 AM, cont...@vivaldi.net wrote:

Hello,

anyone to confirm/explain/fix the vertical gap?

Lukas


On 2019-10-02 14:40, cont...@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
___


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

2019-10-07 Thread context

Hello,

anyone to confirm/explain/fix the vertical gap?

Lukas


On 2019-10-02 14:40, cont...@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
___


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

2019-10-02 Thread context

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


t~.pdf
Description: Adobe PDF document
___
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
___