[dev-context] Definition of \doframedparentparameter
Hans Hagen
pragma at wxs.nl
Mon May 28 19:25:32 CEST 2012
On 28-5-2012 16:48, Marco wrote:
> Hi,
>
> I have a question about \doframedparentparameter from pack-rul.mkiv:
>
> \def\doframedparentparameter#1#2{\ifx#1\relax\doframedrootparameter#2\else\doframedparameter#1{#2}\fi}
>
> When the else branch is taken, it picks up the second argument, but
> when the if branch is taken, it just picks up the first letter of
> the argument (since the braces are missing). Is that intended? When
> there are braces in the else branch there should also be braces in
> the if branch.
normally #1 is a \cs and helpers like \doframedparentparameter are not
user commands
(in the commandhandler variant {#1} is used but \framed is not yet using
that code)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the dev-context
mailing list