* Re: right item marks for associative questions? (śrīrāma)
@ 2022-04-16 12:01 Damien Thiriet via ntg-context
2022-04-16 13:28 ` śrīrāma via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Damien Thiriet via ntg-context @ 2022-04-16 12:01 UTC (permalink / raw)
To: ntg-context; +Cc: Damien Thiriet
Hi,
> In function 'ListeAleatoireGauche' calling startitemize as below should
> help:
> context.startitemize ({"8","packed","random"}, {align="righttoleft"})
>
> Further, I think you might also need to put the entry into stream in a
> group:
> context.start() context.lefttoright(t[k]) context.stop()
>
> Sreeram
Many thanks, this solved my problems. I understand
context.startitemize() is designed to get several vectors as arguments,
something I didn't thought about.
Could you explain the whereabouts of calling to context.(start|stop)()?
Some expansion stuff?
In my MWE, only the first item was left-to-right.
Best regards,
Damien Thiriet
___________________________________________________________________________________
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] 2+ messages in thread
* Re: right item marks for associative questions? (śrīrāma)
2022-04-16 12:01 right item marks for associative questions? (śrīrāma) Damien Thiriet via ntg-context
@ 2022-04-16 13:28 ` śrīrāma via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: śrīrāma via ntg-context @ 2022-04-16 13:28 UTC (permalink / raw)
To: ntg-context, Damien Thiriet; +Cc: śrīrāma
On 4/16/22 5:31 PM Damien Thiriet via ntg-context wrote:
> Could you explain the whereabouts of calling to context.(start|stop)()?
> Some expansion stuff?
I must admit that I am not a (LuaMetaT)eXpert. My limited understanding is
that it might be due to expansion and the behaviour of (start|stop)item, or
equivalently (start|stop)itemgroupitem. It does not seem to group like (most?)
other groups. (see strc-itm.mklx)
For instance if we switch to bold without grouping inside \(start|stop)item it
cascades through.
\startitemize[circle]
\startitem \bf First \stopitem
\startitem Second \stopitem
\startitem Third \stopitem
\startitem Fourth \stopitem
\stopitemize
In fact, you could just put the lefttoright call inside context.(bgroup|
egroup): see p. 196 of the cld manual. (start...stop are anyway ConTeXt'ized
versions of those).
Best,
Sreeram
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2022-04-16 13:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-16 12:01 right item marks for associative questions? (śrīrāma) Damien Thiriet via ntg-context
2022-04-16 13:28 ` śrīrāma via ntg-context
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).