[NTG-context] Basic \def error?

luigi scarso luigi.scarso at gmail.com
Tue Apr 23 19:08:54 CEST 2013


On Tue, Apr 23, 2013 at 7:04 PM, Verhaag, G.C.H.M. <verhaaggchm at ziggo.nl> wrote:
> Hi ConTeXt User's,
>
> Again I'm struggling with MKIV!
>
> I get the following error message:
>
> ! Argument of \HeadTitle has an extra }
>
> My environment file contains the following definition:
>
> \def\HeadTitle#1#2%
>   {\hbox to \hsize \bgroup
>    \hfill
>    \lbox to 2cm{\hsize 7cm #2}%
>    \egroup}

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
    \hfill
    \lbox to 2cm{\hsize 7cm #2}%
    \egroup}



--
luigi


More information about the ntg-context mailing list