# [dev-context] cont-en.xml

Hans Hagen pragma at wxs.nl
Fri Jun 18 10:58:11 CEST 2010

```On 17-6-2010 3:11, Mojca Miklavec wrote:
> On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster
>> Hi,
>>
>> i plan to update cont-en.xml with changes in mkiv (new keys and commands)
>> but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a
>> separate definition file for mkiv which contains the extra keys for the
>> commands (e.g. sectionsegments for \setuphead) and use the current one for
>> mkii only.
>
> My opinion (though at the end you may do it either way): I would put a
> special key to either each command or each option that would clarify
> "mkii only" or "mkiv only" or "both". If command is completely
> different, for example
>     \usetypescript[name][ec] in mkii vs. \usetypescript[name] in mkiv
> one could define two commands and label one as "mkii only" and the
> second one as "mkiv only".

there is already something like that but not applied yet to all commands

> There might be also another thing worth keeping in mind. Some commands
> may be valid, but useless in mkiv. It might make sense to label those
> as such.
>
> Even though the fact that "mkii is frozen" might be true, most of
> valid options are still missing in those xml files.

well, 'most' is not fair

Hans

-----------------------------------------------------------------