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 via email to