Re: Want "Fine" to be right adjacent to the 3rd beat bar line (2/2), not to the left

2022-02-01 Thread Valentin Petzel
Hi Ken, Your screenshots are of limited use, as they fail to explain which one is the behaviour you want. Thus I’ve created an example for you demonstrating both. \paper { ragged-right = ##f } { \time 3/4 s2.*2 2.^\markup\italic"Fine" } { \time 3/4 s2.*2 2. \tweak self-alignment-X

Re: help!

2022-02-01 Thread Pierre Perol-Schneider
Hi, How about: \version "2.23.5" \paper { ragged-right = ##f } voltaA = \markup\large { \text "Для повторения" } voltaB = \markup\large { \text "Для окончания" } \score {   \new Staff   \with { \omit Clef \omit T

Re: help!

2022-02-01 Thread Виноградов Юрий
Okey.Юрий Виноградов10:36, 1 февраля 2022 г., Jacques Menu :Hello Виноградов,It will be easier for the people on this list to help you if you provide a minial working example (MWE).JM Le 31 janv. 2022 à 16:55, Виноградов Юрий a écrit :  Hello. Help please. I have two volts of

Re: help!

2022-02-01 Thread Valentin Petzel
Hello Виноградов, Maybe this could do the trick? { \repeat volta 2 { c' d' e' f' } \alternative { { \once\override Score.VoltaBracket.shorten-pair = #'(0.1 . 1.1) g' a' b' c'' \mark\markup\smaller\musicglyph #"scripts.segno" } { \once\override Score.VoltaBr

Re: help!

2022-02-01 Thread Valentin Petzel
Also if you want to get the text in the brackets you can do it like this: { \repeat volta 2 { c' d' e' f' } \alternative { { \once\override Score.VoltaBracket.text = \markup\smaller"bla bla" \once\override Score.VoltaBracket.shorten-pair = #'(0.1 . 1.1) g' a' b' c''

\include inside function

2022-02-01 Thread Leo Correia de Verdier
Dear list! Is there a way to have an \include inside a function? In the attached file includeinfunction.ly the commented out line doesn’t work (probably for some very logical reason, but still unknown to me). Is there a way to work around that and have includes inside functions? (The function i

Re: help!

2022-02-01 Thread Valentin Petzel
Please keep the list in the addressates. VoltaBracket should not have a space in between. If you do have that, can you tell if this outputs ans error? Valentin 01.02.2022 15:58:25 Виноградов Юрий : > Hello. I figured out the sign. It helped. And that part of the code " > \once\override Score.

Re: help!

2022-02-01 Thread Valentin Petzel
Your mailing programm might have an option to reply to all recipients, or you can simply add lilypond-user@gnu.org to the recipients. For finding the problem: What Lilypond version are you on? Cheers, Valentin 01.02.2022 16:52:13 Виноградов Юрий : > Hello. Here is your code. He does not write

Re: help!

2022-02-01 Thread Виноградов Юрий
Okey! \version "2.22.0"  С уважением,Виноградов Юрий.   01.02.2022, 19:15, "Valentin Petzel" :Your mailing programm might have an option to reply to all recipients, or you can simply add lilypond-user@gnu.org to the recipients.For finding the problem: What Lilypond version are you on?Cheers,Valenti

Re: \include inside function

2022-02-01 Thread David Kastrup
Leo Correia de Verdier writes: > Dear list! > > Is there a way to have an \include inside a function? > In the attached file includeinfunction.ly the commented out line > doesn’t work (probably for some very logical reason, but still unknown > to me). Uh, if you write the content of the included

Re: \include inside function

2022-02-01 Thread David Wright
On Tue 01 Feb 2022 at 16:09:01 (+0100), Leo Correia de Verdier wrote: > > Is there a way to have an \include inside a function? > In the attached file includeinfunction.ly the commented out line doesn’t work > (probably for some very logical reason, but still unknown to me). Is there a > way to

Re: help!

2022-02-01 Thread Виноградов Юрий
Thanks. Everything worked out.  С уважением,Виноградов Юрий.   01.02.2022, 20:34, "Valentin Petzel" :Thank you. As it seems prior to 2.23 the Volta Bracket engraver would overridethe text property even if you had manually specified this. So we can eitherdirectly modify this in the repeat command (w

Re: \include inside function

2022-02-01 Thread Valentin Petzel
Hi David! I suppose it might be useful to have something like a parsing function that does parse a file internally, but returns a scheme structure containing all variables, functions, scores, books, whatever defined in that file. This would make using stuff in a different file much more clean t

Re: \include inside function

2022-02-01 Thread David Kastrup
Valentin Petzel writes: > Hi David! > > I suppose it might be useful to have something like a parsing function > that does parse a file internally, but returns a scheme structure > containing all variables, functions, scores, books, whatever defined > in that file. This would make using stuff in

Re: \include inside function

2022-02-01 Thread Valentin Petzel
Hello David, An assignment basically adds a pair (symbol, value) to some assignment table. So shouldn’t it be possible to parse a file with a new assignment table and then convert this assignment table into a scheme accessible structure? I do not mean to say that assignments should not be perfo

Re: \include inside function

2022-02-01 Thread Valentin Petzel
Hello Leo, Here are two ways to do it, one by using \include and one directly parsing the contents of the file. Cheers, Valentin Am Dienstag, 1. Februar 2022, 16:09:01 CET schrieb Leo Correia de Verdier: > Dear list! > > Is there a way to have an \include inside a function? > In the attached f

Re: help!

2022-02-01 Thread Valentin Petzel
Thank you. As it seems prior to 2.23 the Volta Bracket engraver would override the text property even if you had manually specified this. So we can either directly modify this in the repeat command (which I consider a bit ugly), or try some workaround like this: (Basically this checks if details

Re: \include inside function

2022-02-01 Thread David Kastrup
Valentin Petzel writes: >> That's just wild handwaving. Something like >> >> bing = cis' >> bing = { $bing 2-2 } >> \score { >> \bing >> } >> >> does not resolve in such a manner since the _structure_ of the >> expression containing $bing cannot be resolved without knowing the type >> of bin

Re: \include inside function

2022-02-01 Thread David Kastrup
Valentin Petzel writes: >> Since you removed every single bit of context, it's not even possible to >> say anymore what you want to be talking about. > > But I’ve been saying this since the beginning. The idea would be to have a > way > to parse a ly file (or a string) within a different scope,

Re: help!

2022-02-01 Thread Jean Abou Samra
Le 01/02/2022 à 18:34, Valentin Petzel a écrit : Thank you. As it seems prior to 2.23 the Volta Bracket engraver would override the text property even if you had manually specified this. So we can either directly modify this in the repeat command (which I consider a bit ugly), or try some work

Delay for list posts to arrive

2022-02-01 Thread Jean Abou Samra
Hi, Lately I've found myself a couple times duplicating answers already provided on this list by others up to almost three hours earlier because I had not received these replies yet. Now the little delay for posts to get in inboxes is a quirk inherent to mailing lists, but three hours seems a bit

Re: \include inside function

2022-02-01 Thread Valentin Petzel
> And it still breaks down because at the top level, LilyPond input does > not reflect a static structure but directs actions, actions that have > immediate consequences _while_ still reading ahead. I do not understand why this matters here? Doesn’t this only matter while we are parsing the file?

PDF bookmark questions

2022-02-01 Thread Nate Whetsell
I’m trying to add PDF bookmarks (to display in PDF readers) to a collection of studies. I’m having three issues: 1. If several studies appear on the same page, the bookmarks appear in reverse order. 2. The bookmarks seem to navigate to the *page* on which a study appears, not the study itself.

Re: \include inside function

2022-02-01 Thread David Kastrup
Valentin Petzel writes: > Hello David, > > An assignment basically adds a pair (symbol, value) to some assignment table. > So shouldn’t it be possible to parse a file with a new assignment table and > then convert this assignment table into a scheme accessible structure? That's just wild handw

Re: Delay for list posts to arrive

2022-02-01 Thread Aaron Hill
On 2022-02-01 2:50 pm, Jean Abou Samra wrote: Lately I've found myself a couple times duplicating answers already provided on this list by others up to almost three hours earlier because I had not received these replies yet. Now the little delay for posts to get in inboxes is a quirk inherent to

Re: \include inside function

2022-02-01 Thread Valentin Petzel
> That's just wild handwaving. Something like > > bing = cis' > bing = { $bing 2-2 } > \score { > \bing > } > > does not resolve in such a manner since the _structure_ of the > expression containing $bing cannot be resolved without knowing the type > of bing at the time $bing is encountered.

Re: \include inside function

2022-02-01 Thread Jean Abou Samra
Le 01/02/2022 à 20:10, Valentin Petzel a écrit : Hello David, An assignment basically adds a pair (symbol, value) to some assignment table. So shouldn’t it be possible to parse a file with a new assignment table and then convert this assignment table into a scheme accessible structure? I do not

Re: \include inside function

2022-02-01 Thread Valentin Petzel
> Since you removed every single bit of context, it's not even possible to > say anymore what you want to be talking about. But I’ve been saying this since the beginning. The idea would be to have a way to parse a ly file (or a string) within a different scope, and then make the scope accessible

Re: \include inside function

2022-02-01 Thread Jean Abou Samra
Le 01/02/2022 à 23:14, Jean Abou Samra a écrit : Well, if you are ready to get evil, you can do \version "2.23.5" includeNamespace = #(define-scheme-function (filename) (string?)    (let ((new-parser (ly:parser-clone))) (ly:parser-parse-string   new-parser   (format #f "\\include ~

Re: \include inside function

2022-02-01 Thread David Kastrup
Valentin Petzel writes: >> And it still breaks down because at the top level, LilyPond input does >> not reflect a static structure but directs actions, actions that have >> immediate consequences _while_ still reading ahead. > > I do not understand why this matters here? Doesn’t this only matter

Re: \include inside function

2022-02-01 Thread David Kastrup
David Wright writes: > On Tue 01 Feb 2022 at 16:09:01 (+0100), Leo Correia de Verdier wrote: >> >> Is there a way to have an \include inside a function? >> In the attached file includeinfunction.ly the commented out line >> doesn’t work (probably for some very logical reason, but still >> unknow

Re: help!

2022-02-01 Thread Valentin Petzel
Hello Jean, Again I have learned something from you, thank you very much. Best, Valentin Am Dienstag, 1. Februar 2022, 23:04:45 CET schrieb Jean Abou Samra: > Le 01/02/2022 à 18:34, Valentin Petzel a écrit : > > Thank you. As it seems prior to 2.23 the Volta Bracket engraver would > > override t

Re: \include inside function

2022-02-01 Thread Valentin Petzel
> You won't get far without parsing the file. I was rather talking about the relevant functionality essentially being done after parsing the included file. > Feel free to create an implementation. That will apparently be easier > than to prove viability to me. First I’ll have to do some source

Re: Want "Fine" to be right adjacent to the 3rd beat bar line (2/2), not to the left

2022-02-01 Thread Kenneth Wolcott
Ah!! I got it. Thank you! On Tue, Feb 1, 2022 at 4:27 PM Valentin Petzel wrote: > > Hi Ken, > > Currently you are applying this tweak to the note c2. You should instead put > the tweak command in front of the mark command to apply it to the > RehearsalMark. > > Also note that \mark is *not* and

Re: \include inside function

2022-02-01 Thread Valentin Petzel
Hello Jean, I expected something like this might be possible, thank you for this simple solution! I surely could not have done this this elegantly! Maybe I’ll try to extend this to allow for specifying paths. Maybe also it could work to set custom toplevel handlers to have scores and bookparts

Re: Delay for list posts to arrive

2022-02-01 Thread Ralph Palmer
On Tue, Feb 1, 2022 at 3:56 PM Jean Abou Samra wrote: > Hi, > > Lately I've found myself a couple times duplicating answers > already provided on this list by others up to almost three > hours earlier because I had not received these replies yet. > Now the little delay for posts to get in inboxes

Re: Want "Fine" to be right adjacent to the 3rd beat bar line (2/2), not to the left

2022-02-01 Thread Valentin Petzel
Hi Ken, Currently you are applying this tweak to the note c2. You should instead put the tweak command in front of the mark command to apply it to the RehearsalMark. Also note that \mark is *not* and after-event, but a full music event standing by its own like \tempo, \time or \key. So differe

Re: Delay for list posts to arrive

2022-02-01 Thread Valentin Petzel
Hello Jean, The only metrics I have for this is time until I receive mails I composed myself. Usually these come back pretty fast, but occasionally they can take a few hours. Best, Valentin Am Dienstag, 1. Februar 2022, 23:50:33 CET schrieb Jean Abou Samra: > Hi, > > Lately I've found myself

Re: Delay for list posts to arrive

2022-02-01 Thread David Kastrup
Jean Abou Samra writes: > Hi, > > Lately I've found myself a couple times duplicating answers > already provided on this list by others up to almost three > hours earlier because I had not received these replies yet. > Now the little delay for posts to get in inboxes is a quirk > inherent to mail

Re: Delay for list posts to arrive

2022-02-01 Thread Werner LEMBERG
>> Lately I've found myself a couple times duplicating answers already >> provided on this list by others up to almost three hours earlier >> because I had not received these replies yet. [...] > > Check the timestamps in the email headers. This tends to be what I > see: [...] There were indee

Re: Delay for list posts to arrive

2022-02-01 Thread Colin Campbell
I found much the same delay this afternoon, sending the patch list to the developers list took about 3 hours to show up in my mail. Cheers, Colin On 2022-02-01 15:50, Jean Abou Samra wrote: Hi, Lately I've found myself a couple times duplicating answers already provided on this list by othe

Re: PDF bookmark questions

2022-02-01 Thread Lukas-Fabian Moser
Hi Nate, Am 01.02.22 um 22:11 schrieb Nate Whetsell: I’m trying to add PDF bookmarks (to display in PDF readers) to a collection of studies. I’m having three issues: 1. If several studies appear on the same page, the bookmarks appear in reverse order. 2. The bookmarks seem to navigate to the