Dear all, I'm trying to change the color of the footer text. I typed: \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] But I receive an error that I can't interpret. ! Argument of \footerstyle has an extra }. <inserted text> \par <to be read again> } \doifdefinedelse #1->\edef \p!defined {#1} \ifcsname \detokenize \@EA {\p!def... \doconvertfont #1->\doifdefinedelse {\@letter@ #1} {\doifelsenothing {#1}\go... \doattributes ... \csname #1#2\@EA \endcsname \fi {#4}\dostopattributes \dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}} \egroup ... l.61 \stoptext ? X Does anyone knows what's wrong ? Thanks in advance, Antoine C.
Antoine Cailliau wrote:
Dear all,
I'm trying to change the color of the footer text. I typed:
\def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle]
has to do with the fact that style does not pass an argument does \setupfooter[color=red] work? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
\def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle]
has to do with the fact that style does not pass an argument
does
\setupfooter[color=red]
work? Yes, perfectly. I did not tried it since
Dear, this was not documented (or at least I may misread the documentation). Thank you a lot, Antoine C.
participants (2)
-
Antoine Cailliau
-
Hans Hagen