ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: [NTG-context] Re: documentation: parameters of \setuplist
Date: Tue, 23 Apr 2024 23:14:37 +0200	[thread overview]
Message-ID: <c7cbcdf4-7523-a3d3-e40e-e226fbd70ce8@gmail.com> (raw)
In-Reply-To: <5238b4f3-2301-446c-9d1b-a1d6a5a78d79@fiee.net>

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.

\setuplabeltext
   [en]
   [chapter=Chapter ,
    appendix=Appendix ,
    hraban=Hraban ]

%\setuplist[chapter][label=hraban,width=3cm]
\setuplist[chapter][label=yes,width=3cm]

\starttext

\startfrontmatter
\completecontent
\stopfrontmatter

\startbodymatter
\chapter{First chapter}
\chapter{Second chapter}
\stopbodymatter

\startappendices
\chapter{First appendix}
\stopappendices

\stoptext

Wolfgang
___________________________________________________________________________________
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-23 21:17 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 [this message]
2024-04-24 17:34     ` Henning Hraban Ramm
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=c7cbcdf4-7523-a3d3-e40e-e226fbd70ce8@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).