ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* s-mod produces "system > error: invalid parameter ..."
@ 2014-09-21 13:29 Christoph Reller
  2014-09-21 17:53 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Reller @ 2014-09-21 13:29 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 759 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1158 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: s-mod produces "system > error: invalid parameter ..."
  2014-09-21 13:29 s-mod produces "system > error: invalid parameter ..." Christoph Reller
@ 2014-09-21 17:53 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2014-09-21 17:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.09.2014 um 15:29 schrieb Christoph Reller <christoph.reller@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-21 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-21 13:29 s-mod produces "system > error: invalid parameter ..." Christoph Reller
2014-09-21 17:53 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).