Re: Vertical aligning of lyric stanzas
Mats Bengtsson wrote: > Did you try convert-ly? > Yes, the message is as follows: " convert-ly -e gomolka.ly convert-ly --from=2.6.3 --to 2.7.22 gomolka_nowy.ly convert-ly (GNU LilyPond) 2.7.22 Processing `gomolka.ly'... Traceback (most recent call last): File "/home/ania/programs/bin/convert-ly", line 272, in ? main () File "/home/ania/programs/bin/convert-ly", line 266, in main do_one_file (f) File "/home/ania/programs/bin/convert-ly", line 154, in do_one_file from_version = str_to_tuple (guess) File "/home/ania/programs/bin/convert-ly", line 70, in str_to_tuple return tuple (map (string.atoi, string.split (s, '.'))) File "/usr/lib/python2.3/string.py", line 220, in atoi return _int(s, base) ValueError: invalid literal for int(): " My file has only 152 lines... There's no output file after this command. Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Vertical aligning of lyric stanzas
Hello, I have a piece with lyrics made in lilypond 2.6.3. Now I have lilypond version 2.7.22 (because of piano brace failure in 2.6). The problem is, that in the newer version minimumVerticalExtend property doesn't work and I don't know why. Every voice has 2 stanzas. Here is the source code: \score { \context ChoirStaff << \context Voice = discantusNotes << \set Staff.instrument = "Cantus" \global \discantusNotes >> \lyricsto "discantusNotes" \new Lyrics { \set minimumVerticalExtent = #'(1.2 . 2.4) \discantusLyrics } \lyricsto "discantusNotes" \new Lyrics { \set minimumVerticalExtent = #'(-2.0 . 2.2) \secondLyrics } \context Voice = altusNotes << \set Staff.instrument = "Altus" \global \altusNotes >> \lyricsto "discantusNotes" \new Lyrics { \set minimumVerticalExtent = #'(1.2 . 2.4) \discantusLyrics } \lyricsto "discantusNotes" \new Lyrics { \set minimumVerticalExtent = #'(-2.0 . 2.2) \secondLyrics } And so on, there is 4 voices. \set minimumVerticalExtent property doesn't work. Is there any knew possibility of doing this? Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ps2png - a python script
Thanks. I had problems with using "density" parameter in convert (I wanted a high resolution image), which is not quite the same as the -R option in ps2png. BR, Anna Choma Mats Bengtsson wrote: > If you have ImageMagick installed, a good alternative is the program > "convert". > For example, you can do > convert myfile.ps myfile.png > > /Mats > > Anna Choma wrote: > >> Hello, >> >> I have installed 2.7.22 version of Lilypond. There is no any more >> script ps2png. I've read in the archive, that a debian user should >> install tth package. It is a ps2png program in tth package, but it is >> not the same program (it doesn't work properly). I've got the script >> ps2png.py from the lilypond web (getting lilypond 2.4.5), but have >> problems with compiling it. Does anybody now how to install only >> ps2png.py? Or may anybody send me this script in a compiled version? >> It was very, very useful. >> >> Best regards, >> >> Anna Choma >> >> >> >> ___ >> 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
ps2png - a python script
Hello, I have installed 2.7.22 version of Lilypond. There is no any more script ps2png. I've read in the archive, that a debian user should install tth package. It is a ps2png program in tth package, but it is not the same program (it doesn't work properly). I've got the script ps2png.py from the lilypond web (getting lilypond 2.4.5), but have problems with compiling it. Does anybody now how to install only ps2png.py? Or may anybody send me this script in a compiled version? It was very, very useful. Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Braces in PianoStaff
Thanks. BR, Anna Choma Erik Sandberg wrote: > On Saturday 17 December 2005 21.10, Anna Choma wrote: > >>Hello! >> >>I use the 2.6.3 version of Lilypond. I've noticed that braces that >>appear ont the left side of each line are wider than the staff. Can >>one change this as to make that the ends of the brace would stick to >>the staff and not extend beyond it? > > > IIRC, this bug has been fixed in 2.6.5. > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Braces in PianoStaff
Hello! I use the 2.6.3 version of Lilypond. I've noticed that braces that appear ont the left side of each line are wider than the staff. Can one change this as to make that the ends of the brace would stick to the staff and not extend beyond it? Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Wrong eps file with lily 2.6.3
Hello, I have problems with generting an eps file (small music fragments). Usually, after generating the ps file using lilypond, I made the eps file from the ps using eps2epsi program and the eps file was correct. With the lilypond version 2.4.5 everything worked fine. But I have also installed the 2.6.3 version of lilypond. When I process the *.ly file with the newer lilypond, it creates a ps file, from which I can't generate a correct eps file. The bounding box is incorrect (the notes are beyond the box). Changing the box manually doesn't have any effect either. When I switch to lily 2.4.5, everything works fine again. Does anyone know why the 2.4.5 lilypond creates diifferent *.ps files from the 2.6.3 lilypond? Why I can't use the ps2epsi with lily 2.6.3? I've tried also ps2eps programm, it creates also wrong files (bad bounding box). Best reagards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stanzas in Lyrics --- alignment
Thank you very much. It works, but only for one voice. I have 4 voices, and each of them has two stanzas. My score looks (fragment with 2 voices): \score { \context ChoirStaff << \context Voice = discantusNotes << \set Staff.instrument = "Cantus" \global \discantusNotes \lyricsto "discantusNotes" \new Lyrics \discantusLyrics \lyricsto "discantusNotes" \new Lyrics \secondLyrics \set Lyrics.minimumVerticalExtent = #'(-5 . 2) >> \context Voice = altusNotes << \set Staff.instrument = "Altus" \global \altusNotes \lyricsto "discantusNotes" \new Lyrics \discantusLyrics \lyricsto "discantusNotes" \new Lyrics \secondLyrics \set Lyrics.minimumVerticalExtent = #'(-5 . 2) >> Setting the first works, setting the second doesn't work. Why? I've tried other places, but it works only, when I put the setting after the \lyricsto line. I've tried also put the line in the \context Lyrics in the \layout block. It has no effect either. What am I doing wrong? Anna Choma Mats Bengtsson wrote: > See the answer to question 3 in > http://lists.gnu.org/archive/html/lilypond-user/2005-03/msg00367.html > > /Mats > > Anna Choma wrote: > >> Hello, >> >> Maybe this is very easy, but I don't know how to do it. I have been >> looking in the manual, program reference and so on. I Have two stanzas >> of Lyrics and I want them to be closer each other. Namely how to >> reduce a little the gap between the first and second stanza without >> affecting padding of lyrics on the whole? >> >> Best regards, >> >> Anna Choma >> >> >> ___ >> 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
Stanzas in Lyrics --- alignment
Hello, Maybe this is very easy, but I don't know how to do it. I have been looking in the manual, program reference and so on. I Have two stanzas of Lyrics and I want them to be closer each other. Namely how to reduce a little the gap between the first and second stanza without affecting padding of lyrics on the whole? Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slur adjusting
Thank you very much. I've just installed version 2.6.3 and many slurs look a little better. But still they need some predefinitions, so I didn't remove commands \override. They work still. Best regards, Anna Choma Mats Bengtsson wrote: > The slur support has been reimplemented in version 2.6 and > further improved in the latest development versions, 2.7.9 > or later. Before you invest too much time on tweaking the > output of version 2.4, you may want to try a newer version. > Note also that you cannot expect the tweaks you do for version 2.4 > to be of any specific relevance in later LilyPond versions. > > > > Anna Choma wrote: > >> Hello, >> >> I write a piece of Wagner, where there is many many slurs. To make >> them look better (without collision with staff lines, accidentals, >> other slurs and ties, to make them stick to notes) I use such >> predefinitions: >> >> \override Slur #'extra-offset... >> \override Slur #'height-limit... >> \override Slur #'control-points... >> >> My version of Lilypond is 2.4.5 and my questions are: >> >> 1) How to revert the influance of such definitions after using it and >> after the changed slur? I have problem especcialy with control-points >> -- all the next slurs are changed. I have tried to use \once before >> the override command, but then changing next slurs with another >> command doesn't work at all. I've tried also putting the slured notes >> into brackets { }, it has no effect either. > > > You should definitely use \once. The question is just where you > should specify the settings, before the beginning of the slur or > before the end of the slur. I don't know the answer, so you had > better try it out yourself. > > /Mats > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Partcombine music
Hello, I write an orchestra piece and have some problem with partcombine formatting. 1) I need to have some control over partcombine setting. It's done automaticcaly (sometimes stems and slurs are written in two oposite directions and there are two voices, sometimes the two voices are linked into one). How to achieve control over such formatting? I would like to have more "one voice" formatting with a sign "a2". Two voices are very often identicall, so why are they split? 2) How to raise a little the "solo" word in partcombine music? It appears automatically and it's ok. Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Slur adjusting
Hello, I write a piece of Wagner, where there is many many slurs. To make them look better (without collision with staff lines, accidentals, other slurs and ties, to make them stick to notes) I use such predefinitions: \override Slur #'extra-offset... \override Slur #'height-limit... \override Slur #'control-points... My version of Lilypond is 2.4.5 and my questions are: 1) How to revert the influance of such definitions after using it and after the changed slur? I have problem especcialy with control-points -- all the next slurs are changed. I have tried to use \once before the override command, but then changing next slurs with another command doesn't work at all. I've tried also putting the slured notes into brackets { }, it has no effect either. 2) Is there any good method of changing slur curvature and slur beginning point and ending point? Only control-points? 3) Why the slurs so often doesn't stick to notes they belog to? Am I doing something wrong? Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Accidentals with 'modern' option doesn't work
Hi, I need to use modern style in the accidentals. But it doesn't work. What am I doing wrong? There is no difference to 'default' option. My version is 2.2.6 #(set-global-staff-size 16) \header { tagline = "" } Nuty = \notes { \time 4/4 #(set-accidental-style 'modern) d'8\startGroup dis''' gis' cis''' \stemDown g'\stopGroup c'''' r4 d'8 dis''' gis' cis''' r g' c'''' r d'[\startGroup r dis' \[gis'''] cis' g'''\] c'\stopGroup r} \score { \Nuty \paper { paperheight = 21.0 \cm linewidth = 134\mm pagenumber = no noindent = 0\mm \context { \StaffContext \consists "Horizontal_bracket_engraver"} } } Best regards, Anna Choma ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing bar numbers
Mats Bengtsson wrote: I think it's time for you to start reading the section of the manual called "Changing Defaults". Among others, you will learn that a \context{...} declaration specifies/changes the definition of a single context. So, you cannot change the definition of two different contexts in the same \context{...}. If you are not patient enough to find out the exact solution yourself, it's at the bottom of this email, but I really encourage you to try to solve it yourself first. /Mats Thank you very much. I have been using Lilypond some time ago (two years or so) and now had to write small pieces of music. Many features has changed, and I had to write them very quickly. When I have time I will thoroughly read the manual. But manipulating with scheme (and changing the defults) always seemed to me a bit complicated. I am patient, but when you don't have enough time... Best regards, Anna Choma Warsaw ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing bar numbers
Mats Bengtsson wrote: When I tried your file, I got a syntax error. From your email, I got the impression that the file was processed without problems but that the bar numbers didn't vanish. No, I've got syntax error too. That's my \paper block: \paper { paperheight = 21.0 \cm linewidth = 134\mm pagenumber = no indent = 0 \context { \ScoreContext \remove "Bar_number_engraver" \StaffContext \consists "Horizontal_bracket_engraver"} } The only problem with your file is that you had copied a solution written for an older version of LilyPond without updating the syntax. Just replace \translator with \context in your \paper{...} block to get a fully working example for version 2.2.6. Ok, I replaced \translator with \context, byt stiil it doesn't work. Syntax error still apears. When you upgrade to version 2.4 or whatever, use convert-ly to upgrade the syntax. For that reason, I recommend to already now insert a line \version "2.2.6" at the top of your .ly files. I have processed my file through convert-ly, but it has no effect on syntax inside the file. At first I processed without any arguments convert-ly file.ly Only the line version has changed to \version 2.2.0 Then I have processed with arguments: convert-ly -f=2.2.0 -t=2.2.6 I've got syntax error. I don't know why. By the way, I don't know what you expect the setting \set Staff.minimumVerticalExtent = #'(+2 . 5.1) to do. Since the staff lines themselves extend down to -2, there's no reason to set the lower edge (the first number) of the minimumVerticalExtent larger than -2. Yes, I know. I tried with different numbers to change the wertical distance between staffs. I noticed, that only changing the second number has an effect. Long ago I set the first number to +2, I don't remember why. Ok, I will set to -2. Best regards, Anna Choma Warsaw ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing bar numbers
Mats Bengtsson wrote: Could you please send a full example file that fails to work for you, I've never had any problems with the \remove "..." solution. /Mats Yes, I can. That's the whole piece: %%% #(set-global-staff-size 16) \header { tagline = "" } \score { \context Staff { %\override Score.BarNumber #'break-visibility = #all-invisible \set Staff.minimumVerticalExtent = #'(+2 . 5.1) \notes \relative c' { \time 4/4 \key c \minor c2 es g as b, r4 g'~ g fis2 f4~ f e2 es4~ es d des c b g c f es2 d c r }} \paper { paperheight = 21.0 \cm linewidth = 134\mm pagenumber = no indent = 0 \translator { \ScoreContext \remove "Bar_number_engraver" } }} %%% I commented my solution and put \remove into \translator block. Then it doesn't work. Once more --- my version is 2.2.6. Best regards, Anna Choma ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing bar numbers
Mats Bengtsson wrote: Assuming that you use version 2.2.x (please always tell, when you ask a question on the list, otherwise you might get an irrelevant answer since LilyPond keeps evolving quickly), the solution you propose yourself should work excellently. I just tried it myself. Where in the file did you include your \paper{...} block? /Mats My version of Lilypond is 2.2.6. I managed to remove bars numbers, but in a quite another way: \score { \context Staff { \override Score.BarNumber #'break-visibility = #all-invisible \notes {} } \paper {..} } The method to place something in \translator block doesn't work excellently. I have included \paper block inside \score block of course. Best regards, Anna Choma Warsaw ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Removing bar numbers
Hi! How to remove bar numbers? Why the old method doesn't work? Namely: \paper { paperheight = 21.0 \cm linewidth = 134\mm pagenumber = no indent = 0 \translator { \ScoreContext \remove "Bar_number_engraver" }} Maybe I should do something with visibility (setting to false), but how? I tried to do it, but without any result. Bes regards, Anna Choma ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Placing tempo marking and instrument names
Paul Scott wrote: Anna Choma wrote: Hello! I have two problems: 1. How can one raise or lower the tempo marking \tempo 4 = 100 for example? It is too low (the first sign is a rest, the second note c'') and looks ugly. Which is the best way of shifting left and right symbols? Is there any universal way? How to use \kern or \raise in this context? 2. I have done a score with 14 instruments. The are many names of instruments, long and short. Lilypond places them aligned to left (raggedright, flushleft). I wanted to put them near the score, namely aligned to left (to score). Hown can I do it? Version, please? Paul Scott Lilypond 2.2.6 1. I managed to do the first using: \override Score.MetronomeMark #'padding = #5.8 2. But the second? Anna Choma ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Placing tempo marking and instrument names
Hello! I have two problems: 1. How can one raise or lower the tempo marking \tempo 4 = 100 for example? It is too low (the first sign is a rest, the second note c'') and looks ugly. Which is the best way of shifting left and right symbols? Is there any universal way? How to use \kern or \raise in this context? 2. I have done a score with 14 instruments. The are many names of instruments, long and short. Lilypond places them aligned to left (raggedright, flushleft). I wanted to put them near the score, namely aligned to left (to score). Hown can I do it? Bes regards, Anna Choma Warsaw ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Jazz fonts
Hello! I would like to ask, whether is there any possibility of installing other fonts (namely jazz fonts looking like finale's jazz fonts) and use them with lilypond? I need to write some small lines of jazz music (of different lengths), wchich would look like handwriting of jazz componist. I don't want to work with Finale... I was looking for such fonts, but without any resoults. I work with TeX on Unix. Best regards, Anna Choma ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user