Re: Get value of Scheme function to display as a markup in Lilypond

2021-11-23 Thread David Nalesnik
Hi, On Tue, Nov 23, 2021 at 5:36 PM Dimitris Marinakis wrote: > Thank you both for the information. > > I wasn't aware of the formatted output to be honest. > > \markup #(format #f "result = ~a" (dostuff 47)) > > > This line of code doesn't make any sense to me currently but when I get > into

Re: Question about the header structure of the very first page of the score

2021-11-23 Thread Paolo Prete
Thank you, I'll surely proceed in this way. On Tue, Nov 23, 2021 at 2:46 AM Mark Probert wrote: > > Hi, Paolo. > > Here is a version that could work in that way, with modification. It > shows one way to achieve the result by ignoring the headers and doing > it all in text with associated font

Re: Get value of Scheme function to display as a markup in Lilypond

2021-11-23 Thread Dimitris Marinakis
Thank you both for the information. I wasn't aware of the formatted output to be honest. \markup #(format #f "result = ~a" (dostuff 47)) This line of code doesn't make any sense to me currently but when I get into more complex stuff I'll try to understand it. Right now I'm trying to build up a

Re: Get value of Scheme function to display as a markup in Lilypond

2021-11-23 Thread Aaron Hill
On 2021-11-23 2:56 pm, Dimitris Marinakis wrote: Finally got to learn a bit of Scheme. I've made decent progress within the Scheme sandbox. Now I'm trying to integrate a few things within Lilypond. Let's say I have this function: #(define (dostuff x) (+ x 5)) What would be the equivalent of

Re: alternate in middle of repeat

2021-11-23 Thread Valentin Petzel
Hello Kees, Look here: http://lilypond.org/doc/v2.23/Documentation/changes/ This is a new feature in the current Lilypond development version. Cheers, Valentin Am Dienstag, 23. November 2021, 21:25:47 CET schrieb Kees van den Doel: > I have a \repeat volta 2 { music}, but a few bars inside

Re: Get value of Scheme function to display as a markup in Lilypond

2021-11-23 Thread Valentin Petzel
Hello Dimitris, Basically you need to turn the output into a form markup takes, that is either a markup or a string. In your case the return would be a number, so you’d want to call \markup #(number->string (dostuff x)) Cheers, Valentin Am Dienstag, 23. November 2021, 23:56:51 CET schrieb

Get value of Scheme function to display as a markup in Lilypond

2021-11-23 Thread Dimitris Marinakis
Finally got to learn a bit of Scheme. I've made decent progress within the Scheme sandbox. Now I'm trying to integrate a few things within Lilypond. Let's say I have this function: #(define (dostuff x) (+ x 5)) What would be the equivalent of #(display (dostuff 2)) but inside a Lilypond markup?

Re: alternate in middle of repeat

2021-11-23 Thread David Wright
On Tue 23 Nov 2021 at 12:25:47 (-0800), Kees van den Doel wrote: > I have a \repeat volta 2 { music}, but a few bars inside "music" are > different the second time through. > Is there a way to do something like this: > \repeat volta 2 { A \alternative {{a1}{a2}} B} > Written out fully Aa1BAa2B.

Re: alternate in middle of repeat

2021-11-23 Thread Hans Aikema
> On 23 Nov 2021, at 21:27, Kees van den Doel wrote: > >  > I have a \repeat volta 2 { music}, but a few bars inside "music" are > different the second time through. > Is there a way to do something like this: > \repeat volta 2 { A \alternative {{a1}{a2}} B} > Written out fully Aa1BAa2B.

alternate in middle of repeat

2021-11-23 Thread Kees van den Doel
I have a \repeat volta 2 { music}, but a few bars inside "music" are different the second time through. Is there a way to do something like this: \repeat volta 2 { A \alternative {{a1}{a2}} B} Written out fully Aa1BAa2B.

Re: Version 2.22.1 problem

2021-11-23 Thread Anders Eriksson
Hello, I'm sorry but I have not the possibility to connect remotely! The error message say that you (the installation program) has gotten a write error when it tries to write these files to the disk. The probable cause is that some other program has opened the files and locked them.

Re: Version 2.22.1 problem

2021-11-23 Thread Leonid Hrabovsky
Hello gentlemen, who of you has the good will to help me remotely (through AnyDesk) with installing on Windows-8 version 2.22.1? All my own attempts failed - the error is *libexpat-1.dll & libffi-6.dll* files missing. *Леонід - Leonid* On Mon, Nov 22, 2021 at 1:25 PM Brian Barker wrote: > At

Re: Box around MeasureCounter

2021-11-23 Thread David Kastrup
Aaron Hill writes: > On 2021-11-22 11:24 am, Rajesh Baskar wrote: >> I had another question. The MeasureCounter boxify function does not >> work if we change the staff to Rhythmic staff. > > You need to scope the grob to the appropriate context. \boxifying > something within Staff only affects

Re: print log content to a pdf

2021-11-23 Thread ming tsang
On Sun, Nov 21, 2021 at 10:02 PM David Wright wrote: > On Sun 21 Nov 2021 at 16:01:43 (-0500), ming tsang wrote: > > > The following lilypond code > > > > #(ly:font-config-display-fonts) > > > > generate a log output. > > > > Is it possible to generate a pdf by lilypond? > > $ lilypond