Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread śrīrāma via ntg-context
On 4/12/22 12:16 AM Damien Thiriet via ntg-context wrote:
> Hi!
> 
> I am used to giving associative questions to my pupils,
> something like
> 
> * connect the author with its ideas
> 
> Friedrich Nietzsche *  * "God is dead"
> Woody Allen *  * "Nietzsche is dead, God is dead 
>   and I don't feel so good"
> God *  * "Nietzsche is dead"
> 
> I design it as a two-cells xtable with itemized lists inside.
> How can I have the item mark on the right side?

If you are certain that the there will be no multi-line item (i.e. item text is 
short enough that it fits in slightly less than half of textwidth) you can use 
an enumeration, and put the contents inside a two-column layout:

%%% start example-1
  \define[1]\aitemcmd{\inframed[width=1cm,align=flushright,frame=off]{(#1)}}
  \defineenumeration
[aitem]
  \setupenumeration
[aitem]
[text=,
alternative=empty,
headstyle=normal,
width=fit,
align=flushright,
closesymbol={\getnumber[aitem]},
closecommand=\aitemcmd]

  \starttext
  \startcolumns[distance=1cm]
  \startitemize[n]
  \dorecurse{5}{
\startaitem
  whatever left
\stopaitem
  }
  \stopitemize

  \startitemize[a][left=(,right=),stopper=,width=1cm]
  \dorecurse{5}{
\startitem
  whatever right
\stopitem
  }
  \stopitemize
  \stopcolumns
  \stoptext
%%% stop example-1

[You can tweak the alternative, align, closesymbol, closecommand to get exactly 
what you want; the example above will give a somewhat symmetric layout]

More generally, if the text can multi-line, then I think TABLE (with proper 
alignment options) might be better-suited:

%%% start example-2
  \define\startItemize{
\bTABLE\setupTABLE[frame=on,align=lohi]
\setupTABLE[2][distance=1cm,align={flushright,lohi}]
\setupTABLE[2,3][width=0.05\textwidth]
\setupTABLE[1][align=flushright,width=0.4\textwidth]
\setupTABLE[4][align=flushleft,width=0.4\textwidth]
  }
  \define\stopItemize{\eTABLE}
  \define[1]\metI{\bTR \bTD #1 \eTD \bTD (\character{\currentTABLErow}) \eTD}
  \define[1]\Item{\bTD (\currentTABLErow) \eTD \bTD #1 \eTD  \eTR}

  \starttext
  \startItemize
  \dorecurse{5}{
  \metI {whatever here on the left}
  \Item {whatever here on the right}
  }
  \stopItemize
  \stoptext
%%% stop example-2

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
___


Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread Jeong Dal via ntg-context
Dear Damien,

Using the “columns" feature is one way to go if you don’t mind the vertical 
alignment mismatch  in the third items.

Best regards,
Dalyoung

\starttext
\startitemize [8,columns]%,two]
\startitem Nietzsche \stopitem
\startitem Woody Allen \stopitem
\startitem God \stopitem
\startitem God is dead \stopitem
\startitem Nietzsche is dead, God is dead and I don't feel so good \stopitem
\startitem Nietzsche is dead \stopitem
\stopitemize
\stoptext




> 2022. 4. 12. 오전 3:46, Damien Thiriet via ntg-context  작성:
> 
> Hi!
> 
> I am used to giving associative questions to my pupils,
> something like
> 
> * connect the author with its ideas
> 
> Friedrich Nietzsche *  * "God is dead"
> Woody Allen *  * "Nietzsche is dead, God is dead 
>  and I don't feel so good"
> God *  * "Nietzsche is dead"
> 
> I design it as a two-cells xtable with itemized lists inside.
> How can I have the item mark on the right side?
> 
> \starttext
> \startitemize [8]
> \startitem Nietzsche \stopitem
> \startitem Allen \stopitem
> \startitem God \stopitem
> \stopitemize
> \stoptext
> 
> Greetings,
> 
> 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
> ___

___
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] right item marks for associative questions?

2022-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/22 20:46, Damien Thiriet via ntg-context wrote:
> [...]
> I design it as a two-cells xtable with itemized lists inside.
> How can I have the item mark on the right side?

Hi Damien,

I’m not sure I get your point, but this may be helpful:

 \startitem \inrightmargin{\currentitemnumber} Nietzsche\stopitem

Just in case it might give you some inspiration.

Cheers,

Pablo
___
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] right item marks for associative questions?

2022-04-11 Thread Damien Thiriet via ntg-context
Hi!

I am used to giving associative questions to my pupils,
something like

* connect the author with its ideas

Friedrich Nietzsche *  * "God is dead"
Woody Allen *  * "Nietzsche is dead, God is dead 
  and I don't feel so good"
God *  * "Nietzsche is dead"

I design it as a two-cells xtable with itemized lists inside.
How can I have the item mark on the right side?

\starttext
\startitemize [8]
\startitem Nietzsche \stopitem
\startitem Allen \stopitem
\startitem God \stopitem
\stopitemize
\stoptext

Greetings,

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
___


Re: [NTG-context] Regular online meet-up

2022-04-11 Thread Henning Hraban Ramm via ntg-context

You’re invited to join next *Wednesday*, April 13th, 15:00 CEST (UTC+2)
(Beware, we changed the weekday!)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans will probably give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, Hraban
___
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] Fwd: \vfill doesn't work in this example

2022-04-11 Thread Taco Hoekwater via ntg-context
Hi,

Message below forwarded on behalf of Dalyoung , who has problems submitting 
messages.

Best wishes,
Taco

> Begin forwarded message:

> 
> Hi,
> 
> To add the same vertical space in column mode,
> I usually use \vfill as in the following sample before.
> But this example doen’t add spaces after first item.
> How to locate the two subitems evenly spaced in vertically?
> 
> Thank you for reading.
> 
> Best regards,
> 
> Dalyoung
> 
> 
> %%
> \starttext
> \startcolumns[n=2]
> \startitemize[n]
> \item 111
>   \startitemize[a]
>   \item 1-1
>   \vfill
>   \item 1-2
>   \vfill
>   \stopitemize
> 
> \column
> 
> \item 222
>   \startitemize[a]
>   \item 2-1
>   \vfil
>   \item 2-2
>   \vfil
>   \stopitemize
> 
> \column
> 
> \stopitemize
> \stopcolumns
> \stoptext
> 
>> 2022. 4. 8. 오후 6:33, Taco Hoekwater > > 작성:
>> 
>> Hi Dalyoung,
>> 
>> 
>>>  Forwarded Message 
>>> Subject:Re: \vfill doesn't work in this example
>>> Date:   Fri, 8 Apr 2022 15:00:21 +0900
>>> From:   Jeong Dal mailto:hak...@icloud.com>>
>>> To: ntg-context-ow...@ntg.nl 
>>> 
>>> Hi,
>>> 
>>> I received the following mail.
>>> But I think that my message is rejected in error.
>>> 
>>> I have an account in this list for long time.
>>> 
>>> The email address of this mail may cause the error.
>>> I used email address given from Mac.com  >> >.
>>> 
>>> hak...@mac.com  >> >, hak...@me.com 
>>> >, and 
>>> hak...@icloud.com >> > are actually the same address.
>> 
>> Well, the mailing list did not know that. Only hak...@mac.com 
>>  was actually subscribed. I have now added the two 
>> aliases.
>> 
>> Best wishes,
>> Taco
>> 
>> — 
>> Taco Hoekwater  E: t...@bittext.nl 
>> genderfluid (all pronouns)
> 

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



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