On Tue, 16 May 2017 07:38:33 -0600, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>>>> TeX primitives - Knuth
>>>> luaTeX primitives - excluding Knuth
>>> The syntax files contain at the moment only ConTeXt specific command,
>>> primitives aren’t included.
>>
>> Sure, we get the TeX and luaTeX commands from the scite*.lua files
>>
>>>> macro structure - e.g., sectioning etc.
>>>> micro structure - e.g., itemizations, tables etc.
>>>> mode structure - e.g., metapost, xml, markdown
>>> The XML source has a category attribute for this information.
>>
>> Could you give a couple of examples?
> Below is a example for \m{…}.
>
> <cd:command name="m" category="mathematics" file="math-ini.mkiv">
> <cd:arguments>
> <cd:resolve name="keyword-name-optional"/>
> <cd:content/>
> </cd:arguments>
> </cd:command>
Wonderful. So the task is two-fold:
i) categorization of context commands via the category attribute
ii) adding tex and luatex primitive classes
For editors, the abstract commands (\ATTACHMENT, \CHARACTERKERNING etc.)
do not need to be generated.
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512