Re: Re: Frescobaldi... panic alternatives?
Cool! TBH I've not used point-and-click much, but according to the documentation it should work both ways: https://github.com/martineausimon/nvim-lilypond-suite/wiki/2.-Configuration#point-and-click Roosna & Flak Contemporary Dance & Music https://roosnaflak.com Original Message On 5/2/24 22:59, Colin Campbell wrote: > This looks really good, Ken. I'm going to do a general tidy up on the > Easier Editing page, but I hope to have something up for review in a day > or two. I've installed neovim, but to save a bit of time: is the > point-and-click two-way, like Frescobaldi, or from PDF to code only? > > > Cheers, > > Colin > > On 2024-05-01 22:33, Kenneth Flak wrote: > > OK, giving it a shot... Feel free to edit as needed! > > > > Kenneth > > > > > > Neovim > > > > https://neovim.io > > > > Neovim is a minimal text editor and fork of vim. It is highly extensible > and configurable through the vimscript and lua programming languages. > Lilypond support is provided by the nvim-lilypond-suite plugin > (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports > playback of midi files through external programs; point-and-click when using > a supported PDF viewer; snippets and code completion when combined with other > plugins; in addition to the full range of tools available in the neovim > ecosystem. For more details on how to set it up consult the plugin's github > page. You will also want to spend some time with some of the numerous online > tutorials for learning vim/neovim to get the most out of your editing > experience. > > > > > > Werner LEMBERG, May 02, 2024 at 05:49: > Maybe one of you two can provide some text for > > https://lilypond.org/doc/v2.24/Documentation/web/easier-editing > >>> It happens that my first contribution to the Lilypond documentation > >>> was a rewrite of the Easier Editing section, some 14 years ago or > >>> so. > >> Aaah :-) > >> > >>> If either or both care to send me their thoughts and comments, I'll > >>> be glad to turn it into a patch. > >> This would be great! Thanks for the offer. > >> > >> > >> Werner > > > > > > >
Re: \after … \beforeLast?
On Thu, May 2, 2024 at 1:10 PM Pierre-Luc Gauthier wrote: > > { > > s2...\< s16\! | > > } > > ...that I do it almost automatically. > > Try that in 12/8 :-) > { \time 12/8 s1*23/16\< s16\! | % ?? } Yeah, I see your point. ;) -- Knute Snortum
Re: Frescobaldi... panic alternatives? (Kenneth Flak)
Sounds like just the VSLilyPond-PDF-Preview extension is not being maintained. I'll take a look at that tonight...thanks, Federico! On Thu, May 2, 2024 at 4:41 PM Federico Sarudiansky wrote: > Hi Jeff. > > I've been using VSLilypond for VSCode for a while now and I found a > solution for the annoying lack of refresh of the PDF output. It is here: > https://github.com/lhl2617/VSLilyPond-PDF-preview/pull/118 > Basically you have to edit a file of the Lilypond PDF preview extension > (~/.vscode/extensions/lhl2617.lilypond-pdf-preview-0.2.8/out/extension/pdf-preview.js) > and, look for "watcher.onDidChange" and add a similar construction for > using "watcher.onDidCreate". And it works flawlessly. > I think the owner of VSLilypond is not maintaining this project anymore. > So this is not merged in the extension you can download and should be done > by hand. > > Regards, > > F. > -- *Jeff Kopmanis* Medium: https://kopmanis.medium.com GLAAC: https://www.glaac.org/ University Lowbrow Astronomers: http://umich.edu/~lowbrows Orange Can Astronomy: https://www.facebook.com/orangecanastronomy/ ** Go Green and leave this email on the Screen! **
Re: Frescobaldi... panic alternatives? (Colin Campbell)
No it's only a one way point-and-click from the pdf and not as smooth and fast as Fresco. It's not as complete as Fresco but when you're a vim-centric guy on different project your're looking for interaction with your linux system and this plugin becomes really helpful for that. And his maintenance will evolve, for sure. Here is some more about Simon. https://github.com/martineausimon/lilypond-lib Jeff On 02/05/2024 22:16, lilypond-user-requ...@gnu.org wrote: Send lilypond-user mailing list submissions to lilypond-user@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/lilypond-user or, via email, send a message with subject or body 'help' to lilypond-user-requ...@gnu.org You can reach the person managing the list at lilypond-user-ow...@gnu.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lilypond-user digest..." Today's Topics: 1. Re: Frescobaldi... panic alternatives? (Colin Campbell) 2. Re: Frescobaldi... panic alternatives? (Kenneth Flak) (Jeff Kopmanis) 3. Re: \after … \beforeLast? (Pierre-Luc Gauthier) 4. Re: Frescobaldi... panic alternatives? (Hajo Baess) -- Message: 1 Date: Thu, 2 May 2024 13:59:12 -0600 From: Colin Campbell To: Kenneth Flak , Werner LEMBERG Cc: lilypond-user@gnu.org Subject: Re: Frescobaldi... panic alternatives? Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed This looks really good, Ken. I'm going to do a general tidy up on the Easier Editing page, but I hope to have something up for review in a day or two. I've installed neovim, but to save a bit of time: is the point-and-click two-way, like Frescobaldi, or from PDF to code only? Cheers, Colin On 2024-05-01 22:33, Kenneth Flak wrote: OK, giving it a shot... Feel free to edit as needed! Kenneth Neovim https://neovim.io Neovim is a minimal text editor and fork of vim. It is highly extensible and configurable through the vimscript and lua programming languages. Lilypond support is provided by the nvim-lilypond-suite plugin (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports playback of midi files through external programs; point-and-click when using a supported PDF viewer; snippets and code completion when combined with other plugins; in addition to the full range of tools available in the neovim ecosystem. For more details on how to set it up consult the plugin's github page. You will also want to spend some time with some of the numerous online tutorials for learning vim/neovim to get the most out of your editing experience. Werner LEMBERG, May 02, 2024 at 05:49: Maybe one of you two can provide some text for https://lilypond.org/doc/v2.24/Documentation/web/easier-editing It happens that my first contribution to the Lilypond documentation was a rewrite of the Easier Editing section, some 14 years ago or so. Aaah :-) If either or both care to send me their thoughts and comments, I'll be glad to turn it into a patch. This would be great! Thanks for the offer. Werner -- Message: 2 Date: Thu, 2 May 2024 16:04:17 -0400 From: Jeff Kopmanis To: jeff Cc: lilypond-user@gnu.org Subject: Re: Frescobaldi... panic alternatives? (Kenneth Flak) Message-ID: Content-Type: text/plain; charset="utf-8" I kicked the tires with VScode and the VSLilypond extension set, and it worked pretty well. I'm not sure I figured out how to *automagically* update the PDF display, all I had to do was to close and reopen the file and it was there. Clicking on a note in the PDF viewer took me right to the text and clicking on text and asking for it to find it in the PDF worked as well. Syntax highlighting and completion worked nicely as well as the formatting. Compiling worked nicely, although in some cases, my files generate some warnings that Frescobaldi did not. I suspect different compile options that could be worked out over time. Overall, a reasonable replacement if Frescobaldi goes awayuntil then, Frescobaldi is still easier. -Jeff. :) On Thu, May 2, 2024 at 3:57 PM jeff wrote: Well done Kenneth! I don't have anything better to say. Maybe asking Simon Martineau is thoughts about that. And thanks to Werner for the proposal. It feels a little bit like I'm a part of the game, haha. I have more than 20 scores to transpose on lilypond so I'm here to stay a little longer and read and learn from you. Jeff On 02/05/2024 19:29, lilypond-user-requ...@gnu.org wrote: Send lilypond-user mailing list submissions to lilypond-user@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/lilypond-user or, via email, send a message with subject or body 'help' to lilypond-user-requ...@gnu.org You can reach
Re: Frescobaldi... panic alternatives? (Kenneth Flak)
Hi Jeff. I've been using VSLilypond for VSCode for a while now and I found a solution for the annoying lack of refresh of the PDF output. It is here: https://github.com/lhl2617/VSLilyPond-PDF-preview/pull/118 Basically you have to edit a file of the Lilypond PDF preview extension (~/.vscode/extensions/lhl2617.lilypond-pdf-preview-0.2.8/out/extension/pdf-preview.js) and, look for "watcher.onDidChange" and add a similar construction for using "watcher.onDidCreate". And it works flawlessly. I think the owner of VSLilypond is not maintaining this project anymore. So this is not merged in the extension you can download and should be done by hand. Regards, F.
Re: Frescobaldi... panic alternatives?
And while you are about to extend the 'Easier Editing' section: maybe for the Mac users in particular one might want to add the combination of TeXShop/LaTeX and Skim/Preview. I had a Mac until about 12 years ago when I started to use LilyPond. That was on Mac OS 10.4, before I left the Apple universe for good in favor of Linux. But this combo worked very well for me, and both programs are still around, so that one can safely assume that it still is an option today. It is just good to know there are alternatives to Frescobaldi, and it would be convenient to have them mentioned in one place, so everyone can check them out. Am Donnerstag, dem 02.05.2024 um 04:33 + schrieb Kenneth Flak: > OK, giving it a shot... Feel free to edit as needed! > > Kenneth > > > Neovim > > https://neovim.io > > Neovim is a minimal text editor and fork of vim. It is highly > extensible and configurable through the vimscript and lua programming > languages. Lilypond support is provided by the nvim-lilypond-suite > plugin (https://github.com/martineausimon/nvim-lilypond-suite). The > plugin supports playback of midi files through external programs; > point-and-click when using a supported PDF viewer; snippets and code > completion when combined with other plugins; in addition to the full > range of tools available in the neovim ecosystem. For more details on > how to set it up consult the plugin's github page. You will also want > to spend some time with some of the numerous online tutorials for > learning vim/neovim to get the most out of your editing experience. > > > Werner LEMBERG, May 02, 2024 at 05:49: > > > > > > Maybe one of you two can provide some text for > > > > > > > > > > > > https://lilypond.org/doc/v2.24/Documentation/web/easier-editing > > > > > > It happens that my first contribution to the Lilypond > > > documentation > > > was a rewrite of the Easier Editing section, some 14 years ago or > > > so. > > > > Aaah :-) > > > > > If either or both care to send me their thoughts and comments, > > > I'll > > > be glad to turn it into a patch. > > > > This would be great! Thanks for the offer. > > > > > > Werner > > > >
Re: \after … \beforeLast?
Le jeu. 2 mai 2024, à 15 h 20, Knute Snortum a écrit : > I use a different context for all my dynamics and I've gotten so used to > typing... I do too. For bowing, nuances, articulations, etc. Btw I use quite a lot of \quoting and \tagging for that. > { > s2...\< s16\! | > } > ...that I do it almost automatically. Try that in 12/8 :-) -- Pierre-Luc Gauthier
Re: Frescobaldi... panic alternatives? (Kenneth Flak)
I kicked the tires with VScode and the VSLilypond extension set, and it worked pretty well. I'm not sure I figured out how to *automagically* update the PDF display, all I had to do was to close and reopen the file and it was there. Clicking on a note in the PDF viewer took me right to the text and clicking on text and asking for it to find it in the PDF worked as well. Syntax highlighting and completion worked nicely as well as the formatting. Compiling worked nicely, although in some cases, my files generate some warnings that Frescobaldi did not. I suspect different compile options that could be worked out over time. Overall, a reasonable replacement if Frescobaldi goes awayuntil then, Frescobaldi is still easier. -Jeff. :) On Thu, May 2, 2024 at 3:57 PM jeff wrote: > Well done Kenneth! I don't have anything better to say. Maybe asking > Simon Martineau is thoughts about that. And thanks to Werner for the > proposal. It feels a little bit like I'm a part of the game, haha. I have > more than 20 scores to transpose on lilypond so I'm here to stay a little > longer and read and learn from you. > Jeff > > On 02/05/2024 19:29, lilypond-user-requ...@gnu.org wrote: > > Send lilypond-user mailing list submissions to > lilypond-user@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to > lilypond-user-requ...@gnu.org > > You can reach the person managing the list at > lilypond-user-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > > > Today's Topics: > >1. Re: Frescobaldi... panic alternatives? (Raphael Mankin) >2. Re: \after … \beforeLast? (Knute Snortum) >3. Re: Frescobaldi... panic alternatives? (Kenneth Flak) >4. Re: \after … \beforeLast? (Hans Aikema) >5. Re: \after … \beforeLast? (Lukas-Fabian Moser) > > > -- > > Message: 1 > Date: Thu, 2 May 2024 18:07:33 +0100 > From: Raphael Mankin > To: lilypond-user@gnu.org > Subject: Re: Frescobaldi... panic alternatives? > Message-ID: <474001f7-e9c0-4759-8106-174a0bb41...@mankin.org.uk> > <474001f7-e9c0-4759-8106-174a0bb41...@mankin.org.uk> > Content-Type: text/plain; charset=UTF-8; format=flowed > > This is a much better description of Neovim than exists on any of the > Neovim web-sites. They all jump straight into detail without telling one > what the whole thing is about. I struggled to work out what Neovim is, > or why I should want to use it. > > On 02/05/2024 05:33, Kenneth Flak wrote: > > OK, giving it a shot... Feel free to edit as needed! > > Kenneth > > > Neovim > https://neovim.io > > Neovim is a minimal text editor and fork of vim. It is highly extensible and > configurable through the vimscript and lua programming languages. Lilypond > support is provided by the nvim-lilypond-suite plugin > (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports > playback of midi files through external programs; point-and-click when using > a supported PDF viewer; snippets and code completion when combined with other > plugins; in addition to the full range of tools available in the neovim > ecosystem. For more details on how to set it up consult the plugin's github > page. You will also want to spend some time with some of the numerous online > tutorials for learning vim/neovim to get the most out of your editing > experience. > > > Werner LEMBERG, May 02, 2024 at 05:49: > > Maybe one of you two can provide some text for > > https://lilypond.org/doc/v2.24/Documentation/web/easier-editing > > It happens that my first contribution to the Lilypond documentation > was a rewrite of the Easier Editing section, some 14 years ago or > so. > > Aaah :-) > > > If either or both care to send me their thoughts and comments, I'll > be glad to turn it into a patch. > > This would be great! Thanks for the offer. > > > Werner > > > -- https://jefflagoutte.com/ > > -- *Jeff Kopmanis* Medium: https://kopmanis.medium.com GLAAC: https://www.glaac.org/ University Lowbrow Astronomers: http://umich.edu/~lowbrows Orange Can Astronomy: https://www.facebook.com/orangecanastronomy/ ** Go Green and leave this email on the Screen! **
Re: Frescobaldi... panic alternatives?
This looks really good, Ken. I'm going to do a general tidy up on the Easier Editing page, but I hope to have something up for review in a day or two. I've installed neovim, but to save a bit of time: is the point-and-click two-way, like Frescobaldi, or from PDF to code only? Cheers, Colin On 2024-05-01 22:33, Kenneth Flak wrote: OK, giving it a shot... Feel free to edit as needed! Kenneth Neovim https://neovim.io Neovim is a minimal text editor and fork of vim. It is highly extensible and configurable through the vimscript and lua programming languages. Lilypond support is provided by the nvim-lilypond-suite plugin (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports playback of midi files through external programs; point-and-click when using a supported PDF viewer; snippets and code completion when combined with other plugins; in addition to the full range of tools available in the neovim ecosystem. For more details on how to set it up consult the plugin's github page. You will also want to spend some time with some of the numerous online tutorials for learning vim/neovim to get the most out of your editing experience. Werner LEMBERG, May 02, 2024 at 05:49: Maybe one of you two can provide some text for https://lilypond.org/doc/v2.24/Documentation/web/easier-editing It happens that my first contribution to the Lilypond documentation was a rewrite of the Easier Editing section, some 14 years ago or so. Aaah :-) If either or both care to send me their thoughts and comments, I'll be glad to turn it into a patch. This would be great! Thanks for the offer. Werner
Re: Frescobaldi... panic alternatives? (Kenneth Flak)
Well done Kenneth! I don't have anything better to say.Maybe asking Simon Martineau is thoughts about that.And thanks to Werner for the proposal.It feels a little bit like I'm a part of the game, haha. I have more than 20 scores to transpose on lilypond so I'm here to stay a little longer and read and learn from you. Jeff On 02/05/2024 19:29, lilypond-user-requ...@gnu.org wrote: Send lilypond-user mailing list submissions to lilypond-user@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/lilypond-user or, via email, send a message with subject or body 'help' to lilypond-user-requ...@gnu.org You can reach the person managing the list at lilypond-user-ow...@gnu.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lilypond-user digest..." Today's Topics: 1. Re: Frescobaldi... panic alternatives? (Raphael Mankin) 2. Re: \after … \beforeLast? (Knute Snortum) 3. Re: Frescobaldi... panic alternatives? (Kenneth Flak) 4. Re: \after … \beforeLast? (Hans Aikema) 5. Re: \after … \beforeLast? (Lukas-Fabian Moser) -- Message: 1 Date: Thu, 2 May 2024 18:07:33 +0100 From: Raphael Mankin To:lilypond-user@gnu.org Subject: Re: Frescobaldi... panic alternatives? Message-ID:<474001f7-e9c0-4759-8106-174a0bb41...@mankin.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed This is a much better description of Neovim than exists on any of the Neovim web-sites. They all jump straight into detail without telling one what the whole thing is about. I struggled to work out what Neovim is, or why I should want to use it. On 02/05/2024 05:33, Kenneth Flak wrote: OK, giving it a shot... Feel free to edit as needed! Kenneth Neovim https://neovim.io Neovim is a minimal text editor and fork of vim. It is highly extensible and configurable through the vimscript and lua programming languages. Lilypond support is provided by the nvim-lilypond-suite plugin (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports playback of midi files through external programs; point-and-click when using a supported PDF viewer; snippets and code completion when combined with other plugins; in addition to the full range of tools available in the neovim ecosystem. For more details on how to set it up consult the plugin's github page. You will also want to spend some time with some of the numerous online tutorials for learning vim/neovim to get the most out of your editing experience. Werner LEMBERG, May 02, 2024 at 05:49: Maybe one of you two can provide some text for https://lilypond.org/doc/v2.24/Documentation/web/easier-editing It happens that my first contribution to the Lilypond documentation was a rewrite of the Easier Editing section, some 14 years ago or so. Aaah :-) If either or both care to send me their thoughts and comments, I'll be glad to turn it into a patch. This would be great! Thanks for the offer. Werner -- https://jefflagoutte.com/
Re: \after … \beforeLast?
On Thu, May 2, 2024 at 10:31 AM Pierre-Luc Gauthier < p.luc.gauth...@gmail.com> wrote: > Le jeu. 2 mai 2024, à 13 h 08, Knute Snortum a écrit > : > > Perhaps I'm not getting the need for this command as you could using an > empty chord at the end of the repeat to do the same thing: > > > > { > > <>(\< > > \after 2 \> > > \repeat unfold 8 {e''16 d''} <>)\!| > > } > > The above example would not work if I add another note : > > { > \repeat unfold 8 {e''16 d''} <>\f | > c'1 | > } > > The "empty chord" syntax (which probably has a name? (and is not a > chord in my understanding)) pushes the expression to the next event. > Yes, you're right that the empty chord (this is what I've heard others call it) does not actually put the event at the end of the measure, but the beginning of the next measure. I use a different context for all my dynamics and I've gotten so used to typing... { s2...\< s16\! | } ...that I do it almost automatically. But I can see now that a "fromEnd" command would be useful. -- Knute Snortum
Re: \after … \beforeLast?
Maybe one addition: fromEnd = #(define-music-function (delta ev mus) (ly:duration? ly:music? ly:music?) (_i "Add music @var{ev} with a distance of @var{delta} before the end of @var{ev} is usually a post-event.") #{ \context Bottom << { \skip $(make-duration-of-length (- (ly:music-length mus) (ly:duration-length delta))) <> $ev } #mus >> #}) { <>( <>\< \after 2 \> \after 16*15 ) \fromEnd 16 \! \fromEnd 8 -> \repeat unfold 8 {e''16 d''} | } In ordner to make this work with slightly older LilyPond versions, one has to replace "-" by "ly:moment-sub": \skip $(make-duration-of-length (ly:moment-sub (ly:music-length mus) (ly:duration-length delta))) The operator overloading that allows for "naive" arithmetic with moments was only added sometime in the 2.25.x series. Lukas
Re: \after … \beforeLast?
Thanks Lukas, Le jeu. 2 mai 2024, à 13 h 29, Lukas-Fabian Moser a écrit : > fromEnd = > #(define-music-function (delta ev mus) (ly:duration? ly:music? ly:music?) >(_i "Add music @var{ev} with a distance of @var{delta} before the end of > > @var{ev} is usually a post-event.") >#{ > \context Bottom > << >{ > \skip $(make-duration-of-length (- (ly:music-length mus) > (ly:duration-length delta))) > <> $ev >} >#mus >>> #}) > > > { ><>( ><>\< >\after 2 \> >\after 16*15 ) >\fromEnd 16 \! >\fromEnd 8 -> >\repeat unfold 8 {e''16 d''} | > } > > > > \beforeLast (in the sense of "before the last note of the given music > argument") isn't likely to work though, since it's not guaranteed that > the music given is SequentialMusic: What is the last note of a << >> > expression? Of course. I said \beforeLast not as \before-the-last-note-please but rather \beforeEnd. \fromEnd is way clearer. I've added your snippet and will surely make good use of it ! Thank you very much. -- Pierre-Luc Gauthier
Re: \after … \beforeLast?
Le jeu. 2 mai 2024, à 13 h 08, Knute Snortum a écrit : > Perhaps I'm not getting the need for this command as you could using an empty > chord at the end of the repeat to do the same thing: > > { > <>(\< > \after 2 \> > \repeat unfold 8 {e''16 d''} <>)\!| > } The above example would not work if I add another note : { \repeat unfold 8 {e''16 d''} <>\f | c'1 | } The "empty chord" syntax (which probably has a name? (and is not a chord in my understanding)) pushes the expression to the next event. So maybe my example is klonky. -- Pierre-Luc Gauthier
Re: \after … \beforeLast?
Hi Pierre-Luc, Am 02.05.24 um 17:02 schrieb Pierre-Luc Gauthier: Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. { <>( <>\< \after 2 \> \after 16*15 ) \after 16*15 \! \repeat unfold 8 {e''16 d''} | } and since then I often end up doing head math to figure out what I must add to \after for it to end up e.g. an 8th *before* the end of the expression. In the above example it is quite easy : a 16th before the end is... 16*#(- 16 1). So what about a \beforeLast command that would do sort of the \after job but starting from the end of the expression rather from the start ? e.g. : \beforeLast 16 \! … \pænultimus 16 ) \preantepenultimate 16 \! ^ Both above are strictly for laughing usage (provided it could have such effect). Should I : https://gitlab.com/lilypond/lilypond/-/issues/new and flag as Enhancement ? Something like this? %%% \version "2.25.9" fromEnd = #(define-music-function (delta ev mus) (ly:duration? ly:music? ly:music?) (_i "Add music @var{ev} with a distance of @var{delta} before the end of @var{ev} is usually a post-event.") #{ \context Bottom << { \skip $(make-duration-of-length (- (ly:music-length mus) (ly:duration-length delta))) <> $ev } #mus >> #}) { <>( <>\< \after 2 \> \after 16*15 ) \fromEnd 16 \! \fromEnd 8 -> \repeat unfold 8 {e''16 d''} | } \beforeLast (in the sense of "before the last note of the given music argument") isn't likely to work though, since it's not guaranteed that the music given is SequentialMusic: What is the last note of a << >> expression? Lukas
Re: \after … \beforeLast?
On 2 May 2024, at 19:08, Knute Snortum wrote:On Thu, May 2, 2024 at 8:04 AM Pierre-Luc Gauthierwrote:Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. { <>( <>\< \after 2 \> \after 16*15 ) \after 16*15 \! \repeat unfold 8 {e''16 d''} | } and since then I often end up doing head math to figure out what I must add to \after for it to end up e.g. an 8th *before* the end of the _expression_. In the above example it is quite easy : a 16th before the end is... 16*#(- 16 1). So what about a \beforeLast command that would do sort of the \after job but starting from the end of the _expression_ rather from the start ? e.g. : \beforeLast 16 \!Perhaps I'm not getting the need for this command as you could using an empty chord at the end of the repeat to do the same thing:{ <>(\< \after 2 \> \repeat unfold 8 {e''16 d''} <>)\!|}To my understanding that would put the \! on the last unfolded d''. In my reading the intention of OP is to put the \! on the last unfolded e''Maybe there are other situations where \beforeLast would be useful? --Knute Snortum
Re: Frescobaldi... panic alternatives?
Glad to hear that the description is useful for you! I agree, the website is not great at onboarding new users... Best, Kenneth Raphael Mankin, May 02, 2024 at 20:07: > This is a much better description of Neovim than exists on any of the > Neovim web-sites. They all jump straight into detail without telling one > what the whole thing is about. I struggled to work out what Neovim is, > or why I should want to use it. > > On 02/05/2024 05:33, Kenneth Flak wrote: > > OK, giving it a shot... Feel free to edit as needed! > > > > Kenneth > > > > > > Neovim > > > > https://neovim.io > > > > Neovim is a minimal text editor and fork of vim. It is highly extensible > > and configurable through the vimscript and lua programming languages. > > Lilypond support is provided by the nvim-lilypond-suite plugin > > (https://github.com/martineausimon/nvim-lilypond-suite). The plugin > > supports playback of midi files through external programs; point-and-click > > when using a supported PDF viewer; snippets and code completion when > > combined with other plugins; in addition to the full range of tools > > available in the neovim ecosystem. For more details on how to set it up > > consult the plugin's github page. You will also want to spend some time > > with some of the numerous online tutorials for learning vim/neovim to get > > the most out of your editing experience. > > > > > > Werner LEMBERG, May 02, 2024 at 05:49: > >> > Maybe one of you two can provide some text for > > https://lilypond.org/doc/v2.24/Documentation/web/easier-editing > >>> > >>> It happens that my first contribution to the Lilypond documentation > >>> was a rewrite of the Easier Editing section, some 14 years ago or > >>> so. > >> > >> Aaah :-) > >> > >>> If either or both care to send me their thoughts and comments, I'll > >>> be glad to turn it into a patch. > >> > >> This would be great! Thanks for the offer. > >> > >> > >> Werner > > > > > > > > > > > > -- > https://saturday-october-seven.com/
Re: \after … \beforeLast?
On Thu, May 2, 2024 at 8:04 AM Pierre-Luc Gauthier wrote: > Rambling here : > > So, I *love* the simplicity and elegance of the \after command and I > am using it pretty much everywhere. > > { > <>( > <>\< > \after 2 \> > \after 16*15 ) > \after 16*15 \! > \repeat unfold 8 {e''16 d''} | > } > > and since then I often end up doing head math to figure out what I > must add to \after for it to end up e.g. an 8th *before* the end of > the expression. In the above example it is quite easy : > a 16th before the end is... 16*#(- 16 1). > > So what about a \beforeLast command that would do sort of the \after > job but starting from the end of the expression rather from the start > ? > e.g. : > \beforeLast 16 \! > Perhaps I'm not getting the need for this command as you could using an empty chord at the end of the repeat to do the same thing: { <>(\< \after 2 \> \repeat unfold 8 {e''16 d''} <>)\!| } Maybe there are other situations where \beforeLast would be useful? -- Knute Snortum
Re: Frescobaldi... panic alternatives?
This is a much better description of Neovim than exists on any of the Neovim web-sites. They all jump straight into detail without telling one what the whole thing is about. I struggled to work out what Neovim is, or why I should want to use it. On 02/05/2024 05:33, Kenneth Flak wrote: OK, giving it a shot... Feel free to edit as needed! Kenneth Neovim https://neovim.io Neovim is a minimal text editor and fork of vim. It is highly extensible and configurable through the vimscript and lua programming languages. Lilypond support is provided by the nvim-lilypond-suite plugin (https://github.com/martineausimon/nvim-lilypond-suite). The plugin supports playback of midi files through external programs; point-and-click when using a supported PDF viewer; snippets and code completion when combined with other plugins; in addition to the full range of tools available in the neovim ecosystem. For more details on how to set it up consult the plugin's github page. You will also want to spend some time with some of the numerous online tutorials for learning vim/neovim to get the most out of your editing experience. Werner LEMBERG, May 02, 2024 at 05:49: Maybe one of you two can provide some text for https://lilypond.org/doc/v2.24/Documentation/web/easier-editing It happens that my first contribution to the Lilypond documentation was a rewrite of the Easier Editing section, some 14 years ago or so. Aaah :-) If either or both care to send me their thoughts and comments, I'll be glad to turn it into a patch. This would be great! Thanks for the offer. Werner -- https://saturday-october-seven.com/
\after … \beforeLast?
Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. { <>( <>\< \after 2 \> \after 16*15 ) \after 16*15 \! \repeat unfold 8 {e''16 d''} | } and since then I often end up doing head math to figure out what I must add to \after for it to end up e.g. an 8th *before* the end of the expression. In the above example it is quite easy : a 16th before the end is... 16*#(- 16 1). So what about a \beforeLast command that would do sort of the \after job but starting from the end of the expression rather from the start ? e.g. : \beforeLast 16 \! … \pænultimus 16 ) \preantepenultimate 16 \! ^ Both above are strictly for laughing usage (provided it could have such effect). Should I : https://gitlab.com/lilypond/lilypond/-/issues/new and flag as Enhancement ? -- Pierre-Luc Gauthier
Re: slurs problem with voices
On Wed, May 1, 2024 at 10:55 PM Robert Garrigos wrote: > Oh this is a bit embarrassing, such a basic error….. sorry, I never > realized that the parenthesis needs to be right after the first note. > Nothing to be embarrassed about. It takes some getting used to. -- Knute Snortum