[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
Dear list, ## The Incredibly Short Version I am trying to extend m-database, and I want to add a flag to control behavior. I can get it to work, but I am having trouble understanding how to do it properly. ## The Short Version I have a project where I wish to incorporate many CSV files as

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-25 Thread Hans Hagen via ntg-context
On 2/25/2023 5:01 PM, Joel via ntg-context wrote: I have a list like this: \startitemize[1] \item fish \item eggs \item milk \stopitemize Is there any command in ConTeXt to make this display the items as a comma-separated list, like this: fish, eggs, milk Or a semi-colon-separated list?

[NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-25 Thread Joel via ntg-context
I have a list like this: \startitemize[1]\item fish\item eggs\item milk\stopitemize Is there any command in ConTeXt to make this display the items as a comma-separated list, like this: fish, eggs, milk Or a semi-colon-separated list? fish; eggs; milk --Joel

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
Dear both, thanks for your answers. `doloopovermatch` didn't work for me but this below is achieving what I wanted. Have a good day, Alex %%% \def\dosomething#1{(#1)} \def\dosomethingtwo#1{* #1\crlf} \starttext \startchapter[title={Foo Bar}][ authors={Alice,Bob,Charline},

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Hans Hagen via ntg-context
On 2/24/2023 11:37 PM, Rik Kabel via ntg-context wrote: Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') %