[NTG-context] Re: \setupitemgroup for footnotes

2023-09-26 Thread Pablo Rodriguez
On 9/25/23 21:57, Henning Hraban Ramm wrote:
> Am 25.09.23 um 19:19 schrieb Pablo Rodriguez:
>> On 9/25/23 18:19, Henning Hraban Ramm wrote:
>>> Am 25.09.23 um 17:52 schrieb Pablo Rodriguez:
 [...]
 Excuse my ignorance, but which is the right way to get the itemize setup
 only for footnotes?
>>>
>>> I would use \defineitemgroup to define your own, like "footnoteitemize".
>>
>> Many thanks for your reply, Hraban.
>>
>> It works fine, but I wonder why the itemize itemgroup should be avoided.
>
> I didn’t say you should avoid it; defining your own version was just the
> first idea that I had – and apparently it wasn’t a bad idea.

Sorry, Hraban, your proposal works perfectly fine and I really
appreciate it.

It was only me the one that had the impression that standard itemize has
be avoided in footnotes (to get \setupitemgroup working there).

> I’m sure there are several other approaches.

Sorry again, many thanks for your help,

Pablo

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm

Am 25.09.23 um 19:19 schrieb Pablo Rodriguez:

On 9/25/23 18:19, Henning Hraban Ramm wrote:

Am 25.09.23 um 17:52 schrieb Pablo Rodriguez:

[...]
Excuse my ignorance, but which is the right way to get the itemize setup
only for footnotes?


I would use \defineitemgroup to define your own, like "footnoteitemize".


Many thanks for your reply, Hraban.

It works fine, but I wonder why the itemize itemgroup should be avoided.


I didn’t say you should avoid it; defining your own version was just the 
first idea that I had – and apparently it wasn’t a bad idea.


I’m sure there are several other approaches.

Hraban

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
On 9/25/23 18:19, Henning Hraban Ramm wrote:
> Am 25.09.23 um 17:52 schrieb Pablo Rodriguez:
>> [...]
>> Excuse my ignorance, but which is the right way to get the itemize setup
>> only for footnotes?
>
> I would use \defineitemgroup to define your own, like "footnoteitemize".

Many thanks for your reply, Hraban.

It works fine, but I wonder why the itemize itemgroup should be avoided.

Many thanks for your help,

Pablo

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm

Am 25.09.23 um 17:52 schrieb Pablo Rodriguez:

Dear list,

I have the following sample (with current latest from 2023.09.18 21:13):

 \setuppapersize[A6]
 \starttext
 \startsetups[forfootnote]
 \setupitemgroup
[itemize][1]
[   before={\endgraf{\ttbf[before]}\endgraf},
 after={\endgraf{\ttbf [after]}\endgraf}]
 \stopsetups

 \setupnote[footnote][setups=forfootnote]

 \footnote{\startitemize
  \startitem Choose the correct answer.
  \startitemize
  \item This one
  \stopitemize
  \stopitem
 \stopitemize}
 \stoptext

Excuse my ignorance, but which is the right way to get the itemize setup
only for footnotes?


I would use \defineitemgroup to define your own, like "footnoteitemize".

https://wiki.contextgarden.net/Command/defineitemgroup

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___