18 Feb
2012
18 Feb
'12
8:04 p.m.
On Sat, Feb 18, 2012 at 6:56 PM, Wolfgang Schuster
Am 17.02.2012 um 14:41 schrieb Steffen Wolfrum:
Hi,
what's wrong here??
\unexpanded\def\MyRule{\blackrule[color=orange,width=18mm,height=0.4pt]}
\setupnote[footnote][rule=\MyRule]
\starttext
teset\footnote{text}.
\stoptext
Your \MyRule commands (even though you use \unexpanded) is expanded in \strc_notes_set_rule_step and and since \blackrule (because of the optional argument) isn’t expandable TeX quits.
You can try with \unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm height0.4pt\stopcolor} \setupnote[footnote][rule=\MyRule] \starttext teset\footnote{text}. \stoptext -- luigi