Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Tue, 2019-08-27 at 08:55 +0200, Lib Lists wrote: > > > > > 4. As I'm writing a manual, where each movement is a separate > > > > > exercise, I'd like at some point to batch export all the > > > > > movements as > > > > > individual files. Is it possible? > > > > > > > > Do you mean separate PDFs? > > > > > > Yes, at the moment separate PDFs, but in the future it might be > > > useful > > > to export as well as PNGs or SVGs. > > > > The following script does what you want > > > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > (let loop ((count (d-GetMovementsInScore))) > > (if (> count 0) > > (begin > > (d-GoToPosition count 1 1 1) > > (d-PrintMovement) > > (d-ExportPDF (string-append (d-GetFilename) "-Movement-" > > (number->string count) ".pdf")) > > (loop (1- count) > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > > > but if you put it in the Scheme Window and execute it what happens > > is > > that it keeps asking if you want to interrupt the typesetting of > > one > > movement to go on to the typesetting of the next, as well as > > telling > > you that your PDF has been created for each movement. > > So you need to run it non-interactively - put the script into a > > file > > say /home/rshann/Desktop/MovementPrint.scm and then run > > > > denemo -n -i "/home/rshann/Desktop/MovementPrint.scm" > > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > > > which loads my file > > > > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > > > and executes the Scheme in the script on it. (My file is > > compressed, > > hence the .gz but it doesn't need to be, any .denemo file will do.) > > Hi, if I run Denemo from the terminal I get the following error. > Also, > I tried to run the script from the Scheme Script pop-up but nothing > happened (I tried both pressing Enter and 'Execute Script', not sure > if there's a difference). Pressing Enter executes the Scheme syntax in the CLI text box (CLI = Command Line Interface, a Scheme interpreter) while Execute executes the Scheme syntax that has been put in the text window below. > > dyld: Library not loaded: /opt/local/lib/guile18/libguile.17.dylib > Referenced from: > /Applications/Denemo.app/Contents/Resources/bin/denemo > Reason: image not found > Abort trap: 6 It seems that it can't find the guile library - there is an environment variable GUILE_LOAD_PATH which may need setting - if so you could do this in a script that calls denemo... Why this should be happening I can't imagine (though I don't recall which system you are on :( ) Richard ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
> > > > 4. As I'm writing a manual, where each movement is a separate > > > > exercise, I'd like at some point to batch export all the > > > > movements as > > > > individual files. Is it possible? > > > > > > Do you mean separate PDFs? > > > > Yes, at the moment separate PDFs, but in the future it might be > > useful > > to export as well as PNGs or SVGs. > > The following script does what you want > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > (let loop ((count (d-GetMovementsInScore))) >(if (> count 0) > (begin > (d-GoToPosition count 1 1 1) > (d-PrintMovement) > (d-ExportPDF (string-append (d-GetFilename) "-Movement-" > (number->string count) ".pdf")) > (loop (1- count) > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > but if you put it in the Scheme Window and execute it what happens is > that it keeps asking if you want to interrupt the typesetting of one > movement to go on to the typesetting of the next, as well as telling > you that your PDF has been created for each movement. > So you need to run it non-interactively - put the script into a file > say /home/rshann/Desktop/MovementPrint.scm and then run > > denemo -n -i "/home/rshann/Desktop/MovementPrint.scm" > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > which loads my file > > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > and executes the Scheme in the script on it. (My file is compressed, > hence the .gz but it doesn't need to be, any .denemo file will do.) Hi, if I run Denemo from the terminal I get the following error. Also, I tried to run the script from the Scheme Script pop-up but nothing happened (I tried both pressing Enter and 'Execute Script', not sure if there's a difference). dyld: Library not loaded: /opt/local/lib/guile18/libguile.17.dylib Referenced from: /Applications/Denemo.app/Contents/Resources/bin/denemo Reason: image not found Abort trap: 6 ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Mon, 12 Aug 2019 at 21:46, Richard Shann wrote: > > On Mon, 2019-08-12 at 21:04 +0200, Lib Lists wrote: > > On Mon, 12 Aug 2019 at 18:13, Richard Shann > > wrote: > > > > > > On Mon, 2019-08-12 at 16:18 +0200, Lib Lists wrote: > > > > Hi Richard, and thank you for your quick reply! > > > > > > > > On Mon, 12 Aug 2019 at 15:52, Richard Shann > > > com> > > > > wrote: > > > > > > > > > > On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > > > > > > Hello, > > > > > > new Denemo user here, coming back to Lilypond through Denemo > > > > > > after > > > > > > many years. It is really a pleasure to do note entry in a > > > > > > visual > > > > > > editor, thank you for your efforts in developing Denemo! > > > > > > > > > > > > [...] > > > > > > > > > > > > > > > > > > > > > 2. When I select Export as -> Export selection as PNG, I get > > > > > > a > > > > > > message that my file has been created, but I cannot find it > > > > > > in > > > > > > the > > > > > > file system. > > > > > > > > > > You have to set your preference for a Image Viewer program to > > > > > something > > > > > you have in your path to view the png with. The message is > > > > > misleading - > > > > > as the help for the command says > > > > > > > > > > Command: Export Selection as PNG > > > > > Displays a musical excerpt in your image viewer > > > > > Location: Main Menu ▶ File ▶ Export As > > > > > Internal Name: PrintExcerptPreview > > > > > > > > > > so you have to have the Image Viewer in Edit->Change > > > > > Preferences- > > > > > > Externals=>Image Viewer > > > > > > > > > > set to some program actually installed on your system. > > > > > > > > > > > > > I forgot to mention that I have already tried with Preview, Mac > > > > os > > > > default image viewer > > > > (/Applications/Preview.app/Contents/MacOS/Preview) without > > > > success. > > > > > > Hmm, I don't have access to any Mac to test that. I just tested > > > giving > > > the full path to the executable (ie what you get when you do > > > > > > which Preview > > > > > > at a terminal, and that worked (this is Debian - I don't know what > > > Mac > > > O/S 10.13.6, but I presume it has a Linux kernel and Unix tools?) > > > If you execute > > > > > > Preview somefile.png > > > > > > in a terminal does it work? That is, does it take a filename on the > > > command line? > > > > Hi, writing in a terminal '/PATH/TO/Preview somefile.png' doesn't > > work. However, 'open -a /PATH/TO/Preview somefile.png' works as well > > as 'open somefile.png'. > > In that case you may be able to set the Image Viewer field to > "open" > without the quotes > and it may work. (I'm hoping there is an executable named "open" that > takes a filename as a parameter and decides what to do with it) > Hi, I tried but it doesn't work, same result as before. I tried 'open', 'open -a PATH/TO/Preview'. Here the man page for 'open' https://ss64.com/osx/open.html. In the preferences I also setup an internet browser ('PATH/TO/Safari) and I found a problem: Safari correctly opens, but the address to the file (the help file in this case) is written as: file:///file:/Applications/Denemo.app/Contents/Resources/share/denemo/manual/denemo-manual.html with the double 'file' bit at the beginning. Maybe related with the problem with Preview? > > [...] > > > > > > > > inserting it where? > > > > > > > > For example in the pop-up Note/Rests->Markings->Chord Symbols- > > > > >Edit > > > > Chord Symbols. > > > > The same behaviour happens after adding text in other (any?) pop- > > > > up > > > > dialogs > > > > and pressing OK or cancel (for example after inserting a title, > > > > adding > > > > a chord name, etc.). > > > > > > Hmm, that's what I thought you might mean - it doesn't happen for > > > me on > > > Denemo 2.3 and I just tried Denemo 2.2 on Windows and it doesn't > > > happen > > > there. I guess a workaround would be to dismiss the Print View > > > altogether and only bring it back when you have finished? > > > > Unfortunately it doesn't work. If I close the Print View (I also > > switched to Manual Updates, just in case), it returns after > > interacting with a pop-up dialog. > > How did you try to close it? The only way that will surely work is to > use the View menu - anything else depends on the what the window > manager decides to do - in this case it seems it is iconizing the > window. I just tried from the View menu (by unchecking 'Typeset Music'), but the Print View window reappears as soon as I type and confirm something in a pop-up window. Also, when I relaunch Denemo the Print View window appears, even if it was closed before closing Denemo. > > HTH Richard ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Mon, 2019-08-12 at 21:04 +0200, Lib Lists wrote: > On Mon, 12 Aug 2019 at 18:13, Richard Shann > wrote: > > > > On Mon, 2019-08-12 at 16:18 +0200, Lib Lists wrote: > > > Hi Richard, and thank you for your quick reply! > > > > > > On Mon, 12 Aug 2019 at 15:52, Richard Shann > > com> > > > wrote: > > > > > > > > On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > > > > > Hello, > > > > > new Denemo user here, coming back to Lilypond through Denemo > > > > > after > > > > > many years. It is really a pleasure to do note entry in a > > > > > visual > > > > > editor, thank you for your efforts in developing Denemo! > > > > > > > > > > [...] > > > > > > > > > > > > > > > > > 2. When I select Export as -> Export selection as PNG, I get > > > > > a > > > > > message that my file has been created, but I cannot find it > > > > > in > > > > > the > > > > > file system. > > > > > > > > You have to set your preference for a Image Viewer program to > > > > something > > > > you have in your path to view the png with. The message is > > > > misleading - > > > > as the help for the command says > > > > > > > > Command: Export Selection as PNG > > > > Displays a musical excerpt in your image viewer > > > > Location: Main Menu ▶ File ▶ Export As > > > > Internal Name: PrintExcerptPreview > > > > > > > > so you have to have the Image Viewer in Edit->Change > > > > Preferences- > > > > > Externals=>Image Viewer > > > > > > > > set to some program actually installed on your system. > > > > > > > > > > I forgot to mention that I have already tried with Preview, Mac > > > os > > > default image viewer > > > (/Applications/Preview.app/Contents/MacOS/Preview) without > > > success. > > > > Hmm, I don't have access to any Mac to test that. I just tested > > giving > > the full path to the executable (ie what you get when you do > > > > which Preview > > > > at a terminal, and that worked (this is Debian - I don't know what > > Mac > > O/S 10.13.6, but I presume it has a Linux kernel and Unix tools?) > > If you execute > > > > Preview somefile.png > > > > in a terminal does it work? That is, does it take a filename on the > > command line? > > Hi, writing in a terminal '/PATH/TO/Preview somefile.png' doesn't > work. However, 'open -a /PATH/TO/Preview somefile.png' works as well > as 'open somefile.png'. In that case you may be able to set the Image Viewer field to "open" without the quotes and it may work. (I'm hoping there is an executable named "open" that takes a filename as a parameter and decides what to do with it) > [...] > > > > > > inserting it where? > > > > > > For example in the pop-up Note/Rests->Markings->Chord Symbols- > > > >Edit > > > Chord Symbols. > > > The same behaviour happens after adding text in other (any?) pop- > > > up > > > dialogs > > > and pressing OK or cancel (for example after inserting a title, > > > adding > > > a chord name, etc.). > > > > Hmm, that's what I thought you might mean - it doesn't happen for > > me on > > Denemo 2.3 and I just tried Denemo 2.2 on Windows and it doesn't > > happen > > there. I guess a workaround would be to dismiss the Print View > > altogether and only bring it back when you have finished? > > Unfortunately it doesn't work. If I close the Print View (I also > switched to Manual Updates, just in case), it returns after > interacting with a pop-up dialog. How did you try to close it? The only way that will surely work is to use the View menu - anything else depends on the what the window manager decides to do - in this case it seems it is iconizing the window. HTH Richard ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Mon, 12 Aug 2019 at 18:13, Richard Shann wrote: > > On Mon, 2019-08-12 at 16:18 +0200, Lib Lists wrote: > > Hi Richard, and thank you for your quick reply! > > > > On Mon, 12 Aug 2019 at 15:52, Richard Shann > > wrote: > > > > > > On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > > > > Hello, > > > > new Denemo user here, coming back to Lilypond through Denemo > > > > after > > > > many years. It is really a pleasure to do note entry in a visual > > > > editor, thank you for your efforts in developing Denemo! > > > > > > > > Few questions, using Denemo 2.2.0 on Mac Os 10.13.6. > > > > > > > > 1. Despite my attempts, I cannot find a way to create cross-staff > > > > beaming in a piano staff. I understand it is possible in Denemo, > > > > but > > > > I cannot find the right command. > > > > > > Cross staff beaming is created automatically by LilyPond when you > > > cause > > > a voice to change staff, so the command you want is: > > > > > > Staffs/Voices->Change Staff > > > > Great, works perfectly! > > > > > > > > > > > > > 2. When I select Export as -> Export selection as PNG, I get a > > > > message that my file has been created, but I cannot find it in > > > > the > > > > file system. > > > > > > You have to set your preference for a Image Viewer program to > > > something > > > you have in your path to view the png with. The message is > > > misleading - > > > as the help for the command says > > > > > > Command: Export Selection as PNG > > > Displays a musical excerpt in your image viewer > > > Location: Main Menu ▶ File ▶ Export As > > > Internal Name: PrintExcerptPreview > > > > > > so you have to have the Image Viewer in Edit->Change Preferences- > > > > Externals=>Image Viewer > > > > > > set to some program actually installed on your system. > > > > > > > I forgot to mention that I have already tried with Preview, Mac os > > default image viewer > > (/Applications/Preview.app/Contents/MacOS/Preview) without success. > > Hmm, I don't have access to any Mac to test that. I just tested giving > the full path to the executable (ie what you get when you do > > which Preview > > at a terminal, and that worked (this is Debian - I don't know what Mac > O/S 10.13.6, but I presume it has a Linux kernel and Unix tools?) > If you execute > > Preview somefile.png > > in a terminal does it work? That is, does it take a filename on the > command line? Hi, writing in a terminal '/PATH/TO/Preview somefile.png' doesn't work. However, 'open -a /PATH/TO/Preview somefile.png' works as well as 'open somefile.png'. > > > > > > > > > > > > > > 3. Is it possible to create feathered beams as > > > > in http://lilypond.org/doc/v2.19/Documentation/notation/beams#fea > > > > ther > > > > ed-beams? Maybe with a custom command? > > > > > > yes, I just tried it. I put in some 1/16th notes and then chose > > > Directives->Insert LilyPond > > > and pasted an example from the section you mentioned > > > > > > \override Beam.grow-direction = #LEFT > > > \featherDurations #(ly:make-moment 2/1) > > > > > > (well, this is LilyPond 2.18 docs actually) > > > and it feathered the following beam. > > > You could then take that Denemo Directive and > > > 1) create a snippet from it, or > > > 2) create a palette button that inserts it or > > > 3) create a command that inserts it. > > > > > > for 1) see View->Snippets > > > for 2) right click on the directive and choose "Create Button for > > > Clone" > > > for 3), well having created a palette button you could right click > > > the > > > palette button and choose "Get Script into Scheme Window" and then > > > at a > > > suitable point in the Beams menu right click and choose "Save > > > Script as > > > New Menu Item" and follow the prompts to create a new command that > > > inserts that Denemo Directive. > > > > Great, thanks for the detailed instructions! I'll give it a try. > > > > > > > > > > > > > > > > 4. As I'm writing a manual, where each movement is a separate > > > > exercise, I'd like at some point to batch export all the > > > > movements as > > > > individual files. Is it possible? > > > > > > Do you mean separate PDFs? > > > > Yes, at the moment separate PDFs, but in the future it might be > > useful > > to export as well as PNGs or SVGs. > > The following script does what you want > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > (let loop ((count (d-GetMovementsInScore))) >(if (> count 0) > (begin > (d-GoToPosition count 1 1 1) > (d-PrintMovement) > (d-ExportPDF (string-append (d-GetFilename) "-Movement-" > (number->string count) ".pdf")) > (loop (1- count) > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > but if you put it in the Scheme Window and execute it what happens is > that it keeps asking if you want to interrupt the typesetting of one > movement to go on to the typesetting of the next, as well as telling > you that your PDF has been created for each movement. > So you need t
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Mon, 2019-08-12 at 16:18 +0200, Lib Lists wrote: > Hi Richard, and thank you for your quick reply! > > On Mon, 12 Aug 2019 at 15:52, Richard Shann > wrote: > > > > On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > > > Hello, > > > new Denemo user here, coming back to Lilypond through Denemo > > > after > > > many years. It is really a pleasure to do note entry in a visual > > > editor, thank you for your efforts in developing Denemo! > > > > > > Few questions, using Denemo 2.2.0 on Mac Os 10.13.6. > > > > > > 1. Despite my attempts, I cannot find a way to create cross-staff > > > beaming in a piano staff. I understand it is possible in Denemo, > > > but > > > I cannot find the right command. > > > > Cross staff beaming is created automatically by LilyPond when you > > cause > > a voice to change staff, so the command you want is: > > > > Staffs/Voices->Change Staff > > Great, works perfectly! > > > > > > > > > 2. When I select Export as -> Export selection as PNG, I get a > > > message that my file has been created, but I cannot find it in > > > the > > > file system. > > > > You have to set your preference for a Image Viewer program to > > something > > you have in your path to view the png with. The message is > > misleading - > > as the help for the command says > > > > Command: Export Selection as PNG > > Displays a musical excerpt in your image viewer > > Location: Main Menu ▶ File ▶ Export As > > Internal Name: PrintExcerptPreview > > > > so you have to have the Image Viewer in Edit->Change Preferences- > > > Externals=>Image Viewer > > > > set to some program actually installed on your system. > > > > I forgot to mention that I have already tried with Preview, Mac os > default image viewer > (/Applications/Preview.app/Contents/MacOS/Preview) without success. Hmm, I don't have access to any Mac to test that. I just tested giving the full path to the executable (ie what you get when you do which Preview at a terminal, and that worked (this is Debian - I don't know what Mac O/S 10.13.6, but I presume it has a Linux kernel and Unix tools?) If you execute Preview somefile.png in a terminal does it work? That is, does it take a filename on the command line? > > > > > > > > > 3. Is it possible to create feathered beams as > > > in http://lilypond.org/doc/v2.19/Documentation/notation/beams#fea > > > ther > > > ed-beams? Maybe with a custom command? > > > > yes, I just tried it. I put in some 1/16th notes and then chose > > Directives->Insert LilyPond > > and pasted an example from the section you mentioned > > > > \override Beam.grow-direction = #LEFT > > \featherDurations #(ly:make-moment 2/1) > > > > (well, this is LilyPond 2.18 docs actually) > > and it feathered the following beam. > > You could then take that Denemo Directive and > > 1) create a snippet from it, or > > 2) create a palette button that inserts it or > > 3) create a command that inserts it. > > > > for 1) see View->Snippets > > for 2) right click on the directive and choose "Create Button for > > Clone" > > for 3), well having created a palette button you could right click > > the > > palette button and choose "Get Script into Scheme Window" and then > > at a > > suitable point in the Beams menu right click and choose "Save > > Script as > > New Menu Item" and follow the prompts to create a new command that > > inserts that Denemo Directive. > > Great, thanks for the detailed instructions! I'll give it a try. > > > > > > > > > > > 4. As I'm writing a manual, where each movement is a separate > > > exercise, I'd like at some point to batch export all the > > > movements as > > > individual files. Is it possible? > > > > Do you mean separate PDFs? > > Yes, at the moment separate PDFs, but in the future it might be > useful > to export as well as PNGs or SVGs. The following script does what you want 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< (let loop ((count (d-GetMovementsInScore))) (if (> count 0) (begin (d-GoToPosition count 1 1 1) (d-PrintMovement) (d-ExportPDF (string-append (d-GetFilename) "-Movement-" (number->string count) ".pdf")) (loop (1- count) 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< but if you put it in the Scheme Window and execute it what happens is that it keeps asking if you want to interrupt the typesetting of one movement to go on to the typesetting of the next, as well as telling you that your PDF has been created for each movement. So you need to run it non-interactively - put the script into a file say /home/rshann/Desktop/MovementPrint.scm and then run denemo -n -i "/home/rshann/Desktop/MovementPrint.scm" /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz which loads my file /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz and executes the Scheme in the script on it. (My file is compressed, hence the .gz but it doesn't need to be, any .denemo file will do.) There should be a
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
Hi Richard, and thank you for your quick reply! On Mon, 12 Aug 2019 at 15:52, Richard Shann wrote: > > On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > > Hello, > > new Denemo user here, coming back to Lilypond through Denemo after > > many years. It is really a pleasure to do note entry in a visual > > editor, thank you for your efforts in developing Denemo! > > > > Few questions, using Denemo 2.2.0 on Mac Os 10.13.6. > > > > 1. Despite my attempts, I cannot find a way to create cross-staff > > beaming in a piano staff. I understand it is possible in Denemo, but > > I cannot find the right command. > > Cross staff beaming is created automatically by LilyPond when you cause > a voice to change staff, so the command you want is: > > Staffs/Voices->Change Staff Great, works perfectly! > > > > > 2. When I select Export as -> Export selection as PNG, I get a > > message that my file has been created, but I cannot find it in the > > file system. > > You have to set your preference for a Image Viewer program to something > you have in your path to view the png with. The message is misleading - > as the help for the command says > > Command: Export Selection as PNG > Displays a musical excerpt in your image viewer > Location: Main Menu ▶ File ▶ Export As > Internal Name: PrintExcerptPreview > > so you have to have the Image Viewer in Edit->Change Preferences- > >Externals=>Image Viewer > set to some program actually installed on your system. > I forgot to mention that I have already tried with Preview, Mac os default image viewer (/Applications/Preview.app/Contents/MacOS/Preview) without success. > > > > > 3. Is it possible to create feathered beams as > > in http://lilypond.org/doc/v2.19/Documentation/notation/beams#feather > > ed-beams? Maybe with a custom command? > > yes, I just tried it. I put in some 1/16th notes and then chose > Directives->Insert LilyPond > and pasted an example from the section you mentioned > > \override Beam.grow-direction = #LEFT > \featherDurations #(ly:make-moment 2/1) > > (well, this is LilyPond 2.18 docs actually) > and it feathered the following beam. > You could then take that Denemo Directive and > 1) create a snippet from it, or > 2) create a palette button that inserts it or > 3) create a command that inserts it. > > for 1) see View->Snippets > for 2) right click on the directive and choose "Create Button for > Clone" > for 3), well having created a palette button you could right click the > palette button and choose "Get Script into Scheme Window" and then at a > suitable point in the Beams menu right click and choose "Save Script as > New Menu Item" and follow the prompts to create a new command that > inserts that Denemo Directive. Great, thanks for the detailed instructions! I'll give it a try. > > > > > > 4. As I'm writing a manual, where each movement is a separate > > exercise, I'd like at some point to batch export all the movements as > > individual files. Is it possible? > > Do you mean separate PDFs? Yes, at the moment separate PDFs, but in the future it might be useful to export as well as PNGs or SVGs. > > > > > > > 5. Last question (for now!), after inserting some text and pressing > > enter, > > inserting it where? For example in the pop-up Note/Rests->Markings->Chord Symbols->Edit Chord Symbols. The same behaviour happens after adding text in other (any?) pop-up dialogs and pressing OK or cancel (for example after inserting a title, adding a chord name, etc.). Cheers, Lib > > HTH > > Richard > ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
On Mon, 2019-08-12 at 14:21 +0200, Lib Lists wrote: > Hello, > new Denemo user here, coming back to Lilypond through Denemo after > many years. It is really a pleasure to do note entry in a visual > editor, thank you for your efforts in developing Denemo! > > Few questions, using Denemo 2.2.0 on Mac Os 10.13.6. > > 1. Despite my attempts, I cannot find a way to create cross-staff > beaming in a piano staff. I understand it is possible in Denemo, but > I cannot find the right command. Cross staff beaming is created automatically by LilyPond when you cause a voice to change staff, so the command you want is: Staffs/Voices->Change Staff > > 2. When I select Export as -> Export selection as PNG, I get a > message that my file has been created, but I cannot find it in the > file system. You have to set your preference for a Image Viewer program to something you have in your path to view the png with. The message is misleading - as the help for the command says Command: Export Selection as PNG Displays a musical excerpt in your image viewer Location: Main Menu ▶ File ▶ Export As Internal Name: PrintExcerptPreview so you have to have the Image Viewer in Edit->Change Preferences- >Externals=>Image Viewer set to some program actually installed on your system. > > 3. Is it possible to create feathered beams as > in http://lilypond.org/doc/v2.19/Documentation/notation/beams#feather > ed-beams? Maybe with a custom command? yes, I just tried it. I put in some 1/16th notes and then chose Directives->Insert LilyPond and pasted an example from the section you mentioned \override Beam.grow-direction = #LEFT \featherDurations #(ly:make-moment 2/1) (well, this is LilyPond 2.18 docs actually) and it feathered the following beam. You could then take that Denemo Directive and 1) create a snippet from it, or 2) create a palette button that inserts it or 3) create a command that inserts it. for 1) see View->Snippets for 2) right click on the directive and choose "Create Button for Clone" for 3), well having created a palette button you could right click the palette button and choose "Get Script into Scheme Window" and then at a suitable point in the Beams menu right click and choose "Save Script as New Menu Item" and follow the prompts to create a new command that inserts that Denemo Directive. > > 4. As I'm writing a manual, where each movement is a separate > exercise, I'd like at some point to batch export all the movements as > individual files. Is it possible? Do you mean separate PDFs? > > 5. Last question (for now!), after inserting some text and pressing > enter, inserting it where? HTH Richard ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel
[Denemo-devel] Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour)
Hello, new Denemo user here, coming back to Lilypond through Denemo after many years. It is really a pleasure to do note entry in a visual editor, thank you for your efforts in developing Denemo! Few questions, using Denemo 2.2.0 on Mac Os 10.13.6. 1. Despite my attempts, I cannot find a way to create cross-staff beaming in a piano staff. I understand it is possible in Denemo, but I cannot find the right command. 2. When I select Export as -> Export selection as PNG, I get a message that my file has been created, but I cannot find it in the file system. 3. Is it possible to create feathered beams as in http://lilypond.org/doc/v2.19/Documentation/notation/beams#feathered-beams? Maybe with a custom command? 4. As I'm writing a manual, where each movement is a separate exercise, I'd like at some point to batch export all the movements as individual files. Is it possible? 5. Last question (for now!), after inserting some text and pressing enter, for example when typing a chord symbol name, the Denemo Print View gets selected, requiring a mouse click to select the editing window back. Is this a behaviour that can be modified? Ideally I'd like to see the Print View updated without having to reselect the editing window. Thank you so much in advance for your help, best regards Lib ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel