[NTG-context] s-mod produces system error: invalid parameter ...

2014-09-21 Thread Christoph Reller
Hi,

Probably this is a minor thing. When processing the following module
template:

  %D \module[
  %D   file=p-Mymod,
  %D   title=The Mymod Module,
  %D   author=The Author,
  %D   date=\currentdate,
  %D ]
  %M \usemodule[Mymod]
  %D Hello
  \writestatus{loading}{ConTeXt User Module / Mymod}
  \unprotect
  \protect
  \endinput

with:

  context --ctx=s-mod p-Mymod.mkiv

then the console output contains:

  system   error: invalid parent type for parametercommand, type
defined too (best check it)

The output module documentation is, however, produced correctly. I assume
that this is harmless, but it would be nice if the log file contained no
error message if the processing was successful.

Thank you for any feedback,

Christoph Reller
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] s-mod produces system error: invalid parameter ...

2014-09-21 Thread Wolfgang Schuster

Am 21.09.2014 um 15:29 schrieb Christoph Reller christoph.rel...@gmail.com:

 Hi,
 
 Probably this is a minor thing. When processing the following module template:
 
   %D \module[
   %D   file=p-Mymod,
   %D   title=The Mymod Module,
   %D   author=The Author,
   %D   date=\currentdate,
   %D ]
   %M \usemodule[Mymod]
   %D Hello
   \writestatus{loading}{ConTeXt User Module / Mymod}
   \unprotect
   \protect
   \endinput
 
 with:
 
   context --ctx=s-mod p-Mymod.mkiv
 
 then the console output contains:
 
   system   error: invalid parent type for parametercommand, type 
 defined too (best check it)
 
 The output module documentation is, however, produced correctly. I assume 
 that this is harmless, but it would be nice if the log file contained no 
 error message if the processing was successful.

The error message is produced by the following line in x-set-11.mkiv:

\definetype[parametercommand][type]

The problem is the parent setting for the \parametercommand command which 
doesn’t exist because
the \type command isn’t created with \definetype[type].

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___