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? Many thanks for your help, Pablo
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
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
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
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
participants (2)
-
Henning Hraban Ramm
-
Pablo Rodriguez