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"). Maybe - if I know ALL macros - it would be easy to distinguish between "public" ones and "protected" ones - supposing the latter have always at least one of the special chars - _@?! (or other?) in it. I tried your idea, but in this part of the output: " ... ["startJScode"]={ 127, 290597, 60096 }, ["startJSpreamble"]={ 127, 290644, 49920 }, ["startLUA"]={ 127, 245948, 28541 }, ["startLuaSnippet"]={ 127, 244345, 530 }, ["startLuaSnippetBoundary"]={ 127, 246417, 46341 }, ["startLuaSnippetComment"]={ 127, 247113, 23071 }, ["startLuaSnippetName"]={ 127, 246301, 9781 }, ["startLuaSnippetNameBase"]={ 127, 244439, 46291 }, ["startLuaSnippetNameCore"]={ 127, 245803, 61132 }, ["startLuaSnippetNameLibraries"]={ 127, 246257, 38877 }, ["startLuaSnippetQuote"]={ 127, 246898, 19907 }, ["startLuaSnippetSpecial"]={ 127, 247006, 23901 }, ["startLuaSnippetString"]={ 127, 246646, 61126 }, ["startMP"]={ 127, 245820, 14236 }, ... " - the command/macro "\startluacode" is missing (why?) and - e.g. the macro "\startLuaSnippetNameBase" is not mentioned "for public use" I guess, but also is not detectable by presence of any special char (@_!?). So I'm not sure this way is usable. @Hans: How exactly did you mean to use:
\starttext \startluacode table.print(tex.hashtokens()) \stopluacode \stoptext ·······································································
or
\enabledirectives[system.dumphash]
\enabledirectives[system.dumpdelta]
This: " \starttext \enabledirectives[system.dumphash] \enabledirectives[system.dumpdelta] \stoptext " gives nothing useful. How exactly to use the command/switch "--textpad" or "--text" with "context.exe"? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038