[NTG-context] Problems with uniqueMPgraphic
h h extern
pragma at wxs.nl
Sat Dec 18 23:35:05 CET 2004
Adam Duck wrote:
>>\def\aidul{\dosingleempty\doaidul}
>>\def\doaidul[#1]{\inframed[background=underline,frame=off,#1]}
> So, one last question remains: why doesn't this work?
>
> \def\uli{backgroundcolor=peachpuff} \aidul[\uli]{test}
parsing ....
\def\doaidul[#1]{\expanded{\inframed[background=underline,frame=off,#1]}}
would work
however, in that case i'd go for:
\def\doaidul[#1]{\inframed[background=underline,frame=off,backgroundcolor=#1]}
\definecolor[important][red]
\definecolor[notimportant][green]
and \aidul[important]{test} as well as \aidul[notimportant]{test} since one can
redefine the colors
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list