Changes

Jump to navigation Jump to search
m
Added settings for setuplabeltext
<cd:commandgroup name="commalistsentence" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\commalistsentence</tt> is used to present a comma separated list of values (like an author list, for example) in a single line, with the option of changing the separator of the items and have a distinct separator for the last item of the list.
</cd:command>
</cd:variants>
<cd:description>This is a an useful command for creating lists where you want to treat output the last item differently in a different way than the rest, for example, on a list of authors, or publishers.
<!--If you want you can setup labels for the default behavior, using <tt>\setuplabeltext</tt>. , and the properties <tt>and-1</tt> and <tt>and-2</tt>, like so:  <context source="yes">\setuplabeltext [de] [and-1={{, }}, and-2={{ und }}] % 1, 2 und 3\setuplabeltext [es] [and-1={{, }}, and-2={{ y }}] % 1, 2 y 3</context>--></cd:description>
<cd:examples><cd:example title="Some simple lists"><context source="yes" text="Result:">
\commalistsentence[aap,noot,mies]
18

edits

Navigation menu