Re: Alignment of Staff.instrument (v.2.7.34-1, WinXP)
Thies Albrecht wrote: Hi everybody! Using v2.7.34-1 on WinXP Staff.instrument markups of different staves are aligned to their right and not to their left, like in former versions. Has this behaviour been and changed and can be tuned individually or is it supoosed to be a bug? Yes it has been changed, but a quick glance at a real score shows me that they should be centered horizontally anyway, so neither behavior is correct. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Staff separation suddenly doubles under \score and raggedbottom again!
Sorry, this is a complicated request! I decided to uses bar numbers every 5 measures in a \book so added this variable (right from the manual) to each piece: barNumbers = { \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(every-nth-bar-number-visible 5) \override Score.BarNumber #'font-size = #-2.5 \override Score.BarNumber #'padding = #2.2 \override Score.BarNumber #'print-function = #(make-stencil-boxer 0.1 0.25 Text_interface::print) } The small padding was necessary to avoid collisions with other text that occasionally needed to be placed above notes. Now, the staff separation for the inner pieces has more than doubled taking up too many pages. The first and last pieces are spaced normally. \layout{ betweensystemspace = 5\mm } doesn't do anything. >>This only happens when \book is used. << I reported before that one of the pieces is very short but needs to be on its own page to avoid bad page turns. Raggedbottom did not work. I had patched this with invisible measures, but the above change to bar numbering ruined that and I need ragged bottom to work. It is clearly documented and supposed to be a stable feature. However, I didn't receive a clear answer before. I apologize for whining about this but I've recompiled this mess over a hundred ways using everything I can understand from the documentation (with the exception of Scheme hacks which I don't understand yet). I had hoped to have this and similar works completed for tomorrow's rehearsal. The score is really simple and if anyone would be willing to help, I'd be happy to send them the entire text. Arthur -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.10/263 - Release Date: 2006/02/16 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Defining shortcuts for scheme code
On Thursday 16 February 2006 13.14, Thies Albrecht wrote: > Hi everybody! > > To prevent having to use extensive scheme code inside my score I prefer > to define shortcuts for often used code snippets, e.g. when setting > ottavation on and off. > > In the following code example Point'n'click is turned off also IMHO I > have only defined the shortcut without using it. Now I wonder if my way > of defining shortcuts is okay or if I've misunderstood the documentation > on that. Unfortunately, the threshold for understanding how Scheme works in lilypond is rather high (or, at least it was for me). As soon as a #() expression is found in a ly file, it is evaluated (this happens _while_ the file is parsed). So in this case, what you really want to store in a variable, is a _function_ which sets the option accordingly: noPnC = #(def-music-function (parser location) (ly:set-option ...)) When \noPnC is found in the score, that function will be called, and the option will be set. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Defining shortcuts for scheme code
Thies Albrecht wrote: Hi everybody! To prevent having to use extensive scheme code inside my score I prefer to define shortcuts for often used code snippets, e.g. when setting ottavation on and off. In the following code example Point'n'click is turned off also IMHO I have only defined the shortcut without using it. Now I wonder if my way of defining shortcuts is okay or if I've misunderstood the documentation on that. Example: \version "2.7.34" noPnC = #(ly:set-option 'point-and-click #f) \relative c'' {c1} try: #(define (nopc) (ly:set-option 'point-and-click #f)) #(nopc) -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
crescendo ruins MIDI file
I have an example in which the insertion of a crescendo in the music causes the generated MIDI file to be bad. Removing the crescendo fixes the problem. Is this a known problem? I'm using version 2.7.17 on Windows. A second thing: \< and \f don't work the same way in jEdit as \p. It looks like \p is the one that is correct. thanks -- - Jimmy Wilkinson| Professor of Computer Science [EMAIL PROTECTED] | The College of Charleston (843) 953-8160 | Charleston SC29424 http://www.cs.cofc.edu/~jimmy If there is one word to describe me, that word would have to be "profectionist". ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Aligning ancient and modern music
I am trying to typeset a piece in both ancient music (gregorian chant) and modern notation. Is it possible to align notes in the two notations? I realise that it may need to be done explicitly for every note. Thanks, Joe ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: faster lilypond rendering
I've found that if you put: #(ly:set-option 'point-and-click #f) at the top of the file, it will render OK in GSView, so I guess that area is the first place to look for the offending postscript. Dunstan On 16/02/06, Eduardo Vieira <[EMAIL PROTECTED]> wrote: > Mats wrote: > Unfortunately, that's not true on Windows, where it seems that GSView > is unable to handle Postscript files from LilyPond, no matter what > ghostscript version you use. See the mailing list archives for more > information. > > I use GSView in Windows and it does display the ps from Lilypond, yet > sometimes it will only display after you select the menu "Close", then the > image is rendered. Strange behavior. I don't know why it doesn't display the > music symbols if you open the pdf produced instead of the ps. > > Eduardo > > > > ___ > 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
Defining shortcuts for scheme code
Hi everybody! To prevent having to use extensive scheme code inside my score I prefer to define shortcuts for often used code snippets, e.g. when setting ottavation on and off. In the following code example Point'n'click is turned off also IMHO I have only defined the shortcut without using it. Now I wonder if my way of defining shortcuts is okay or if I've misunderstood the documentation on that. Example: \version "2.7.34" noPnC = #(ly:set-option 'point-and-click #f) \relative c'' {c1} -- End of example ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Alignment of Staff.instrument (v.2.7.34-1, WinXP)
Hi everybody! Using v2.7.34-1 on WinXP Staff.instrument markups of different staves are aligned to their right and not to their left, like in former versions. Has this behaviour been and changed and can be tuned individually or is it supoosed to be a bug? Example: \version "2.7.34" \score { << \new Staff { \set Staff.instrument = \markup {"lng"} \relative c'' {c1} } \new Staff { \set Staff.instrument = \markup {"short"} \relative c'' {c1} } >> } -- End of example Kind regards, Thies Albrecht ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: faster lilypond rendering
Mats wrote: Unfortunately, that's not true on Windows, where it seems that GSView is unable to handle Postscript files from LilyPond, no matter what ghostscript version you use. See the mailing list archives for more information. I use GSView in Windows and it does display the ps from Lilypond, yet sometimes it will only display after you select the menu "Close", then the image is rendered. Strange behavior. I don't know why it doesn't display the music symbols if you open the pdf produced instead of the ps. Eduardo ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: symphonic, continuos movements, percussion, midi
Basically, what you are doing is \score{ { \mark ... << \context StaffGroup ... ... >> } } This means that you first typeset the mark, then start setting up the StaffGroup with a number of Staffs. What happens is that LilyPond needs at least a Staff to be able to handle the \mark command, therefore it creates one as soon as it sees the \mark command. The simple solution is to move your \mark command into one of your Staffs, for example thevineI= { << \context StaffGroup ="madeiras" << \new Staff {\mark ... \fluteINotes } ... /Mats alexandre reche e silva wrote: Mats Bengtsson ee.kth.se> writes: Quoting alexandre reche e silva yahoo.com.br>: I still need help because of a strange side effect: using /mark to "titling" adds a empty staff at the top of the others?!?! (This is really embarrassing. Imagine. An uninvited blank top staff...). If you include short but complete example .ly file that illustrates this problem, it will be much easier for us to tell what mistake you do. /Mats Peace and Health in Jesus Christ Well, the task of reduce a symphonic piece to a "short but complete example" was finally done. Nevertheless, the ensemble was reduced to flute and oboe only, and just the first section was quoted bellow (because I don't know yet how to attach a .ly file to this post). You will witness the strange effect of a ghost staff (probably a side effect from self-teaching ;) ... \score { { \override Score.RehearsalMark #'self-alignment-X = #-1 \override Score.RehearsalMark #'padding = #4.0 \mark "I - This is my beloved Son, in whom I am well pleased." \thevineI %\mark "II - This is my beloved Son; hear him" \thevineII %\override Score.RehearsalMark #'padding = #0.8 %\mark "III - I have both glorified [it], and will glorify [it] again." %\thevineIII } \midi {\tempo 4=116 } \layout {} \header {} } \paper { indent=10.0\mm linewidth=150.0\mm raggedbottom = ##t } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user