Changes

Jump to navigation Jump to search
no edit summary
< '''Prev:''' [[System Macros/Action Processing|Action Processing]] | '''Top:''' [[System Macros]] | '''Next:''' [[System Macros/Key Value Assignments|Key-Value Assignments]] >
 
[[Category:System Macros]]
[[Category:ConTeXt programming]]
We've already seen some macros that take care of comma separated lists. Such list can be processed with
It's ugly, but it is very fast indeed. Keep in mind that this version does '''not''' strip leading spaces from the list items.
 
If you need 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, you can use {{cmd|commalistsentence}}.
 
<texcode>
\commalistsentence[a,b,c]
 
\commalistsentence[a,b,c][{ \& },{ and }]
 
\commalistsentence[a,b,c][+,-]
</texcode>
 
< '''Prev:''' [[System Macros/Action Processing|Action Processing]] | '''Top:''' [[System Macros]] | '''Next:''' [[System Macros/Key Value Assignments|Key-Value Assignments]] >
gardener
51

edits

Navigation menu