s-mod produces "system > error: invalid parameter ..."
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
Am 21.09.2014 um 15:29 schrieb 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.
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
participants (2)
-
Christoph Reller
-
Wolfgang Schuster