[dev-context] cont-en.xml

Marius mariausol at gmail.com
Sat Sep 11 22:41:53 CEST 2010

On 2 July 2010 10:41, Wolfgang Schuster
<schuster.wolfgang at googlemail.com> wrote:
> Am 30.06.10 12:57, schrieb Marius:
>> Hello,
>> I think that the best way is to put command syntax description just
>> before its definition in the context file. This way it will be easier
>> to keep it always in sync with the code. And most important point here
>> is that it must be in sync always. If it is, then we can just generate
>> cont-en.xml and other cont-xx.xml files, but also have a syntax
>> checker!
>> Just imagine:
>> context --check-syntax myfile.tex
>> shows you which options or commands are experimental, deprecated, and
>> which are unrecognized, and suggests the command or option to fix
>> that.
>> What do you think?
> The idea is not bad but who is going to do this? Hans implemented
> in mkiv the function to check assignments list of valid keys but
> this function isn't used because nobody writes the necessary lists
> which contexts requires to do these checks and the same will happen
> with the system you suggest.

Please, point me to the function you are talking about.


More information about the dev-context mailing list