On 5/13/2017 9:41 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
We need to generate a complete list of mkiv commands. setup-en.pdf has everything but some clarification and modification is needed:
1. Clarification: Does setup-en.pdf includes both mkii and mkiv commands? If so, then can a version of the auto-generation script be made that will generate a version setup-mkiv-en.pdf that is complete but restricted to mkiv commands?
this is mkiv (there is an cont-en.xml file describing mkii mostly) ... remmeber: mkii is frozen and phased out
[Is the auto-generation script publicly available?]
all scripts are in the distribution
2. Modification: It appears that all command names that appear in slanted text are used to mention user-defined commands of a particular class, e.g.,
/\BACKGROUND/ - slanted text
which obviously names each of a class of commands defined by
\definebackground - regular text
Can a version of the auto-generation script be made that will generate a version setup-mkiv-strict-en.pdf that is restricted to mkiv commands explicitly defined in mkiv, excluding class commands or anything else represented in slanted text?
it's xml so one can benerate anything from the file (i was in the process of generating instances in the lua files for scintilla but (1) had to prepare for bachotex, (2) got back and ill, (3) need some motivation to pick up that thread)
3. Although it is intuitive, a legend precisely explaining the semantics of the command list in setup.pdf would be useful. If there is already one available, could you point it out to me?
dunno, maybe somewhere on the wiki
4. Would it be possible for the auto-generation to export the command list to a semi-formatted text file? Copying the text of setup-en.pdf to a text file gives usable results but a text file with some regular structure might be better.
one can (1) use some xml transformation or (2) use the lua tables to get strings
In sum: we need - urgently - a comprehensive ConTeXt command list restricted to mkiv that excludes class names for user definitions and the like. Any help is greatly appreciated, and thanks in advance!
Best wishes Idris
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------