Le mercredi 03 mai 2023 à 23:32 +0200, Jean Abou Samra a écrit :
> Le lundi 01 mai 2023 à 12:52 +0200, Lukas-Fabian Moser a écrit :
> Well, these styles are almost equivalent but not quite; the difference trips
> up people at times.
> I think I need to briefly mention this fact somewhere in the
Le lundi 01 mai 2023 à 12:52 +0200, Lukas-Fabian Moser a écrit :
>
> There's one other way which is sometimes useful (but admittedly won't
> simplify the present use case much):
>
> #`((lineto 0 ,hgt) (closepath))
>
> is the a list with two elements, namely
> - the 3-element list
Hi Jeff, hi Michael,
though a bit late want to throw in some bits. First of all I’d advice you to
check out the relevant part in Jean’s scheme tutorial:
https://extending-lilypond.gitlab.io/de/scheme/quoting.html
This should probably clean up lots of uncertainties. Then I’d like to give a
few
On 5/1/2023 4:52 AM, Lukas-Fabian Moser wrote:
#`((lineto 0 ,hgt) (closepath))
is the a list with two elements, namely
- the 3-element list containing 'lineto, 0 and the value of the
variable hgt
- the 1-element list containing the symbol 'closepath.
This may also be written as:
#(list
On 5/1/2023 12:20 AM, Michael Werner wrote:
#`((lineto 0 ,hgt)
Thank you so much for your quick fix and very patient explanation, Michael!
I had noticed the quote (') and figured that an unquote (,) would be
needed but forgot that it required changing the quote to a quasiquote (`).
All
Hi Michael,
To say I'm no expert in Scheme is a vast understatement. However, I
think I found the answer to this one.
Just in order to reassure you a bit:
Basically, as I understand things, this bit:
#'((lineto 0 hgt)
Accosrding to my rather vague understanding of Scheme
Hi Jeff,
To say I'm no expert in Scheme is a vast understatement. However, I think I
found the answer to this one. Or, at least, something that seems to make
this code work for me here.
On Mon, May 1, 2023 at 1:00 AM Jeff Olson wrote:
%< snip >%
> Here's my code (small if not minimal):
>
>
I'm starting to translate some of my \postscript markups into lilypond
in order to use cairo, and it seems I always stub my toe when trying to
use a variable in a substitution function.
In this example I'm trying to do (lineto 0 hgt) which fails with "In
procedure *: Wrong type argument in