[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with a 2-argument markup command definition
From: |
David Kastrup |
Subject: |
Re: Help with a 2-argument markup command definition |
Date: |
Sat, 19 Nov 2011 17:46:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Robert Schmaus <address@hidden> writes:
> Am 11/19/11 4:07 PM, schrieb David Kastrup:
>> Robert Schmaus<address@hidden> writes:
>>
>>> Hi everyone,
>>>
>>> I'm trying to define a 2-argument markup command. the definition below
>>> doesn't work, I get all sorts of errors when I call either
>>> \jcStack{"x"}{"y"}
>>> or
>>> \jcStack "x" "y"
>>> or
>>> \jcStack #"x" #"y"
> \markup{\jcRaise{"7"}\jcStack "5" "9" }
> I get
> Preprocessing graphical objects...ERROR: Wrong number of arguments to
> #<primitive-procedure ly:text-interface::interpret-markup>
>
>
> When I call the command as
> \markup{\jcRaise{"7"}\jcStack{"5"}{"9"} }
> I get
> error: syntax error, unexpected '{'
> <c e gis bes dis'>-\markup{\jcRaise{"7"}\jcStack
> {"5"}{"9"} }
>
> Well you already said that this last variant might not work.
> but I still don't see the error in the definition. Do you know what's
> happening?
No, because you give a mishmash of inconsistent scraps for which one can
only guess the underlying definitions. How about preparing an actual
complete example illustrating your problem?
--
David Kastrup