Re: Stem spacing with change staff
2013/6/6 Andrew Bernard : > Thanks, that works - but has the unfortunate side effect of spacing the rest > of the score far too wide. Is there a way you can adjust proportional > spacing for a single bar? I think that \newSpacingSection can help you. hth, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Discuss signature for new function \annotate
Hi, I want to develop a 'lilypond-doc' package that can be used to a) document the API of a project or a library and b) document the musical content of lilypond scores. You can see an overview of its goals on https://github.com/openlilylib/lilypond-doc/wiki I urgently need at least the function signature of the core function of b) in order to be able to use it in an existing score, even when I haven't implemented the functionality yet. As I think this can become a valuable extension and I'd like to see it in LilyPond proper one day I'd like to discuss it on this list before actually starting to work. On https://github.com/openlilylib/lilypond-doc/wiki/Documenting-musical-content you'll find a quite detailed description what I think the function should look like, attached you'll find an example file showing how I'd use it in a score. I'm interested in - general thoughts on the signature design (as I still lack experience with Scheme functions) - more or different use cases, especially if they'd suggest changes in the signature design Best Urs % Test file to develop the interface to \annotate % See https://github.com/openlilylib/lilypond-doc/wiki/Documenting-musical-content for discussion \version "2.17.18" % Plain signature of the function draft annotate = #(define-void-function (parser location grob type properties annotation) (string? string? list? string?) ) \relative ges, { \key ges \major \clef bass \time 3/4 \repeat tremolo 24 ges32-> -\markup { \dynamic "sfz" } \p \< | \annotate Script "critremark" #'(("voice" . "vc1") ("source" . "Ms. 2") ("author" . "Urs Liska") ("date" . "2013-06-06")) "Tenuto added as in Vc. 2" ges4-- \p r r | r4 r \annotate Hairpin "engraving" #'(("voice" . "vc1")) "Hairpin is too short (smashed)!" f'( \( \p \< | \annotate Hairpin "followup" #'(("author" . "John Doe") ("date" . "May")) "I will take care of that ASAP" ges2.)~ \! | ges4\> f e | f2.~ \p | f2 es4 | d2. \)| } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Urs Liska writes: > I'm interested in > - general thoughts on the signature design (as I still lack experience > with Scheme functions) > % Plain signature of the function draft > annotate = > #(define-void-function (parser location grob type properties annotation) >(string? string? list? string?) >) > > \relative ges, { > \key ges \major > \clef bass > \time 3/4 > > \repeat tremolo 24 ges32-> -\markup { \dynamic "sfz" } \p \< | > \annotate Script "critremark" > #'(("voice" . "vc1") > ("source" . "Ms. 2") > ("author" . "Urs Liska") > ("date" . "2013-06-06")) > "Tenuto added as in Vc. 2" If your first argument is something like Script, you might want to make it of type symbol? instead. I actually have a syntax sanitizing patch in limbo where unquoted words are not accepted as strings. It is not going to make it into 2.18, but I don't promise I won't push it at some later point of time. It is probably worth considering to make properties of type context-mod? (potentially optional), then you can write the argument as \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } Of course, you might get unsets and overrides and reverts slipped in which you would want to weed out again, but list? is also prone to permitting a lot that you don't want to see. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and Debian derived systems such as Ubuntu and Mint. As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. Andrew On 6/06/13 4:10 PM, David Kastrup wrote: Tim McNamara writes: Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. sudo apt-get install frescobaldi installs the binary packages. sudo apt-get build-dep frescobaldi installs all required dependencies for compiling yourself. It is rather easy with a package manager to get the dependencies under wrap. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Hi David, thanks for your comments! Am 06.06.2013 12:22, schrieb David Kastrup: Urs Liska writes: I'm interested in - general thoughts on the signature design (as I still lack experience with Scheme functions) % Plain signature of the function draft annotate = #(define-void-function (parser location grob type properties annotation) (string? string? list? string?) ) \relative ges, { \key ges \major \clef bass \time 3/4 \repeat tremolo 24 ges32-> -\markup { \dynamic "sfz" } \p \< | \annotate Script "critremark" #'(("voice" . "vc1") ("source" . "Ms. 2") ("author" . "Urs Liska") ("date" . "2013-06-06")) "Tenuto added as in Vc. 2" If your first argument is something like Script, you might want to make it of type symbol? instead. I actually have a syntax sanitizing patch in limbo where unquoted words are not accepted as strings. It is not going to make it into 2.18, but I don't promise I won't push it at some later point of time. What type is the 'grob' argument of \shape? And: with \shape the order of arguments was reversed for syntactical reasons (that I didn't really understand). I would also like to \annotate e.g. individual notes from chords etc. So what would I have to take care of? It is probably worth considering to make properties of type context-mod? (potentially optional), then you can write the argument as \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } That looks very good. How would the values then be accessed? Are they simple variables inside the function? Or does that also create an alist internally Of course, you might get unsets and overrides and reverts slipped in which you would want to weed out again, but list? is also prone to permitting a lot that you don't want to see. Sure. I'd have to iterate over the alist and ignore all keys I can't handle. But how would that be with a context-mod? Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Urs Liska writes: > Am 06.06.2013 12:22, schrieb David Kastrup: > >> If your first argument is something like Script, you might want to make >> it of type symbol? instead. I actually have a syntax sanitizing patch >> in limbo where unquoted words are not accepted as strings. It is not >> going to make it into 2.18, but I don't promise I won't push it at some >> later point of time. > What type is the 'grob' argument of \shape? http://lilypond.org/doc/v2.17/Documentation/notation/available-music-functions#index-shape-1> shape [music] - offsets (list) item (symbol list or music) Offset control-points of item by offsets. The argument is a list of number pairs or list of such lists. Each element of a pair represents an offset to one of the coordinates of a control-point. If item is a string, the result is \once\override for the specified grob type. If item is a music expression, the result is the same music expression with an appropriate tweak applied. The documentation string states "If item is a string", but that's actually inaccurate and would warrant fixing. > And: with \shape the order of arguments was reversed for syntactical > reasons (that I didn't really understand). When commands with arguments are used as tweaks on a music expression, multiple such commands combine quite awfully when the music expression is not consistently the last argument. > I would also like to \annotate e.g. individual notes from chords > etc. So what would I have to take care of? Putting an "item" of type symbol-list-or-music? last seems like a reasonably good idea. >> It is probably worth considering to make properties of type context-mod? >> (potentially optional), then you can write the argument as >> >> \with { >> voice = "vc1" >> source = "Ms. 2" >> author = "Urs Liska" >> date = "2013-06-06" >> } > That looks very good. How would the values then be accessed? Are they > simple variables inside the function? Or does that also create an > alist internally Lists. dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 2.17.20 Processing `/usr/local/share/lilypond/2.17.20/ly/scheme-sandbox.ly' Parsing... guile> (ly:get-context-mods #{ \with { voice = "vc1" source = "Ms. 2" } #}) ((assign voice "vc1") (assign source "Ms. 2")) guile> >> Of course, you might get unsets and overrides and reverts slipped in >> which you would want to weed out again, but list? is also prone to >> permitting a lot that you don't want to see. > Sure. I'd have to iterate over the alist and ignore all keys I can't > handle. But how would that be with a context-mod? guile> (ly:get-context-mods #{ \with { \unset voice \override Beam.stencil = ##f} #}) ((unset voice) (push Beam #f stencil)) -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem spacing with change staff
Janek Warchoł-2 wrote > 2013/6/6 Andrew Bernard < > andrew.bernard@ > >: >> Thanks, that works - but has the unfortunate side effect of spacing the >> rest >> of the score far too wide. Is there a way you can adjust proportional >> spacing for a single bar? > > I think that \newSpacingSection can help you. I don't think you even need that: resetting or unsetting the proportionalNotationDuration \unset Score.proportionalNotationDuration should just do it! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Stem-spacing-with-change-staff-tp146702p146764.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Am 06.06.2013 13:35, schrieb David Kastrup: Urs Liska writes: Am 06.06.2013 12:22, schrieb David Kastrup: If your first argument is something like Script, you might want to make it of type symbol? instead. I actually have a syntax sanitizing patch in limbo where unquoted words are not accepted as strings. It is not going to make it into 2.18, but I don't promise I won't push it at some later point of time. What type is the 'grob' argument of \shape? http://lilypond.org/doc/v2.17/Documentation/notation/available-music-functions#index-shape-1> shape [music] - offsets (list) item (symbol list or music) Offset control-points of item by offsets. The argument is a list of number pairs or list of such lists. Each element of a pair represents an offset to one of the coordinates of a control-point. If item is a string, the result is \once\override for the specified grob type. If item is a music expression, the result is the same music expression with an appropriate tweak applied. The documentation string states "If item is a string", but that's actually inaccurate and would warrant fixing. And: with \shape the order of arguments was reversed for syntactical reasons (that I didn't really understand). When commands with arguments are used as tweaks on a music expression, multiple such commands combine quite awfully when the music expression is not consistently the last argument. I would also like to \annotate e.g. individual notes from chords etc. So what would I have to take care of? Putting an "item" of type symbol-list-or-music? last seems like a reasonably good idea. Hm, I think I see what you mean, but if I write annotate = #(define-void-function (parser location type properties annotation item) (string? list? string? symbol-list-or-music?)) \relative g' { \annotate "critremark" #'() "Tenuto added as in Vc. 2" Script g1-- } I get an error "Zu viel Vorgriff" (too much read-ahead?). If I replace 'Script' with '{ c }' for example it compiles without message. ??? It is probably worth considering to make properties of type context-mod? (potentially optional), then you can write the argument as \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } That looks very good. How would the values then be accessed? Are they simple variables inside the function? Or does that also create an alist internally Obviously I'm missing that extra bit outside your quote. annotate = #(define-void-function (parser location type properties annotation item) (string? context-mod? string? symbol-list-or-music?)) \relative g' { \annotate "critremark" \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } "Tenuto added as in Vc. 2" { c } g1-- } gives me loads of errors about not being in lyricmode ... Lists. dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 2.17.20 Processing `/usr/local/share/lilypond/2.17.20/ly/scheme-sandbox.ly' Parsing... guile> (ly:get-context-mods #{ \with { voice = "vc1" source = "Ms. 2" } #}) ((assign voice "vc1") (assign source "Ms. 2")) guile> Of course, you might get unsets and overrides and reverts slipped in which you would want to weed out again, but list? is also prone to permitting a lot that you don't want to see. Sure. I'd have to iterate over the alist and ignore all keys I can't handle. But how would that be with a context-mod? guile> (ly:get-context-mods #{ \with { \unset voice \override Beam.stencil = ##f} #}) ((unset voice) (push Beam #f stencil)) Thanks for these Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Urs Liska writes: > Am 06.06.2013 13:35, schrieb David Kastrup: >> Putting an "item" of type symbol-list-or-music? last seems like a >> reasonably good idea. > Hm, I think I see what you mean, > but if I write > > annotate = > > #(define-void-function (parser location type properties annotation item) > >(string? list? string? symbol-list-or-music?)) > > \relative g' { > > \annotate > > "critremark" > > #'() > > "Tenuto added as in Vc. 2" > > Script > > g1-- > > } > > > I get an error "Zu viel Vorgriff" (too much read-ahead?). > If I replace 'Script' with '{ c }' for example it compiles without message. > ??? And if you do annotate = #(define-music-function (parser location type properties annotation item) (string? list? string? symbol-list-or-music?) #{ #}) it also compiles fine (which explains why \shape does not blow up around our ears). Looks like I have something more to fix in the parser... It is probably worth considering to make properties of type context-mod? (potentially optional), then you can write the argument as \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } >>> That looks very good. How would the values then be accessed? Are they >>> simple variables inside the function? Or does that also create an >>> alist internally > Obviously I'm missing that extra bit outside your quote. > > annotate = > > #(define-void-function (parser location type properties annotation item) > >(string? context-mod? string? symbol-list-or-music?)) You mean ly:context-mod? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
David Kastrup writes: > Urs Liska writes: > >> I get an error "Zu viel Vorgriff" (too much read-ahead?). >> If I replace 'Script' with '{ c }' for example it compiles without message. >> ??? > > And if you do > > annotate = > #(define-music-function (parser location type properties annotation item) > >(string? list? string? symbol-list-or-music?) #{ #}) > > it also compiles fine (which explains why \shape does not blow up around > our ears). > > Looks like I have something more to fix in the parser... http://code.google.com/p/lilypond/issues/detail?id=3401> That's why we need more exposure for the current development versions supposed to lead to release candidates. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 5, 2013, at 11:59 PM, flup2 wrote: > Hello, > > While reading your error message, it seems that the python version used is > the one included in OS X (/Library/Frameworks...), not the one installed by > macports (/opt/local...) > > To be sure that the problem lies there, here are a few steps: > > sudo port select --set python python27 > > Another way to force the command to use the "macport installed python > version", is to run python with its full path. You should then have: > > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 > setup.py build > > sudo > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 > setup.py install Thank you, that seemed to work much better. During the build process there were deprecation warnings and complaints: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py build running build running build_ext building 'popplerqt4' extension /opt/local/bin/sip-2.7 -I /opt/local/share/py27-sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.6-x86_64-2.7 -b build/temp.macosx-10.6-x86_64-2.7/poppler-qt4.sbf -I /opt/local/share/py27-sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3 -g poppler-qt4.sip sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be specified using the 'version' argument sip: Deprecation warning: poppler-annotation.sip:378: %GetCode should be used a sub-directive sip: Deprecation warning: poppler-annotation.sip:378: %SetCode should be used a sub-directive creating build/temp.macosx-10.6-x86_64-2.7/build creating build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7 /usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui -I/opt/local/include/QtXml -I/opt/local/include/poppler/qt4 -I/opt/local/include/poppler -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.cpp -o build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ I have no idea whether this is significant. The build process seemed to complete and installing seemed to work fine: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install running install running build running build_ext running install_lib copying build/lib.macosx-10.6-x86_64-2.7/popplerqt4.so -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages running install_egg_info Writing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_poppler_qt4-0.16.3-py2.7.egg-info On launching Frescobaldi it again complains that it cannot load the popplerqt4 module. I'll spend some times chasing this down tomorrow or on the weekend. I suppose this is progress but it's hard to tell. Tim ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 6, 2013, at 5:35 AM, Andrew Bernard wrote: > Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and > Debian derived systems such as Ubuntu and Mint. > > As a result of this thread, I have decided the need is there for a macports > bundle for frescobaldi, one that includes all the dependencies with no > headaches. This seems to be what people want, short of a Mac GUI installed. > I'll start in on that project tomorrow. Well, at least the less competent like me would greatly appreciate this! I vaguely recall using apt back in my NetBSD experimentation many years ago. MacPorts seems to be the more commonly used tool for installing Unix/Linux software and does not use apt. The Fink project does use apt and dpkg; I had used Fink for a while years ago and now cannot remember why I switched to MacPorts. As I recall, both create their own file system at the root level (/opt in the case of MacPorts, something else in the case of Fink) rather than writing into /usr/local in order to make removal very simple- just delete the application and the /opt directory and it's gone. BTW, the end result appears very Mac-GUI-like already, except that the Application menu within the app is titled Python instead of Frescobaldi. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
David Kastrup writes: > Urs Liska writes: > >> Am 06.06.2013 13:35, schrieb David Kastrup: > >>> Putting an "item" of type symbol-list-or-music? last seems like a >>> reasonably good idea. >> Hm, I think I see what you mean, >> but if I write >> >> annotate = >> >> #(define-void-function (parser location type properties annotation item) >> >>(string? list? string? symbol-list-or-music?)) >> I get an error "Zu viel Vorgriff" (too much read-ahead?). >> If I replace 'Script' with '{ c }' for example it compiles without message. >> ??? > > And if you do > > annotate = > #(define-music-function (parser location type properties annotation item) > >(string? list? string? symbol-list-or-music?) #{ #}) > > it also compiles fine (which explains why \shape does not blow up around > our ears). > > Looks like I have something more to fix in the parser... Stupid question: independent of me fixing this, wouldn't your function actually be supposed to return some music expression anyway? If so, using a music function defined as #{ #} for the testing phase should be sufficient for avoiding this parser problem. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Am 06.06.2013 14:16, schrieb David Kastrup: Putting an "item" of type symbol-list-or-music? last seems like a reasonably good idea. Hm, I think I see what you mean, but if I write annotate = #(define-void-function (parser location type properties annotation item) (string? list? string? symbol-list-or-music?)) \relative g' { \annotate "critremark" #'() "Tenuto added as in Vc. 2" Script g1-- } I get an error "Zu viel Vorgriff" (too much read-ahead?). If I replace 'Script' with '{ c }' for example it compiles without message. ??? And if you do annotate = #(define-music-function (parser location type properties annotation item) (string? list? string? symbol-list-or-music?) #{ #}) it also compiles fine (which explains why \shape does not blow up around our ears). Looks like I have something more to fix in the parser... Sorry, I don't quite get what this actually means or implies. Can't I use that signature? Or can't I use it for now? Should I think about something different? When I replace symbol-list-or-music? with symbol? as the last parameter it compiles fine with 'Script' for example. So I could use that for now and only use it for grobs (and not as a postfix tweak) (?). Am 06.06.2013 15:34, schrieb David Kastrup: Stupid question: independent of me fixing this, wouldn't your function actually be supposed to return some music expression anyway? If so, using a music function defined as #{ #} for the testing phase should be sufficient for avoiding this parser problem. Well, that's not stupid, but essential. My function may or may not return a music expression depending on some flags. So I'll have to write a music function that eventually returns an empty music expression, isn't it? That seems to work. (for now, as usual ...) It is probably worth considering to make properties of type context-mod? (potentially optional), then you can write the argument as \with { voice = "vc1" source = "Ms. 2" author = "Urs Liska" date = "2013-06-06" } That looks very good. How would the values then be accessed? Are they simple variables inside the function? Or does that also create an alist internally Obviously I'm missing that extra bit outside your quote. annotate = #(define-void-function (parser location type properties annotation item) (string? context-mod? string? symbol-list-or-music?)) You mean ly:context-mod? Yes, that's it. As said that missing extra bit I didn't get from your suggestion. Now it works ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Very easy to follow instructions! It took HOURS to download and install, but in the end, it seems to be working and looks stellar. Tim makes a good point that the application name IS titled Python, and it would be the icing on the cake to have it titled Frescobaldi instead. Hopefully this would be a trivial fix. :-) Thank you so much for making this. Note to every else: I have had VERY GOOD SUCCESS using Textmate 2.0 (free) on the Mac for syntax highlighting and invoking the engraver for LilyPond files. It will be nice to have something else to try against it though. --NW On Jun 6, 2013, at 7:26 AM, Tim McNamara wrote: > On Jun 6, 2013, at 5:35 AM, Andrew Bernard wrote: >> Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and >> Debian derived systems such as Ubuntu and Mint. >> >> As a result of this thread, I have decided the need is there for a macports >> bundle for frescobaldi, one that includes all the dependencies with no >> headaches. This seems to be what people want, short of a Mac GUI installed. >> I'll start in on that project tomorrow. > > Well, at least the less competent like me would greatly appreciate this! > > I vaguely recall using apt back in my NetBSD experimentation many years ago. > MacPorts seems to be the more commonly used tool for installing Unix/Linux > software and does not use apt. The Fink project does use apt and dpkg; I had > used Fink for a while years ago and now cannot remember why I switched to > MacPorts. As I recall, both create their own file system at the root level > (/opt in the case of MacPorts, something else in the case of Fink) rather > than writing into /usr/local in order to make removal very simple- just > delete the application and the /opt directory and it's gone. > > BTW, the end result appears very Mac-GUI-like already, except that the > Application menu within the app is titled Python instead of Frescobaldi. > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Discuss signature for new function \annotate
Urs Liska writes: > When I replace symbol-list-or-music? with symbol? as the last > parameter it compiles fine with 'Script' for example. > So I could use that for now and only use it for grobs (and not as a > postfix tweak) (?). symbol-or-music? would likely work as well. You just can't write something like Staff.Script then. > Am 06.06.2013 15:34, schrieb David Kastrup: >> Stupid question: independent of me fixing this, wouldn't your function >> actually be supposed to return some music expression anyway? If so, >> using a music function defined as #{ #} for the testing phase should be >> sufficient for avoiding this parser problem. > Well, that's not stupid, but essential. > My function may or may not return a music expression depending on some > flags. So I'll have to write a music function that eventually returns > an empty music expression, isn't it? Possibly. Pretty much all of the symbol-list-or-music? signature functions return either an override (which is a music expression) or a tweaked music expression (which obviously also is a music expression). So there is no conflict of return type. But returning a void music expression should also be fine. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Andrew Bernard wrote > As a result of this thread, I have decided the need is there for a > macports bundle for frescobaldi, one that includes all the dependencies > with no headaches. This seems to be what people want, short of a Mac GUI > installed. I'll start in on that project tomorrow. This would be fantastic! Very much needed. Thanks for working on it. -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146774.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Op 06-06-13 12:35, Andrew Bernard schreef: As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. That'd be great! Like I wrote earlier: I built such an installer for Windows (because I have Windows on my small laptop, besides Linux) using cx_Freeze. The script is freeze.py. You could look at the setup scripts for other PyQt4 apps that include a Mac OS X installer with all dependencies contained, e.g. by searching GitHub for 'py2app' in code, etc. If you could create build script that builds an installer, it can simply be run to create a Mac OS installer for every release. I'd be happy to have it in the download section then! Thanks for all the efforts! Best wishes, Wilbert (Fresc. dev). -- Wilbert Berendsen http://www.wilbertberendsen.nl/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Removing fingerings from the general score
Hello, In order to display oboe fingerings, I define: myFingeringFourche = ^"F" myFingeringBis = ^"2" in my standard library file, which is included in the oboe part file: \repeat volta 2 { \barNumberCheck #1 r2 r8 f8\myFingeringFourche (c d |%2 Then I override these macros in the general score file with: myFingeringFourche = ^"" myFingeringBis = ^"" which is a bit ugly. Is there a cleaner, more "Lilypond in spirit" way to achieve this? Thanks! -- Jacques Menu Ch. de la Pierre 12 1023 Crissier mailto:jacques.m...@tvtmail.ch ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing fingerings from the general score
2013/6/6 Jacques Menu > > Is there a cleaner, more "Lilypond in spirit" way to achieve this? > > > Hi Jacques, You can use the "Tag" function : http://www.lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags with something like : music = { \repeat volta 2 { \barNumberCheck #1 \tag #'oboe { r2 r8 f8\myFingeringFourche (c d | } \tag #'general { r2 r8 f8 (c d | } } } \score { \keepWithTag #'oboe \music } \score { \keepWithTag #'general \music } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing fingerings from the general score
Hi Jacques, I use tags as follows: %(definitions from my standard include-file) % Some easy clarinet fingering abbreviations: fingercolor = #blue fLfinger = ^\markup{ \bold \with-color \fingercolor "L" } fL = -\tag #'BCLfingering \fLfinger fRfinger = ^\markup{ \bold \with-color \fingercolor "R" } fR = -\tag #'BCLfingering \fRfinger %(using it in the musical flow) BCL = { cis'\fL gis'\fR } %(including or excluding it with a switch) \keepWithTags #'(BCLfingering BCLother score) { \BCL } Note: the \keepWithTags is a function which you find searching the archive for it, it is similar as the (single) \keepWithTag function which is available by default. Both work. For the score you don't include it. Regards, Wim. On 6 Jun 2013, at 16:50 , Jacques Menu wrote: Hello, In order to display oboe fingerings, I define: myFingeringFourche = ^"F" myFingeringBis = ^"2" in my standard library file, which is included in the oboe part file: \repeat volta 2 { \barNumberCheck #1 r2 r8 f8\myFingeringFourche (c d |%2 Then I override these macros in the general score file with: myFingeringFourche = ^"" myFingeringBis = ^"" which is a bit ugly. Is there a cleaner, more "Lilypond in spirit" way to achieve this? Thanks! -- Jacques Menu Ch. de la Pierre 12 1023 Crissier mailto:jacques.m...@tvtmail.ch ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing fingerings from the general score
Hi, using something like \version "2.16.0" \notes = \relative c'' {a-. b-3 c-4 d\f} \score { \new Voice \with { \remove "Fingering_engraver" \remove "New_fingering_engraver" } \notes \layout {} } you can remove the fingerings from one Voice. To do so for all the entire score you can use instead the following score block: \score { \notes \layout { \context { \Voice \remove "Fingering_engraver" \remove "New_fingering_engraver" } } } Felix ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user