Block command issue!
Gerard Verhaag via ntg-context <[email protected]> Wed, 22 Apr 2026 07:51:35 -0000
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
Hi ConTeXt users,
While using ConTeXt (MkIV, 2023.02.14) recently I stumbled across a disturbing issue when trying a user-defined block command. Probably a simple problem! Tried the following:
\definestartstop[MyItemize]
[
before={\startitemize[packed][distance=1.5em]},
after=\stopitemize
]
\starttext
\startitemize[packed][distance=1.5em]
\sym{\it opt.:} Description one
\sym{\it opt.:} Other description.
\stopitemize
\hairline
\startMyItemize
\sym{\it opt.:} Description one
\sym{\it opt.:} Other description.
\stopMyItemize
\stoptext
The result when using MyItemize yields a blank line between items, which I'd like to omit. How can I achieve that?
Thanks for your attention!
Regards,
Gerard
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________