On 18-9-2012 08:44, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
@Philipp:
1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g.
Hi Lukáš, if you interpret “current Context commands” as “macros known to TeX”, you may try dumping the hashtable with these lines:
······································································· \starttext \startluacode table.print(tex.hashtokens()) \stopluacode \stoptext ·······································································
thanks for the idea.
Unfortunately, "current Context commands" don't need to be necessarily "macros known to TeX", as ConTeXt may have defined many macros that are not "for public use".
It seems that my question is not so straightforward - I didn't think it would it could be problem to separate "public macros" (= public ConTeXt commands = these that are cited in manuals, on wiki or simply - which "you can use").
mult-def.lua has some information (and could be extended) as does mult-low.lua Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------