On Fri, Jul 16, 2010 at 4:41 PM, Peter Münster <[email protected]> wrote:

> Hello,
>
> Here some new ideas:
>
> http://pmrb.free.fr/tmp/context-commands/
>
> All feedback is welcome!
>
> Cheers, Peter
>
> --
> Contact information: http://pmrb.free.fr/contact/
>
>
> _______________________________________________
> dev-context mailing list
> [email protected]
> http://www.ntg.nl/mailman/listinfo/dev-context
>
Why don't put them into a table as is in
http://www.lua.org/pil/10.1.html
For exampl e placefloat.lua should be
placefloat ={
props = {
    generated = true,               -- default = false
    fixpart = "place",
    varpart = "float",
    generator = "definefloat",
    categories = {"Structure", "Graphic"}
    -- first category is main category, in the other categories, there are
    -- just references
}
-- ... more data
}

It's very powerful then to manage this file with lua functions.


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

Reply via email to