Re: \column inside a \column and baseline-skip
Dear Kieren, On Jan 29, 2008 10:42 PM, Kieren MacMillan wrote: > Sounds more complicated than necessary... Probably so. :-) I just haven't found an elegant solution yet. > Why not have an "if" that just doesn't add the \line to begin with? The custom markup for the header takes care of removing the unnecessary text fields. However that doesn't handle the spacing between the fields and that's my problem. That is if I got your comment right. I've included one more snippet. :-) The spacing is now OK for my purposes for a two-title piece. If you comment out the subtitle at the \header section the space between the title and the poet is bigger than the space between the subtitle and the poet in the two-title version. I'd like to change the spacing somehow. -Risto Snip \version "2.11.37" customHeaders = \markup { \line { \huge \bigger \bigger \bigger \bigger \override #'(baseline-skip . 4.5) \column { \fromproperty #'header:title \override #'(baseline-skip . 3.5) \column { \fromproperty #'header:subtitle \small \override #'(baseline-skip . 3.0) \column { \fromproperty #'header:poet \fromproperty #'header:translator } } } \hspace #5 \column { \fontsize #6 \fromproperty #'header:title \raise #-1.5 \fontsize #6 \fromproperty #'header:subtitle \raise #-2 \fontsize #-1 \fromproperty #'header:poet \raise #-2 \fontsize #-1 \fromproperty #'header:translator } } } \header { title = "Title I" subtitle = "Title II" % Comment out this one to test single title behaviour. poet = "Poet" translator = "Translator" } \paper { bookTitleMarkup = \customHeaders } { c'1 } END ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: pedal position
Dear Trevor, thanks for the advice. Now I have the problem with mixed-style. The "Ped" moves down, but the line doesn't. How can I move it too? Here a short example: \version "2.11.37" standardped = { \override Staff.PianoPedalBracket #'style = #'bracket \set Staff.pedalSustainStyle = #'mixed } \relative c''' { \standardped c2\pp\sustainDown c2\pp\sustainUp \once \override Staff.SustainPedal #'extra-offset = #'(0 . -5) c2\pp\sustainDown c2\pp\sustainUp } Trevor Daniels schrieb: Stefan Thomas wrote on 29 January 2008 08:45 It is possible to move these things vertically by hand? I tried it with \relative c''' { \override SustainPedalLineSpanner #'padding = 8 c2~\pp\sustainDown \times 2/3 {c4 b bes} | aes8\< f \times 2/3 {d8-. bes8-. ges8-.\p\sustainUp } r2 | } but the pedal and the dynamic stay at the same place. Isn't there another solution? Yes. When all else fails try extra-offset: \once \override Staff.SustainPedal #'extra-offset = #'(0 . -3) This will move the following sustainUp or sustainDown marks down. Change the -3 to suit your needs. Trevor D ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: NR 1.1 Pitches 2008-01-26
2008/1/30, Graham Percival <[EMAIL PROTECTED]>: > Valentin, this is yours: > {transposing-pitches-with-minimum-accidentals-smart-transpose.ly} Thanks Mark, updated :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Status of lilypond for jazz charts?
Hi Kieren, hi Iain, is your example LSR-worthy? IIRC we do not have many chordnames examples currently... Cheers, Valentin 2008/1/29, Kieren MacMillan <[EMAIL PROTECTED]>: > Hi Iain, > > > Thanks, that was exactly what I needed! > > I do my best... ;-) > > > Though it was minor7b5 that is supposed to get the 0 slash, ha ha! > > Oops! Had my brain on other stuff (number theory, actually), so I > wasn't as careful as I should have been... > > > Can one include all those somehow so that it becomes the default on > > a stock template? > > Yep... > > 1. In ChordExceptions.ly, write all the exceptions and a > > \layout > { > \context > { > \ChordNames > \set chordNameExceptions = #newChordExceptionList > } > } > > 2. In all your other files, be sure to \include "ChordExceptions.ly". > > Hope this helps! > Kieren. > > > ___ > 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: Error trapping \chordmode in LP 2.11.37 for Windows
2008/1/29, Mats Bengtsson <[EMAIL PROTECTED]>: > If you instead run > lilypond-windows -dgui somefile.ly > (which is exactly what happens when you double-click on the file) then you > get the truncated .log file. The only difference between these two > executables > is that the -windows version is linked with gcc ... -mwindows. > Someone who's an expert in MinGW programming would probably be able to > fix the problem, but I have no clue whatsoever. There's a much simpler solution: I could just make a patch against lilypond's GUB NSIS script to call lilypond instead of lilypond-windows when double-clicking on a .ly file. Would that be consistent? Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error trapping \chordmode in LP 2.11.37 for Windows
Hi, On Jan 30, 2008 11:19 AM, Valentin Villenave wrote: > There's a much simpler solution: I could just make a patch against > lilypond's GUB NSIS script to call lilypond instead of > lilypond-windows when double-clicking on a .ly file. Why are there two executables anyway? Do they perform different things or are they sort of equivalent but they are used in different contexts. -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Status of lilypond for jazz charts?
Hi Valentin, is your example LSR-worthy? IIRC we do not have many chordnames examples currently... I'm putting together a complete set of chord name exceptions, which i am hoping will be 1. a potential replacement/option for the standard set(s); 2. the first of these "stylesheet" snippets we've been talking about; 3. a "tutorial" (via embedded documentation) of the chord-name options. This should be ready later this week. Best, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: pedal position
Hi Stefan The extra-offset property can be used to move the PianoPedalBracket in the same way. Here's a modified example: \version "2.11.37" standardped = { \override Staff.PianoPedalBracket #'style = #'bracket \set Staff.pedalSustainStyle = #'mixed } \relative c''' { \override Staff.SustainPedal #'outside-staff-priority = #1 \override Staff.PianoPedalBracket #'outside-staff-priority = #1 \override Staff.SustainPedal #'extra-offset = #'(0 . -2) \override Staff.PianoPedalBracket #'extra-offset = #'(0 . -2) \standardped c2\pp\sustainDown c2\pp\sustainUp c2\pp\sustainDown c2\pp\sustainUp } I have also set outside-staff-priority of both PianoPedalBracket and PianoPedal (any value other than #f works), to include them in the outside-staff object-positioning mechanism. As we saw earlier, this does not move the pedal marks, but it does allow the dynamic marks to move closer to the staff. If you use \once to override any of the properties of PianoPedalBracket remember that the override must be place before the *start* of the bracket, that is, before the \sustainDown command, not the \sustainUp command. Trevor D > -Original Message- > From: Stefan Thomas [mailto:[EMAIL PROTECTED] > Sent: 30 January 2008 08:33 > To: [EMAIL PROTECTED]; Lilypondusers > Subject: Re: pedal position > > > Dear Trevor, > thanks for the advice. > Now I have the problem with mixed-style. > The "Ped" moves down, but the line doesn't. How > can I move it too? > Here a short example: > \version "2.11.37" > standardped = { \override Staff.PianoPedalBracket > #'style = #'bracket > \set Staff.pedalSustainStyle = #'mixed } > \relative c''' { > \standardped > c2\pp\sustainDown > c2\pp\sustainUp > \once \override Staff.SustainPedal #'extra-offset = #'(0 > . -5) > c2\pp\sustainDown > c2\pp\sustainUp > } > > Trevor Daniels schrieb: > > Stefan Thomas wrote on 29 January 2008 08:45 > > > >> It is possible to move these things vertically by hand? > >> I tried it with > >> \relative c''' { > >> \override SustainPedalLineSpanner #'padding = 8 > >> c2~\pp\sustainDown > >> \times 2/3 {c4 b bes} | > >> aes8\< f \times 2/3 {d8-. bes8-. > >> ges8-.\p\sustainUp } r2 | } > >> but the pedal and the dynamic stay at the same place. > >> Isn't there another solution? > >> > >> > > > > Yes. When all else fails try extra-offset: > > > > \once \override Staff.SustainPedal #'extra-offset = #'(0 > > . -3) > > > > This will move the following sustainUp or > sustainDown marks > > down. > > Change the -3 to suit your needs. > > > > Trevor D > > > > > > > > > > > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \column inside a \column and baseline-skip
Hi Risto, Here's another hint -- hope it helps. Best, Kieren. \version "2.10.10" \include "english.ly" #(define (has-subtitle layout props arg) (if (chain-assoc-get 'header:subtitle? props #t) (interpret-markup layout props arg) empty-stencil)) customHeaders = \markup { \column { \fontsize #6 \fromproperty #'header:title \on-the-fly #has-subtitle { \pad-to-box #'(0 . 0) #'(0 . 5) \fontsize #6 \fromproperty #'header:subtitle } \fontsize #-1 \fromproperty #'header:poet \fontsize #-1 \fromproperty #'header:translator } } \paper { bookTitleMarkup = \customHeaders } \header { title = "Title I" subtitle = "Title II" % comment to test single-title output poet = "Poet" translator = "Translator" } \score { c'1 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Newbie: chord names above staff?
Hello all, I am trying to do something that I think would be quite common, placing chord names for a solo in the middle of a song. Following the lilypond documentation on ChordNames and \chordmode, I came up with the code shown below. The problem is that the chord names appear below the staff. In all of the examples shown in the lilypond documentation, the chord names appear above the staff, and that is what I want. What am I doing wrong? Please help if you can. Thanks in advance, Steve Jacobs \header { title = "Chord Test" } sl = { \override NoteHead #'style = #'slash \override Stem #'transparent = ##t } nsl = { \revert NoteHead #'style \revert Stem #'transparent } \version "2.10.33" \score { \relative { \clef treble \time 4/4 \key a \minor e'4^\markup{Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1 \break << \new ChordNames \chordmode{a'1:m7 a1:m7 a1:m7 a1:m7} {\sl b,4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 \nsl} >> \break e4^\markup{More Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1 } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Point and click for Lilypond in KDE (was: Re: patch for scm/editor.scm to add KDE (Kate) support.)
Because of the differences in Kate line numbering between KDE 3 and 4 I think it's better to handle the invocation of the editor inside KDE, bypassing lilypond-invoke-editor. So the patch I sent to lily-devel is not necessary. I created two very small files that do the job. Both are attached, with a README. Hopefully this will once become a simple LilyPond/KDE package, with a nice helper plugin for Kate I'm trying to create. with best regards, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ "You must be the change you wish to see in the world." -- Mahatma Gandi ktexteditservice Description: application/shellscript [Protocol] exec=ktexteditservice %u protocol=textedit input=none output=none helper=true listing= reading=false writing=false makedir=false deleting=false Icon=txt Class=:local Lilypond Point and Click for KDE (3.x and 4.x) == Nederlandse uitleg (English see below): 1. Plaats textedit.protocol in de KDE-services map, bijvoorbeeld ~/.kde/share/services/ of /usr/share/services/. 2. Plaats ktexteditservice ergens in het systeempad, bijvoorbeeld ~/bin/ of /usr/local/bin/ en maakt het uitvoerbaar: chmod +x ktexteditservice Maak nu een Lilypond-bestand aan in Kate. Laat Lilypond een PDF aanmaken, open deze in KPDF en klik in de PDF op een muzieknoot. Voilá! English: 1. Put textedit.protocol somewhere in the KDE services directory, for example in ~/.kde/share/services/ or /usr/share/services/. 2. Put ktexteditservice somewhere in the system PATH, for example in ~/bin/ of /usr/local/bin/ and make it executable: chmod +x ktexteditservice Now create a .ly file with Kate. Run Lilypond and open the resulting PDF with KPDF. Click on music notes and see the cursor jump to the correct location! Note: Kate from KDE3 uses a different line numbering scheme than Kate from KDE4. Please (un)comment the corresponding lines in ktexteditservice. Contact: Wilbert Berendsen <[EMAIL PROTECTED]> http://www.wilbertberendsen.nl/ Wed Jan 30 15:35:23 CET 2008 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \column inside a \column and baseline-skip
Hi Kieren, On Jan 30, 2008 4:14 PM, Kieren MacMillan wrote: > Here's another hint -- hope it helps. Oh yes! That did the trick. I tweaked the \pad-to-box height a bit added the other header fields, did some formatting and voilà. Thanks a bunch. -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Status of lilypond for jazz charts?
2008/1/30, Kieren MacMillan <[EMAIL PROTECTED]>: > This should be ready later this week. Oh, great! Maybe we'll even implement it in the docs, thanks to the new LSR backend. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Program crashes whenever I start it (not solved yet)
Frank Dieckmann gmx.org> writes: > > Which operating system do you use? > Frank > I use Windows XP with service pack 2; automatic updates were on at the time that this problem started happening, but it shouldn't be a compatibility issue if it works for other people. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Status of lilypond for jazz charts?
On Wed, 2008-30-01 at 07:58 -0500, Kieren MacMillan wrote: > Hi Valentin, > > > is your example LSR-worthy? > > IIRC we do not have many chordnames examples currently... > > I'm putting together a complete set of chord name exceptions, which i > am hoping will be > >1. a potential replacement/option for the standard set(s); >2. the first of these "stylesheet" snippets we've been talking about; >3. a "tutorial" (via embedded documentation) of the chord-name > options. I'd be happy to help with this, perhaps adding some options for chord writing. Looking forward to checking it out! Iain ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Program crashes whenever I start it (not solved yet)
Just a random thought, do you have another python version installed? /Simon 2008/1/30, Bryan Previte <[EMAIL PROTECTED]>: > > Frank Dieckmann gmx.org> writes: > > > > > Which operating system do you use? > > Frank > > > > I use Windows XP with service pack 2; automatic updates were on at the > time that > this problem started happening, but it shouldn't be a compatibility issue > if it > works for other people. > > > > ___ > 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: adding to context voice conflicts with instrumentname
Hi Simon Your problem is using {..} after \new Staff instead of <<..>>. I'm not sure I fully understand why, nor do I have 2.10 available to check, but I think what happens is that the first Voice="V" is placed in the first staff, but too late for the second Voice="V", which has already created a new default staff for itself. Maybe Mats can iluminate further. Anyway, it is always a good idea to use angle brackets after \new Staff just to avoid this kind of problem. I think this works OK: \score { << \new Staff << \set Staff.instrumentName = "name" \new Voice = "V" { d'2 e' f' g' f' e' d'1 } >> % other Staves and Voices go here \context Voice = "V" { s2 \hideNotes s1 \unHideNotes } >> } An alternative method which might be better is to define your hidenotes with spacers in a variable which is then included in parallel with the real music. But the variable definition has to go before the \score, like this: hideControl = { s2 \hideNotes s1 \unHideNotes } \score { << \new Staff << \set Staff.instrumentName = "name" \new Voice = "V" << { d'2 e' f' g' f' e' d'1 } \hideControl >> >> % other Staves and Voices go here >> } Trevor D > -Original Message- > From: [EMAIL PROTECTED] > [mailto:lilypond-user-bounces+t.daniels=treda.co.u > [EMAIL PROTECTED] Behalf Of > Simon Van Damme > Sent: 28 January 2008 13:17 > To: lilypond-user@gnu.org > Subject: adding to context voice conflicts with > instrumentname > > > Dear all > > By means of the (simplified) code below, I wish > to hide some part of the > original music using "\context Voice = ...". It > is important that the > original notes and the hide/unhide specifications > remain separated > (ideally they come at the end of the score-block) > > Problem: this stops working when I add an > instrumentname to the original > data. Suddenly, the additions go in a separate > Staff. Does anyone knows > where this conflict arises, so that I can sort it out? > > Many thanks > > Simon > Musicology Department > K.U.Leuven (Belgium) > > --- CODE --- > > \version "2.10.33" > \score { << > \new Staff { > \set Staff.instrumentName = "name"% > OMITTING THIS LINE ... > \new Voice = "V" { d'2 e' f' g' f' e' d'1 } > } > % other Staves and Voices go here > \context Voice = "V" { s2 \hideNotes s1 > \unHideNotes }% ... > MAKES THIS LINE WORK PROPERLY > >> } > > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ 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: Program crashes whenever I start it (not solved yet)
Simon Dahlbacka gmail.com> writes: > > > Just a random thought, do you have another python version installed?/Simon > > How do I check to see which version of Python I have installed?b ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Newbie: chord names above staff?
Jacobs, Steven P pitt.edu> writes: > > I am trying to do something that I think would be quite > common, placing chord names for a solo > > in the middle of a song. Following the lilypond > documentation on ChordNames and \chordmode, > > I came up with the code shown below. The problem is that > the chord names appear below the > > staff. In all of the examples shown in the lilypond documentation, > the chord names appear > > above the staff, and that is what I want. What am I doing wrong? > Please help if you can. > The reason the Chord names appear below the staff is you are adding a new staff (the chord staff) partway through the piece. You'll get what you want if you put the chord staff in parallel with your music starting from the first measure. See below. Carl Sorensen \header { title = "Chord Test" } sl = { \override NoteHead #'style = #'slash \override Stem #'transparent = ##t } nsl = { \revert NoteHead #'style \revert Stem #'transparent } melA = { e'4^\markup{Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1} melB = { e4^\markup{More Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1} adlib={\sl b,4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 \nsl} chordline = \chordmode { s1 * 4 a1:m7 a1:m7 a1:m7 a1:m7 s1 * 4} \version "2.10.33" \score { << \new ChordNames \chordline \relative { \clef treble \time 4/4 \key a \minor {\melA \adlib \melB}} >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
parent spanner that can contain a hairpin
What is the parent spanner referred to in: Spanner `Hairpin' is not fully contained in parent spanner ? Knowing that might make the error message easier to use. TIA, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user