Hi!

[...]
> \def\Sleutels#1%
>   {\hbox{\expandafter\DoSleutels\romannumeral #1\relax}\relax}


[...]


> %(1)% \setuphead[chapter][numbercommand=\Sleutels]


> (1):
> ! Missing number, treated as zero.
> <to be read again> 
>                    \edef 
> \setstrutdimen ...strutdimen =#3\strutdimen \edef 
>                                                   #1{\the \strutdimen }


maybe this is the same problem I had a short time ago. 
In the new core-con.tex there is:
\def\Romannumerals#1%
  {\expandafter\doRomannumerals\number#1\relax}

\def\doRomannumerals#1#2\relax
  {\ifnum#1#2<10
     \ifcase0#1#2\or I\or II\or III\or IV\or V\or VI\or VII\or VIII\or IX\fi
   \else\ifnum#1#2<100
     \ifcase  0#1\or X\or XX\or XXX\or XL\or L\or LX\or LXX\or LXXX\or XC\fi 
     \doRomannumerals#2\relax 
   \else\ifnum#1#2<1000
     \ifcase  0#1\or C\or CC\or CCC\or CD\or D\or DC\or DCC\or DCCC\or CM\fi 
     \doRomannumerals#2\relax 
   \else\ifnum#1#2<4000
     \ifcase  0#1\or M\or MM\or MMM\fi
     \doRomannumerals#2\relax 
   \else
     \uppercase\expandafter{\romannumeral#1#2}%
   \fi\fi\fi\fi}


[this should go in core-con.tex]


Viele Gr��e,

  Patrick Gundlach


Reply via email to