ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] combining natural tables and itemize with \its
@ 2025-04-14 19:23 Henning Hraban Ramm
  2025-04-14 19:36 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2025-04-14 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,
I’d like to have a kind of questionnaire in a table and thought it would 
make sense to use \its.

While there’s an integration of tabulate and itemize, I can’t get it 
working with a natural table. Is this possible at all?


\starttext

% simple itemize works:
\startitemize[6,nowhite][items=10,width=10em,distance=1em]
\dorecurse{10}{\its \recurselevel}
\stopitemize

% this doesn’t work
\startitemize[6,nowhite][items=10,width=10em,distance=1em]
\bTABLE
\bTR\bTD Option\eTD\bTD Value\eTD\eTR
\dorecurse{10}{
\bTR
\bTD Option No.\expanded{\recurselevel}\eTD
\bTD \its … \eTD
\eTR
}
\eTABLE
\stopitemize

\stoptext

I’m also missing some expansion in the table…

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

* [NTG-context] Re: combining natural tables and itemize with \its
  2025-04-14 19:23 [NTG-context] combining natural tables and itemize with \its Henning Hraban Ramm
@ 2025-04-14 19:36 ` Wolfgang Schuster
  2025-04-14 20:26   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2025-04-14 19:36 UTC (permalink / raw)
  To: ntg-context

Am 14.04.2025 um 21:23 schrieb Henning Hraban Ramm:
> Hi,
> I’d like to have a kind of questionnaire in a table and thought it would 
> make sense to use \its.
> 
> While there’s an integration of tabulate and itemize, I can’t get it 
> working with a natural table. Is this possible at all?
> 
> 
> \starttext
> 
> % simple itemize works:
> \startitemize[6,nowhite][items=10,width=10em,distance=1em]
> \dorecurse{10}{\its \recurselevel}
> \stopitemize
> 
> % this doesn’t work
> \startitemize[6,nowhite][items=10,width=10em,distance=1em]
> \bTABLE
> \bTR\bTD Option\eTD\bTD Value\eTD\eTR
> \dorecurse{10}{
> \bTR
> \bTD Option No.\expanded{\recurselevel}\eTD
> \bTD \its … \eTD
> \eTR
> }
> \eTABLE
> \stopitemize
> 
> \stoptext
> 
> I’m also missing some expansion in the table…

Use the text option for itemize.

\starttext

\startitemize[medcircle][items=10,width=10em,distance=1em]
\bTABLE
\bTR \bTD \its Rate this answer from 1 to 10 \eTD \eTR
\eTABLE
\stopitemize

\startitemize[medcircle,text][items=10,width=10em,distance=1em]
\bTABLE
\bTR \bTD \its Rate this answer from 1 to 10 \eTD \eTR
\eTABLE
\stopitemize

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

* [NTG-context] Re: combining natural tables and itemize with \its
  2025-04-14 19:36 ` [NTG-context] " Wolfgang Schuster
@ 2025-04-14 20:26   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2025-04-14 20:26 UTC (permalink / raw)
  To: ntg-context

Am 14.04.25 um 21:36 schrieb Wolfgang Schuster:
> Use the text option for itemize.

> \startitemize[medcircle,text][items=10,width=10em,distance=1em]

Thank you!

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

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

end of thread, other threads:[~2025-04-14 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-14 19:23 [NTG-context] combining natural tables and itemize with \its Henning Hraban Ramm
2025-04-14 19:36 ` [NTG-context] " Wolfgang Schuster
2025-04-14 20:26   ` Henning Hraban Ramm

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).