14 May
2012
14 May
'12
4:22 p.m.
Am 14.05.2012 um 17:53 schrieb Peter Schorsch:
Hi,
I am trying to pass a tex color as a paramter to a module. I used the example from the wiki as a base. But as soon I hand over a color directly it does not work.
You can expand the value \normalexpanded{\setupbackgrounds[…][…,backgroundcolor=\currentmoduleparameter{color}]} or you can use \moduleparameter \setupbackgrounds[…][…,backgroundcolor=\moduleparameter{bgcolor}{color}]
Any help is welcome as I am looking forward to hand in my first module. Are there any rules how and where to hand in a module for context?
1. You have to place the module in the correct sub folder. 2. Add your module on the modules page on the wiki. 3. Ask Mojca to add it to the context suite. Wolfgang