From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pack_black_rule_pickup ?
Date: Sat, 18 Feb 2012 20:04:51 +0100 [thread overview]
Message-ID: <CAG5iGsBKvY_=3dmgVs-vDdMFw2tnTL3d1vtdxcNBDJSdF9OPNg@mail.gmail.com> (raw)
In-Reply-To: <670D4683-60EF-4EA3-BDF3-122A9C4C07CE@googlemail.com>
On Sat, Feb 18, 2012 at 6:56 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> 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
___________________________________________________________________________________
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 19:04 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
2012-02-18 19:04 ` luigi scarso [this message]
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='CAG5iGsBKvY_=3dmgVs-vDdMFw2tnTL3d1vtdxcNBDJSdF9OPNg@mail.gmail.com' \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.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).