[NTG-context] Context update

Hans Hagen ntg-context@ntg.nl
Sat, 03 Jan 2004 19:49:47 +0100


At 11:26 03/01/2004, you wrote:
>Dear friends,
>
>First of all, I would like to wish all of you a happy new year!
>The update of the most recent Context package (04.2.1.) + subsequent 
>installation with Miktex (MiKTeX 2.1) does not work out on my system (Win 
>98). Miktex does not complete the installation of the context en and nl 
>formats.
>
>The error messages follow below.
>
>Could anyone help me out? Thanks in advance!
>
>Kind regards,
>
>Robert Ermers
>
>++++++++++++
>Installation with Miktex, error messages in log file:
>system (E-TEX) : [line 473] \ifcsname
>! Undefined control sequence.
>\@@su:*reset ->\widowpenalties

ah, you don't use etex ...  in core-spa.tex, patch the following setup:

\startsetups [\systemsetupsprefix\v!reset]
   \resetpenalties\widowpenalties
   \resetpenalties\clubpenalties
   \resetpenalties\interlinepenalties
\stopsetups

as well as the teo definitions:

\def\resetpenalties#1%
   {\ifx#1\undefined\else
       #1\minusone
    \fi}

\def\setpenalties#1#2#3%
   {\ifx#1\undefined\else
      #1\numexpr(#2+1)\space\doexpandedrecurse{\numexpr(#2)}{#3}\zerocount\relax
    \fi}

Hans