From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>, Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: pack_black_rule_pickup ?
Date: Sat, 18 Feb 2012 18:56:40 +0100 [thread overview]
Message-ID: <670D4683-60EF-4EA3-BDF3-122A9C4C07CE@googlemail.com> (raw)
In-Reply-To: <D8EA657D-9214-4091-8272-CAA6E063C937@st.estfiles.de>
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-18 17:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 13:41 Steffen Wolfrum
2012-02-18 17:56 ` Wolfgang Schuster [this message]
2012-02-18 19:04 ` luigi scarso
2012-02-18 19:12 ` Wolfgang Schuster
2012-02-18 19:19 ` luigi scarso
2012-02-18 20:18 ` Steffen Wolfrum
2012-02-18 20:35 ` luigi scarso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=670D4683-60EF-4EA3-BDF3-122A9C4C07CE@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).