Re: Change pdf viewer on mac
A couple of days ago I posted a modified lilypond-mode.el which takes advantage of xpdf's -remote option which does what you're asking for. It only works if you use emacs, though... -- Orm Am 02. April 2006, 02:02 Uhr (+) schrieb Mark A: > Is there any way to customize the pdf viewer that is called > by the Lilypond.app package for the Mac? I would prefer to > use a viewer that automatically refreshes when the pdf file > changes, which is not easily done with Preview.app. I prefer > not to change the system default pdf viewer away from Preview, > though. > > Thanks, > Mark > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
convert-ly 2.8.1 and 2.9.1 broken
2.8.1 and 2.9.1 convert-ly gives: [EMAIL PROTECTED]:/jen/paul/music/stfrancis$ convert-ly -e *.ly Traceback (most recent call last): File "/usr/local/lilypond/usr/bin/convert-ly", line 39, in ? import lilylib as ly File "/usr/local/lilypond/usr/share/lilypond/current/python/lilylib.py", line 16, in ? import optparse File "/usr/lib/python2.4/optparse.py", line 72, in ? try: File "/usr/lib/python2.4/gettext.py", line 49, in ? import locale, copy, os, re, struct, sys ImportError: No module named struct Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: solid line for textspanner?
I would rather say that it's a bug that you don't get a continuous line if you use \override TextSpanner #'style = #'line The documentation of the line-interface and the implementation agree with what's written below, but several grobs, such as VoiceFollower and Glissando have style set to 'line, even though the implementation only cares about the style property if it's set to 'dotted-line. Also, the example text-spanner.ly in Tips and Tricks sets the style property so that you get the impression that the setting actually matters. /Mats Quoting Graham Percival <[EMAIL PROTECTED]>: On 31-Mar-06, at 8:03 PM, Christopher Ellis wrote: \override TextSpanner #'dash-fraction = #'() this works for me. Thanks, I've added this to the manual. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Text spanner and musicglyph
Hi lilypond list !!! Does some one have a clue of how I can add \musicglyph #"timesig.C22" inside a \override Voice . TextSpanner #'edge-text = #' () I had tried a lot of forms and couldn get it to work. thanks, Allan -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
2.8.1 bug in tieWaitForNote
tieWaitForNote bug LilyPond 2.8.1 installed with GUB on Debian Linux Using \set tieWaitForNote, which allows for ties between arpeggios and a following chord, some ties are not attached to or do not extend to the correct note. --- begin LilyPond code --- version "2.8.1" \layout { ragged-right = ##t } \score { \new Staff \relative c'' { \clef treble \key c \major \time 4/4 2~ | \set tieWaitForNote = ##t e8~ c~ a~ f~ 2 | f,8~ a~ c~ e~ 2 | } } --- end LilyPond code --- Attached: tieWaitForNote_1.png and tieWaitForNote_2.png * tieWaitForNote_1.png is the output of the LilyPond code above * tieWaitForNote_2.png is an example of the bug in a piece I'm working on now. The notes of the grace-note arpeggio should be tied to the corresponding notes of the following chord. Best wishes, Steve D New Mexico US tieWaitForNote_1.png Description: PNG image tieWaitForNote_2.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
--- Orm Finnendahl <[EMAIL PROTECTED]> wrote: > A couple of days ago I posted a modified lilypond-mode.el which takes > advantage of xpdf's -remote option which does what you're asking for. > > It only works if you use emacs, though... > Thanks for the suggestion. Right now I can get a pdf viewer pointing to the final pdf, and it refreshes automatically. The problem on the Mac is that when I do command-R it compiles then pops Preview to the front. If I could make it just do the compiling, without launching Preview (or shifting focus to it) then that would be sufficient. I took a look at lilycall.py in /Applications/LilyPond.app/Contents/Resources but the changes I made there didn't seem to have an effect. I don't really know python, so I'm not sure if that's a limitation of mine or whether lilycall.py is used at all. So, is there a way to customize the behavior of Lilypond to just do the compiling without launching a pdf viewer? I don't have any problem with altering scripts, if that's necessary, but I'll need some pointers on which ones. Mark A __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
bar number positions
The current bar number default position is fine for bar numbers at the beginning of the line but not for bar numbers placed on every bar or every n bars. When bar numbers are placed every n bars they appear to the right of the relevant bar (I guess this is to avoid collisions with the clef symbol when bar numbers are only at the beginning of the line). I suggest that slightly different logic should be applied when \set Score.barNumberVisibility = #(every-nth-bar-number-visible ) so that the bar numbers at the beginning would be consistent with the rest. Thanks for reading this, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
Quoting mark oilcan <[EMAIL PROTECTED]>: > > > --- Orm Finnendahl <[EMAIL PROTECTED]> wrote: > > > A couple of days ago I posted a modified lilypond-mode.el which takes > > advantage of xpdf's -remote option which does what you're asking for. > > > > It only works if you use emacs, though... > > > > Thanks for the suggestion. Right now I can get a pdf viewer pointing to the > final pdf, and it refreshes automatically. The problem on the Mac is that > when I do command-R it compiles then pops Preview to the front. If I could > make it just do the compiling, without launching Preview (or shifting focus > to it) then that would be sufficient. I took a look at lilycall.py in > /Applications/LilyPond.app/Contents/Resources but the changes I made there > didn't seem to have an effect. I don't really know python, so I'm not sure if > that's a limitation of mine or whether lilycall.py is used at all. So, is > there a way to customize the behavior of Lilypond to just do the compiling > without launching a pdf viewer? I don't have any problem with altering > scripts, if that's necessary, but I'll need some pointers on which ones. > > Mark A > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > Why don't you just put at the top of your file: \set Score.skipTypesetting = ##t -- Carrick Patterson Little Rock AR ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Which template for organ ?
Salut tout le monde ! Hi everybody ! I look forward a good lily template for the organ. I would like to produce such staves (see the following picture from the Bach Gesellschadt Edition) with : 1. A brace on the two first staves ; 2. The bar lines along the three staves. I can do : 1. the brace on the three staves and the bar lines on the three staves. 2. the brace on the two manuale staves but a bar line on the two first staves and a different bar line ont the pedal staff. Thanks in advance. M.X. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Middle line stem direction in 2.8
In the 2.7 development versions prior to the release of 2.8.0 , the stem directions for notes on the middle line of the staff followed the direction of neighoboring notes (a feature sponsored by Mike Rolish and Basil Crow). It appears that in 2.8.0, this feature (which looks very nice and helps with slurs, too) became an option rather than the default. So I looked at the snippet behind the appropriate graphic on the "changes" page and found this: \new Voice \with { \consists "Melody_engraver" \override Stem #'neutral-direction = #'() } And then the \relative, the notes, etc. Since I have no other need for a "\new Voice \with{.." in my scores, I tried putting \override Stem #'neutral-direction = #'() in the layout block. This worked unders windows but not under linux (which runs lilypond much more quickly). I also tried the entire \new Voice...etc. snippet under linux and that didn't work either, although it does under windows. The .ly files I'm using for both OS's are exactly the same. Is there something wrong with my installation of lily under linux, or else can someone tell me some other way to make Mike & Basil's feature default for middle-line note stems again? I am assuming that it was changed from default to option intentionally, as the wording of the "changes" doc suggests. Fr. P ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: convert-ly 2.8.1 and 2.9.1 broken
in win2k (2.8.1) convert-ly work, but it is writing in the new file : \version 2.7.40 -- Martial http://cathemline.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: convert-ly 2.8.1 and 2.9.1 broken
> in win2k (2.8.1) > convert-ly work, > but it is writing in the new file : \version 2.7.40 That's not an error. See the manual, Section 5.6: "convert-ly always converts up to the last syntax change handled by it. This means that the \version number left in the file is usually lower than the version of convert-ly itself." Apparently there have been no syntax changes since 2.7.40 (or at least none that convert-ly handles). Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: convert-ly 2.8.1 and 2.9.1 broken
writing in the new file : \version 2.7.40 That's not an error. See the manual, Section 5.6: "convert-ly always converts up to the last syntax change ... Oops! Thank for your helpfulness. -- Martial http://cathemline.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Default bar numbering collision
http://www.geocities.com/noi_ga/imatges/lilypond_bracket_bar_number_bug.png ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Middle line stem direction in 2.8
Are you really sure that you use the same LilyPond version both in Windows and Linux? These differences cannot possibly be platform dependent as far as I can understand. For the reasoning behind the change, see http://lists.gnu.org/archive/html/lilypond-devel/2006-03/msg00104.html /Mats Quoting Father Panteleimon <[EMAIL PROTECTED]>: In the 2.7 development versions prior to the release of 2.8.0 , the stem directions for notes on the middle line of the staff followed the direction of neighoboring notes (a feature sponsored by Mike Rolish and Basil Crow). It appears that in 2.8.0, this feature (which looks very nice and helps with slurs, too) became an option rather than the default. So I looked at the snippet behind the appropriate graphic on the "changes" page and found this: \new Voice \with { \consists "Melody_engraver" \override Stem #'neutral-direction = #'() } And then the \relative, the notes, etc. Since I have no other need for a "\new Voice \with{.." in my scores, I tried putting \override Stem #'neutral-direction = #'() in the layout block. This worked unders windows but not under linux (which runs lilypond much more quickly). I also tried the entire \new Voice...etc. snippet under linux and that didn't work either, although it does under windows. The .ly files I'm using for both OS's are exactly the same. Is there something wrong with my installation of lily under linux, or else can someone tell me some other way to make Mike & Basil's feature default for middle-line note stems again? I am assuming that it was changed from default to option intentionally, as the wording of the "changes" doc suggests. Fr. P ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Text spanner and musicglyph
Search the mailing list archives for: markup edge-text it should give you several similar examples. /Mats Quoting Allan Spagnol Comar <[EMAIL PROTECTED]>: Hi lilypond list !!! Does some one have a clue of how I can add \musicglyph #"timesig.C22" inside a \override Voice . TextSpanner #'edge-text = #' () I had tried a lot of forms and couldn get it to work. thanks, Allan -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Which template for organ ?
This is one of the things that can be done with the new support for a hierarchy of nested system start delimiters, which is mentioned in the NEWS file for version 2.8, but really not documented at all, except for this single example and the following email: http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00771.html Based on some trial and error, I found out that the following should work: \new StaffGroup \relative << \set StaffGroup.systemStartDelimiterHierarchy = #'(SystemStartBar (SystemStartBrace a b )) \new Staff { c1 d1 } \new Staff { c1 d1 } \new Staff { c1 d1 } /Mats Quoting MX <[EMAIL PROTECTED]>: Salut tout le monde ! Hi everybody ! I look forward a good lily template for the organ. I would like to produce such staves (see the following picture from the Bach Gesellschadt Edition) with : 1. A brace on the two first staves ; 2. The bar lines along the three staves. I can do : 1. the brace on the three staves and the bar lines on the three staves. 2. the brace on the two manuale staves but a bar line on the two first staves and a different bar line ont the pedal staff. Thanks in advance. M.X. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Middle line stem direction in 2.8
Yes, I was running 2.8.0 on both platforms with exact same .ly files. I uninstalled 2.8.0 from linux (SuSe 10) and tried both 2.8.1 and 2.9 with the same results. Only 2.7 will do the stem thing under linux. I didn't know decidous note-stems were bad. They sure look nice, though, especially where slurs are involved. They keep slurs from having their ends floating high above the notes. I wonder (having no access to examples) if the old-school engravers would have the b-stem down in a phrase like this: \relative c'' { \set Score.timing = ##f \key d \major g4 g8[( a)] b2( a4. g8) fis4 e fis8( g) a2 } That leaves a big white space between b2 and its slur, which looks odd to me. I imagine that old-school engravers had a very limited number of slur shapes to work with, so this case would make the levitating slur the only option, unless the note-stem is inverted, in which case the slur looks very natural. So what did the old-timers do here, and did they do it from aesthetics, necessity, or convention? Just wondering. Fr. P. -Original Message- From: Mats Bengtsson [mailto:[EMAIL PROTECTED] Sent: Sunday, April 02, 2006 2:58 PM To: Father Panteleimon Cc: lilypond-user@gnu.org Subject: Re: Middle line stem direction in 2.8 Are you really sure that you use the same LilyPond version both in Windows and Linux? These differences cannot possibly be platform dependent as far as I can understand. For the reasoning behind the change, see http://lists.gnu.org/archive/html/lilypond-devel/2006-03/msg00104.html /Mats Quoting Father Panteleimon <[EMAIL PROTECTED]>: > In the 2.7 development versions prior to the release of 2.8.0 , the > stem directions for notes on the middle line of the staff followed the > direction of neighoboring notes (a feature sponsored by Mike Rolish and Basil Crow). > It appears that in 2.8.0, this feature (which looks very nice and > helps with slurs, too) became an option rather than the default. So I > looked at the snippet behind the appropriate graphic on the "changes" page and found this: > \new Voice \with { > \consists "Melody_engraver" > \override Stem #'neutral-direction = #'() } And then the \relative, > the notes, etc. > > Since I have no other need for a "\new Voice \with{.." in my scores, I > tried putting \override Stem #'neutral-direction = #'() in the layout > block. This worked unders windows but not under linux (which runs > lilypond much more quickly). > I also tried the entire \new Voice...etc. snippet under linux and that > didn't work either, although it does under windows. The .ly files I'm > using for both OS's are exactly the same. Is there something wrong > with my installation of lily under linux, or else can someone tell me > some other way to make Mike & Basil's feature default for middle-line > note stems again? I am assuming that it was changed from default to > option intentionally, as the wording of the "changes" doc suggests. > > > Fr. P > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Middle line stem direction in 2.8 - oops
Wait a minute. Think I just found a misspelling in my linux file. Not platform dependent. Chump-dependent. Sincerest apologies. Fr. P -Original Message- From: Mats Bengtsson [mailto:[EMAIL PROTECTED] Sent: Sunday, April 02, 2006 2:58 PM To: Father Panteleimon Cc: lilypond-user@gnu.org Subject: Re: Middle line stem direction in 2.8 Are you really sure that you use the same LilyPond version both in Windows and Linux? These differences cannot possibly be platform dependent as far as I can understand. For the reasoning behind the change, see http://lists.gnu.org/archive/html/lilypond-devel/2006-03/msg00104.html /Mats Quoting Father Panteleimon <[EMAIL PROTECTED]>: > In the 2.7 development versions prior to the release of 2.8.0 , the > stem directions for notes on the middle line of the staff followed the > direction of neighoboring notes (a feature sponsored by Mike Rolish and Basil Crow). > It appears that in 2.8.0, this feature (which looks very nice and > helps with slurs, too) became an option rather than the default. So I > looked at the snippet behind the appropriate graphic on the "changes" page and found this: > \new Voice \with { > \consists "Melody_engraver" > \override Stem #'neutral-direction = #'() } And then the \relative, > the notes, etc. > > Since I have no other need for a "\new Voice \with{.." in my scores, I > tried putting \override Stem #'neutral-direction = #'() in the layout > block. This worked unders windows but not under linux (which runs > lilypond much more quickly). > I also tried the entire \new Voice...etc. snippet under linux and that > didn't work either, although it does under windows. The .ly files I'm > using for both OS's are exactly the same. Is there something wrong > with my installation of lily under linux, or else can someone tell me > some other way to make Mike & Basil's feature default for middle-line > note stems again? I am assuming that it was changed from default to > option intentionally, as the wording of the "changes" doc suggests. > > > Fr. P > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
--- Carrick Patterson <[EMAIL PROTECTED]> wrote: > Quoting mark oilcan <[EMAIL PROTECTED]>: > > > > > > > --- Orm Finnendahl <[EMAIL PROTECTED]> wrote: > > > > > A couple of days ago I posted a modified lilypond-mode.el which takes > > > advantage of xpdf's -remote option which does what you're asking for. > > > > > > It only works if you use emacs, though... > > > > > > > Thanks for the suggestion. Right now I can get a pdf viewer pointing to > the > > final pdf, and it refreshes automatically. The problem on the Mac is that > > when I do command-R it compiles then pops Preview to the front. If I > could > > make it just do the compiling, without launching Preview (or shifting > focus > > to it) then that would be sufficient. I took a look at lilycall.py in > > /Applications/LilyPond.app/Contents/Resources but the changes I made > there > > didn't seem to have an effect. I don't really know python, so I'm not > sure if > > that's a limitation of mine or whether lilycall.py is used at all. So, is > > there a way to customize the behavior of Lilypond to just do the > compiling > > without launching a pdf viewer? I don't have any problem with altering > > scripts, if that's necessary, but I'll need some pointers on which ones. > > > > Mark A > > > > > > > Why don't you just put at the top of your file: > > \set Score.skipTypesetting = ##t > There seems some confusion. It's not that I want to stop the typesetting, I just don't want the Mac Lilypond.app application to launch Preview.app (and in particular shift the focus away from Lilypond) after typesetting has been completed. So, I (1) do some editing in a .ly file, (2) hit command-R to typeset and create a pdf file, (3) do more editing. After I do step (2) and perhaps simultaneous to doing step (3) the pdf is displayed in my pdf viewer so I can see what it all looks like. Important here is that between (2) and (3) I don't have to manually switch back to Lilypond from the pdf viewer (ie Preview). Yes, I could do this all easily enough in emacs, but I'm trying to set this up for someone who would find that route far to complicated. The Mac Lilypond.app is great for someone who doesn't want a complicated set-up, but the pushing Preview to the front all the time is actually an annoyance. Thanks for the suggestions. I do appreciate others trying to help out. Is this something that would be better asked on the devel list? Mark A __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
you could try my little lilypad app: http://edbaskerville.com/software/lilypad/ a vastly improved version should be out within the month with completion, syntax coloring, and hopefully some other nice features. i am also planning on releasing it under the gpl. --ed On Apr 2, 2006, at 1:38 PM, mark oilcan wrote: --- Carrick Patterson <[EMAIL PROTECTED]> wrote: Quoting mark oilcan <[EMAIL PROTECTED]>: --- Orm Finnendahl <[EMAIL PROTECTED]> wrote: A couple of days ago I posted a modified lilypond-mode.el which takes advantage of xpdf's -remote option which does what you're asking for. It only works if you use emacs, though... Thanks for the suggestion. Right now I can get a pdf viewer pointing to the final pdf, and it refreshes automatically. The problem on the Mac is that when I do command-R it compiles then pops Preview to the front. If I could make it just do the compiling, without launching Preview (or shifting focus to it) then that would be sufficient. I took a look at lilycall.py in /Applications/LilyPond.app/Contents/Resources but the changes I made there didn't seem to have an effect. I don't really know python, so I'm not sure if that's a limitation of mine or whether lilycall.py is used at all. So, is there a way to customize the behavior of Lilypond to just do the compiling without launching a pdf viewer? I don't have any problem with altering scripts, if that's necessary, but I'll need some pointers on which ones. Mark A Why don't you just put at the top of your file: \set Score.skipTypesetting = ##t There seems some confusion. It's not that I want to stop the typesetting, I just don't want the Mac Lilypond.app application to launch Preview.app (and in particular shift the focus away from Lilypond) after typesetting has been completed. So, I (1) do some editing in a .ly file, (2) hit command- R to typeset and create a pdf file, (3) do more editing. After I do step (2) and perhaps simultaneous to doing step (3) the pdf is displayed in my pdf viewer so I can see what it all looks like. Important here is that between (2) and (3) I don't have to manually switch back to Lilypond from the pdf viewer (ie Preview). Yes, I could do this all easily enough in emacs, but I'm trying to set this up for someone who would find that route far to complicated. The Mac Lilypond.app is great for someone who doesn't want a complicated set-up, but the pushing Preview to the front all the time is actually an annoyance. Thanks for the suggestions. I do appreciate others trying to help out. Is this something that would be better asked on the devel list? Mark A __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
mark oilcan wrote: Thanks for the suggestions. I do appreciate others trying to help out. Is this something that would be better asked on the devel list? you have to look at LilyPond.app/Contents/Resources/Python/LilyPond.py -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Manual rest placement doesn't seem to work
I've been trying to use the manual placement mechanism and it doesn't seem to work. Before I file it as a bug, though, I want to be sure I'm doing it right. Code follows, output attached. Basically, I want the rests of the center line of each staff. world = { \key d \major \time 3/2 } melody = \relative c'' { \world b2\rest fs2 fs | } alto = \relative c' { \world s2 d2 d | } tenor = \relative c { \world d2\rest a' a | } bass = \relative c, { \world d2 d' d | } \score { \context ChoirStaff << \context Staff = upper << \context Voice = sopranos { \voiceOne << \melody >> } \context Voice = altos { \voiceTwo << \alto >> } >> \context Staff = lower << \clef bass \context Voice = tenors { \voiceOne << \tenor >> } \context Voice = basses { \voiceTwo << \bass >> } >> >> \layout { ragged-right = ##t } } == Am I doing something wrong, or is this really broken? Geoff manualrests.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
Quoting mark oilcan <[EMAIL PROTECTED]>: > > > --- Carrick Patterson <[EMAIL PROTECTED]> wrote: > > > Quoting mark oilcan <[EMAIL PROTECTED]>: > > > > > > > > > > > --- Orm Finnendahl <[EMAIL PROTECTED]> wrote: > > > > > > > A couple of days ago I posted a modified lilypond-mode.el which takes > > > > advantage of xpdf's -remote option which does what you're asking for. > > > > > > > > It only works if you use emacs, though... > > > > > > > > > > Thanks for the suggestion. Right now I can get a pdf viewer pointing to > > the > > > final pdf, and it refreshes automatically. The problem on the Mac is that > > > when I do command-R it compiles then pops Preview to the front. If I > > could > > > make it just do the compiling, without launching Preview (or shifting > > focus > > > to it) then that would be sufficient. I took a look at lilycall.py in > > > /Applications/LilyPond.app/Contents/Resources but the changes I made > > there > > > didn't seem to have an effect. I don't really know python, so I'm not > > sure if > > > that's a limitation of mine or whether lilycall.py is used at all. So, is > > > there a way to customize the behavior of Lilypond to just do the > > compiling > > > without launching a pdf viewer? I don't have any problem with altering > > > scripts, if that's necessary, but I'll need some pointers on which ones. > > > > > > Mark A > > > > > > > > > > > Why don't you just put at the top of your file: > > > > \set Score.skipTypesetting = ##t > > > > There seems some confusion. It's not that I want to stop the typesetting, I > just don't want the Mac Lilypond.app application to launch Preview.app (and > in particular shift the focus away from Lilypond) after typesetting has been > completed. So, I (1) do some editing in a .ly file, (2) hit command-R to > typeset and create a pdf file, (3) do more editing. After I do step (2) and > perhaps simultaneous to doing step (3) the pdf is displayed in my pdf viewer > so I can see what it all looks like. Important here is that between (2) and > (3) I don't have to manually switch back to Lilypond from the pdf viewer (ie > Preview). Yes, I could do this all easily enough in emacs, but I'm trying to > set this up for someone who would find that route far to complicated. The Mac > Lilypond.app is great for someone who doesn't want a complicated set-up, but > the pushing Preview to the front all the time is actually an annoyance. > > Thanks for the suggestions. I do appreciate others trying to help out. Is > this something that would be better asked on the devel list? > > Mark A > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > You do know you can just press "COMMAND TAB" on the Mac to switch applications, right? -- Carrick Patterson Little Rock AR ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manual rest placement doesn't seem to work
On 2-Apr-06, at 4:40 PM, Geoff Horton wrote: I've been trying to use the manual placement mechanism and it doesn't seem to work. Before I file it as a bug, though, I want to be sure I'm doing it right. Code follows, output attached. Basically, I want the rests of the center line of each staff. Please remember to check a minimal example: \version "2.9.1" { c2\rest a'2 } works perfectly. There may be some issue with manual rests within polyphony... but it looks fine here: \version "2.9.1" { << { f''2\rest a'2 f''2\rest a'2 } \\ { d'2\rest f'2 s2 f'2 } >> } Try these simple examples on your system. If they work, then try to figure out exactly what the difference is between these examples and your situation. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manual rest placement doesn't seem to work
> Try these simple examples on your system. If they work, then try to > figure out exactly what the difference is between these examples and > your situation. It's the \voiceOne etc. that does it. This does not work: melody = \relative c'' { b2\rest } alto = \relative c' { s2 } \score { \context Staff = upper << \context Voice = sopranos { << \voiceOne \melody >> } \context Voice = altos { << \voiceTwo \alto >> } >> \layout { ragged-right = ##t } } === But strip out the \voiceOne and \voiceTwo and it works fine. Changing \voiceTwo to \voiceThree made no difference (I figured it was worth a shot). Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
--- Ed Baskerville <[EMAIL PROTECTED]> wrote: > you could try my little lilypad app: > > http://edbaskerville.com/software/lilypad/ > > a vastly improved version should be out within the month with > completion, syntax coloring, and hopefully some other nice features. > i am also planning on releasing it under the gpl. > > --ed > Hey that's pretty nice! The MIDI thing didn't work for me, but that's just gravy, and I haven't tried too hard either. It's pretty much just the sort of thing I want. Mark A __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
--- Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > mark oilcan wrote: > > > Thanks for the suggestions. I do appreciate others trying to help out. Is > > this something that would be better asked on the devel list? > > you have to look at > >LilyPond.app/Contents/Resources/Python/LilyPond.py Thanks. This seems to be what I was looking for, and I think I've managed to hack it into doing what I want. Sorry if this is documented somewhere and I missed it. Mark A __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manual rest placement doesn't seem to work
Combining the voices with \partcombine also produces a misplaced rest. Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manual rest placement doesn't seem to work
> Combining the voices with \partcombine also produces a misplaced rest. Sigh. No, it doesn't. Sorry about that. The other example really is broken, though. Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user