18 Feb
2012
18 Feb
'12
6:56 p.m.
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. @Hans Won’t it be better to set a customized rule with \setupnote[…][rule=command,rulecommand=\MyRule]. Wolfgang