Re: Automatic note splitting and line breaks - version 2.11.22
Graham Percival wrote: This doesn't work, and apparently has never worked. I could have sworn that I removed this from the manual, but apparently I forgot. It's gone now. See bug 343 in the google tracker for slightly more info. Apparently it _can_ work, in special circumstances. See the docs for 2.11.24 when they come out, or bug 343. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Varying shape note heads varying by semitone
I have to admit that I'm stuck here. I see some documentation for gros here: http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/grob_002dinterface#grob_002dinterface but I don't know where to start. Do you have a suggested URL? Han-Wen Nienhuys [EMAIL PROTECTED] writes: It would be the coolest if (all) these extensions could happen in grob-property space. This could be done by automatically overriding and reverting grob properties when middleCPosition or tonic context properties change. 2007/4/21, Kevin Dalley [EMAIL PROTECTED]: As another step toward in my path toward varying notation in LilyPond, I am varying note shapes by semitone. Usually, there are fewer than 12 note heads, but the semitone of the note determine the shape. My current implementation uses a function shapeLayoutFunction which returns an integer, which is an index into the vector shapeNoteStyles. This seems to work. The function description is: Function returning an integer which indexes into shapeNoteStyles vector. It takes an argument of pitch and tonic. Altnernatively, I could define a function which return a note head shape. Does anyone see a good reason to prefer one to the other. The first option has an advantage of using a small function like this: #(define (shapeSemitone pitch tonic) (modulo (ly:pitch-semitones pitch) 12)) plus an already standard vector. The second option has an advantage of everything being included in one variable, but the disadvantage of requiring slightly more complicated functions. For examples, see Twinline or kevin in this page: -- 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
Re: lyric vertical spacing
I went looking in the mail archive to see if I could find an answer to my question as I had not heard from anybody, only to discover that Mats had responded. For some reason it did not find its way to my in-box. Which LilyPond version? The vertical spacing handling has changed significantly in the latest development version 2.11, compared to earlier versions. I'm currently running v2.10.23. You should be able to find several examples in the mailing list archives. The basic ideas are described in the section on Vertical spacing inside a system. I went there per your suggestion and tried tweaking the minimum-y-extent but I was unable to make it any better. I eventually tried #'extra-offset on the lyrics. This solved half of the problem. I was able to move them close enough to the staff for my purposes but, of course, it did *not* change the spacing of the systems above and below the lyrics. -David /Mats David Bobroff wrote: I want to move some lyrics much closer to the staff. I also think I need to decrease the space below them as well. I have not yet found the right place in the docs. Could somebody point the way? -David ___ 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: OOoLilyPond on Windows
Tim Reeves wrote: Thanks John, So is there a simple way to change the OOoLilyPond macro to send -dbackend=foo instead of -b foo? You can edit the Macro in OpenOffice.org. Go to Tools -- Macros -- Organise Macros -- OpenOffice.org Basic Then select the Module Subs from the OOoLilyPond library and then the Macro CallLilyPond. Click Edit. You will find the following strings two times. Once for Windows and once for Linux: -b eps -f png -dresolution= and -b eps -f eps OOoLilyPond.ly OOoLilyPond.out 21 Change the strings appropriately to get it working with LilyPond 2.11. Otherwise you could use the stable version 2.10.x for OOoLilyPond. regards, Samuel ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyric vertical spacing
Hi, David: I went there per your suggestion and tried tweaking the minimum-y- extent but I was unable to make it any better. I eventually tried #'extra-offset on the lyrics. This solved half of the problem. I was able to move them close enough to the staff for my purposes but, of course, it did *not* change the spacing of the systems above and below the lyrics. Worst case, you can move each and every staff manually. Define staffAdjust = #(define-music-function (parser location adj) (pair?) #{ \overrideProperty #Score.NonMusicalPaperColumn #'line-break-system-details $adj #}) and then, in your music, use \staffAdjust #'((alignment-offsets . (0 -8.5 -15 -25.5 -30.5 -37 -45.5 -52 -64))) This is just an example from my own choral composition -- the nine staves to which the numbers correspond are soprano soprano lyrics alto alto lyrics tenor tenor lyrics bass bass lyrics piano reduction (two staves together in a PianoStaff) Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
more lines of text
Hi, Is there a way to generate more than one line of songtext below the notes? I have a song, in which parts of the melody are repeated and I want to print two lines of text below one line of notes... Reagrds, Holger ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: more lines of text
On 09/05/07, holger lange [EMAIL PROTECTED] wrote: Hi, Is there a way to generate more than one line of songtext below the notes? I have a song, in which parts of the melody are repeated and I want to print two lines of text below one line of notes... Reagrds, I think that this could be what you are looking for: http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Entering-lyrics#Entering-lyrics Regards, Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
error messages while using \include italiano.ly
using version 2.10 on winXP on OpenOffice.org with macro Ctrl+M from OOoLilyPond I try to write music sheet using french syntax (as do re mi fa ...) I wrote therefore this simple file: \include italiano.ly { do re mi fa } which returns an error message; Files like \ relative c' { a b c d } works I tried various syntaxes, adding or deleting blanks, carriage return witj various error message returned. I looked over examples end archives without finding any related topic. I suspect this difficulty to be trivial... Thanks for answer Charlie ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyric vertical spacing
Wow, yeah, that did it. Thanks! -David Kieren MacMillan wrote: Hi, David: I went there per your suggestion and tried tweaking the minimum-y-extent but I was unable to make it any better. I eventually tried #'extra-offset on the lyrics. This solved half of the problem. I was able to move them close enough to the staff for my purposes but, of course, it did *not* change the spacing of the systems above and below the lyrics. Worst case, you can move each and every staff manually. Define staffAdjust = #(define-music-function (parser location adj) (pair?) #{ \overrideProperty #Score.NonMusicalPaperColumn #'line-break-system-details $adj #}) and then, in your music, use \staffAdjust #'((alignment-offsets . (0 -8.5 -15 -25.5 -30.5 -37 -45.5 -52 -64))) This is just an example from my own choral composition -- the nine staves to which the numbers correspond are soprano soprano lyrics alto alto lyrics tenor tenor lyrics bass bass lyrics piano reduction (two staves together in a PianoStaff) 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
invisible ledger lines
I need to make some ledger lines transparent. I'm using an invisible note from which to hang a lyric syllable. The part itself (not the cues) will need to be available in different clefs. This will result in ledger lines appearing in one clef or the other. I haven't yet found the right phrasing to sweet-talk Lily into doing this for me. Hints? -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
cautionary accidental causes shift of lower accidental
Hello, all! Attached is a snippet from a piano piece I'm engraving. As you will see, the addition of a cautionary accidental in the upper part of the chord causes the lower (regular) accidental to shift unnecessarily. I've included this on -list, to document the (i.e., my current) workaround. Thanks! Kieren. p.s. You will also note the insufficient padding preceding the accidentals at the beginning of the second measure, but that's a different (ongoing) story... ;-) __ \version 2.11.23 % Mac OS X 10.4.9 \include english.ly theMusic = \relative { \key gf \major a' g'8[--( af gf'-- g f'-- gf ff']--) a g'8[--( af gf'-- g f'?-- gf ff']--) a g'8[--( af gf'-- g f'-- gf ff']--) a g'8[--( af gf'-- \once \override Accidental #'X-extent = #'(1 . -1) g f'?-- gf ff']--) } \paper { ragged-right = ##t } \score { \theMusic } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: hiding empty staves
Am 2007-05-07 um 03:28 schrieb Bryan Stanbridge: In LP 2.6 I could hide empty staves (also in the first system) with \layout { \context { \RemoveEmptyStaffContext } } Can't remember if I also needed \set Score . skipBars = ##t In LP 2.10 an empty stave in the first system is only hidden with \override Score . VerticalAxisGroup #'remove-first = ##t \layout {\context { \Score \override VerticalAxisGroup #'remove- first = ##t }} Should work. (I didn't test it, though) Thank you! My problem was: I didn't expect that I'd need \context two times: \context { \RemoveEmptyStaffContext } \context { \Score \override VerticalAxisGroup #'remove-first = ##t } Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LILYPOND_DATADIR in 2.10 / broken MIDI
Am 2007-05-08 um 11:06 schrieb Graham Percival: fiëé visuëlle wrote: GNU LilyPond 2.10.23 Fehler: LILYPONDPREFIX is obsolete, use LILYPOND_DATADIR I thought that would have been fixed? I thought so too, and I can't reproduce this on my system. Could you remove lilypond and remove any shell scripts? Then install lilypond again from scratch, and read the notes for the OSX app in the 2.11 documentation. The way recommended way to call lilypond has changed since the 2.8 days. Ok, you're right, I still had the old call in my alias: python $INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py $INSTALLDIR/LilyPond.app/ $@ The (seemingly errorneous) LILYPONDPREFIX is in lilycall.py which seems obsolete. Using exec $INSTALLDIR/LilyPond.app/Contents/Resources/bin/lilypond $@ as suggested in http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Notes-for- the-MacOS-X-app works. Further, in all my MIDI files is the last note missing! (PDF score is good.) Minimal example, please. http://lilypond.org/web/devel/participating/bugs I reckognized my LilyPad still used LilyPond 2.10.12. With 2.10.23 everything's ok. Thank you and sorry for the noise. Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: name of chord font?
Am 2007-05-08 um 14:13 schrieb Selyem Zoltán: i'm adding chords as text markup (version 2.10.20), and I would like the chord symbols to look distinct from the other text. I do the same (with Verdana Bold though), but I think there is a way to define your own chord names and then you could use normal chords which can be played in the midi file. Unfortunately I don't know how to do that. \context ChordNames { \override ChordNames . ChordName #'font-name = #Gentium %\germanChords %\set chordChanges = ##t \chordmode { c4 g c2 } } Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cautionary accidental causes shift of lower accidental
Kieren MacMillan wrote: Attached is a snippet from a piano piece I'm engraving. A more minimal example would be nice -- say, two notes in a chord. As you will see, the addition of a cautionary accidental in the upper part of the chord causes the lower (regular) accidental to shift unnecessarily. If you look closely, and draw a box around each symbol (accidental, accidental+parenthesis), and imagine 0.2 staff-line-widths of padding around each box, you will see that the boxes+padding _are_ colliding. Improving collision detection is an ongoing task with lilypond. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: error: minimise_least_squares (bug?)
On May 9, 2007, at 7:11 PM, Graham Percival wrote: Stan Sanderson wrote: Preprocessing graphical objects... programming error: minimise_least_squares (): Nothing to minimise This means that vertical spacing is triggered before line breaking Previous postings to the list referred to earlier versions and suggested a bug report... For bug reports, please see http://lilypond.org/web/devel/participating/bugs Please note that we require a _minimal_ example -- in this case, I would guess that four notes are sufficient. In addition, this bug might have already been reported; I'm not certain because the example is too long for me to examine in detail. Cheers, - Graham O.K., I pared it down to a minimum (AFAIK). I eliminated the middle voice. \version 2.11.23 \include english.ly \paper{ ragged-right=##t } { e''4. e''4 e''8 fs'' g''}\\{ e2 ~ e8 r4.} inline: Picture 1.png The resulting error is as given above in the initial post. My concern is with the vertical spacing between systems, which changed when going from Lilypond 2.10.20 to 2.11.23. The piece I have set prints on two pages; v 2.10.20 distributed the systems evenly between the two pages; v2.11.23 reduces the number of systems on the first page by one and crowds them on the second page. I am clueless as to how to respond to the error, and a search of the manual for minimize and other variations of the error message did not provide enlightenment. Thanks! Stan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: error: minimise_least_squares (bug?)
Stan Sanderson wrote: O.K., I pared it down to a minimum (AFAIK). I eliminated the middle voice. \version 2.11.23 \include english.ly \paper{ ragged-right=##t } { e''4. e''4 e''8 fs'' g''}\\{ e2 ~ e8 r4.} I've added this as another example in http://code.google.com/p/lilypond/issues/detail?id=362 Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user