ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: \setupitemgroup for footnotes
Date: Mon, 25 Sep 2023 18:19:56 +0200	[thread overview]
Message-ID: <460968ae-5958-4b11-aebd-8a871319df28@fiee.net> (raw)
In-Reply-To: <0ae54add-4e55-b137-526a-9358018bd222@gmx.es>

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
___________________________________________________________________________________

  reply	other threads:[~2023-09-25 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25 15:52 [NTG-context] " Pablo Rodriguez
2023-09-25 16:19 ` Henning Hraban Ramm [this message]
2023-09-25 17:19   ` [NTG-context] " Pablo Rodriguez
2023-09-25 19:57     ` Henning Hraban Ramm
2023-09-26 18:28       ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=460968ae-5958-4b11-aebd-8a871319df28@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).