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: documentation: parameters of \setuplist
Date: Wed, 24 Apr 2024 19:34:33 +0200	[thread overview]
Message-ID: <d606f361-8e62-47b3-a76d-6be4848fa08f@fiee.net> (raw)
In-Reply-To: <c7cbcdf4-7523-a3d3-e40e-e226fbd70ce8@gmail.com>

Am 23.04.24 um 23:14 schrieb Wolfgang Schuster:
> Henning Hraban Ramm schrieb am 23.04.2024 um 21:43:
>> Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm:
>>> I tried to complete https://wiki.contextgarden.net/Command/setuplist, 
>>> but I don’t understand all parameters.
>>>
>>> Can anyone explain these please:
>>>
>>> * state (start stop): what does this en-/disable? collecting entries?
>>> * label (yes no none Name): language dependent labels? as a prefix or 
>>> what?
> 
> You can use the key to set language dependent texts for the section 
> counters in the list entry, with "yes" the values from the document are 
> used but you can also set whatever label you want.

Thank you!
So it is related to \setuplabeltext as I suspected, while I didn’t 
understand why we need label _and_ prefix, until I recognized there’s 
only pageprefix… (I had prefix in my list of parameters, maybe some MkII 
leftover).

> \setuplabeltext
>    [en]
>    [chapter=Chapter ,
>     appendix=Appendix ,
>     hraban=Hraban ]
> 
> %\setuplist[chapter][label=hraban,width=3cm]
> \setuplist[chapter][label=yes,width=3cm]

Yes, now I understand.

Hraban

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-04-24 17:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 16:09 [NTG-context] " Henning Hraban Ramm
2024-04-22 16:30 ` [NTG-context] " Duncan Hothersall
2024-04-22 18:46   ` Henning Hraban Ramm
2024-04-23 19:43 ` Henning Hraban Ramm
2024-04-23 21:14   ` Wolfgang Schuster
2024-04-24 17:34     ` Henning Hraban Ramm [this message]
2024-04-23 23:00   ` Bruce Horrocks
2024-04-24 17:31     ` Henning Hraban Ramm

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=d606f361-8e62-47b3-a76d-6be4848fa08f@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).