28 Oct
2024
28 Oct
'24
12:01 p.m.
On 28.10.24 12:18, Henning Hraban Ramm wrote:
Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project. I guess I need more expansion, but where? Or what’s the problem here?
Perhaps my approach is too simplistic, but if I had to do something like that, I would use modes: \startmode [fiee] \definecolor [OEM] [c=1] \def{OEM}{fiee} \stopmode and for the fallback, use \startnotallmodes [...] then you can call from the command line with --mode=fiee and write \color[OEM]{Company: \OEM} But maybe your needs are more complex... All best Thomas