On Sun, Jul 18 2010, Taco Hoekwater wrote:

>     arguments = {
>             ["label_arg"] = {
>                 type = label,
>             },
>             ["filename_arg"] = {
>                 type = file,
>             },
>             ["settings_arg"] = {
>                 type = settings,
>                 comment = "short comment for this option",
>                 description = "long description for this option",
>                 inherit = { "useexternalfigure", 'settings_arg' }
>
>             },
>             ["parent_arg"] = {
>                 type = parent,
>                 comment = "short comment for this option",
>                 description = "long description for this option"
>             },
>         },
>       variants = {  -- just an example
>           { "filename_arg" },
>           { "label_arg", "filename_arg" },
>           { "label_arg", "filename_arg", "settings_arg" },
>           { "filename_arg", "parent_arg" },
>
>         }
>     },
>
> but I am not sure this is really better ?

Seems to be ok for \externalfigure but not for \setupheadertexts...
Peter

-- 
Contact information: http://pmrb.free.fr/contact/


_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to