Re: Bar length loop
If it is completely consistent, I would do a time signatures variable with \repeat unfold xx { \time 2/4 s2 \time 3/4 s2. \time 5/4 s4*5 } On 28.11.2009, at 10:14, Uri Sala wrote: Hi, How can I loop automatically through a constant series of bar lengths, such as 3/4 2/4 5/4 3/4 2/4 5/4 3/4 2/4 5/4 ...etc ? Making a compound bar of 3+2+5 / 4 doesn't serve me, btw. Thanks Uri ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: SpanBar and Lyrics [now also new: with Segfault]
On 26.11.2009, at 16:51, Alexander Kobel wrote: Note that the second example in the file produces a segfault for me, with 2.12.2 and 2.13.7; is this related by any chance? If so, perhaps it should go into the same bug report, otherwise it should be split. At least, someone could test on her system if it's just my fault. While I can't say for certain, but this is probably because StaffGroup already has Span_bar_engraver, and your code attempts to add an engraver to a context that already has that engraver. Incidentally, I see the behavior with the lyrics, and before I add it, I just wanted to see if I could get different results. \version 2.12.2 \score { \new Staff { \repeat unfold 32 { c''8 } \bar |. } \new ChoirStaff \new Staff { \context Voice = upper \repeat unfold 3 { c''2 } \override Staff.BarLine #'allow-span-bar = ##f \context Voice = upper \repeat unfold 3 { c''2 } \revert Staff.BarLine #'allow-span-bar \context Voice = upper \repeat unfold 2 { c''2 } } \new Lyrics \lyricsto upper \lyricmode { %% long-syllables position should not be affected by the forbidden SpanBar long-syllable a b c long-syllable d long-syllable e } \new Staff \repeat unfold 8 { c''2 } \layout { \context { \ChoirStaff \consists Span_bar_engraver } } } James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: variables
On 24.11.2009, at 02:02, Frank Steinmetzger wrote: Am Montag, 23. November 2009 schrieb Hugh Myers: Given: eMinor = e b gis e b e, I'd like to be able to do something like \eMinor' since I'm working in relative mode. Is this possible. Same thing for chord length, i.e. \eMinor2. etc. AFAIK: eMinor=\relative c { e b gis e b e, } And then use \eMinor to paste it into your score. No, this needs scheme to define the chord. AFAIK, something to this effect is being on currently. See the thread here: http:// lists.gnu.org/archive/html/lilypond-devel/2009-11/msg00288.html James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyric extenders in the middle of words
On 22.11.2009, at 10:56, Roman Stawski wrote: Question to the wise : how do you use extenders in the _middle_ of words. … The 'Ly' of lyric is stretched across two notes and I want to indicate this with an extender. Why? That's (I won't say wrong but) non-standard However, it is the first syllable of 'Lyric' and I want to indicate this with a hyphen. This is the way it's done. In vocal music, there are two symbols to indicated that a particular is sung for more than one note: the hyphen and the extender line. A hyphen is used between two syllables of the same word to let the singer know that these two syllables belong to the same word. The extender line is used at the end of a word to let the singer know that this word is sung for more than one note. Or better yet, do you have an example of somewhere this is used? I've never seen anything like it, and quite frankly, as a singer, I would be very confused by it. It implies that Ly is a wholly self-contained word within the word Lyric James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slurs and polyphony
Do you mean tie? If so, just put the two measures together, {r4 \times 2/3 {gis'8 b e } e,4 \times 2/3 {gis'8 b e} e,2 }\\ {e,2.~e} On 22.11.2009, at 23:51, Hugh Myers wrote: Is it possible to slur the second voice in: { r4 \times 2/3 { gis'8 b e } e,4 } \\ { e,2. } { \times 2/3 { gis'8 b e } e,2 } \\ { e,2. } I feel that it must be but have not stumbled apon the solution as yet. --hsm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Adding a four-part refrain after a melody piece?
There are many ways to do this. I usually have five musical parts for this kind of thing. one for the melody, then SATB separated out into their own variables with a manual \break between the two. for example: \version 2.12.2 \layout {\context {\RemoveEmptyStaffContext \override VerticalAxisGroup #'remove-first = ##t } } global = { s1*6 \break s1*4 \bar |. } melody = { \repeat unfold 24 {c'4} } Soprano = { R1*6 \repeat unfold 16 {c''4}} Alto = { R1*6 \repeat unfold 16 {e'4}} Tenor = {R1*6 \repeat unfold 16 {g4}} Bass = { R1*6 \repeat unfold 16 {c4}} \score { \new Staff \melody \global \new ChoirStaff \new Staff \global \new Voice = Soprano { \voiceOne \Soprano} \new Voice = Alto{ \voiceTwo \Alto } \new Staff \clef bass \global \new Voice = Tenor { \voiceOne \Tenor } \new Voice = Bass {\voiceTwo \Bass } } On 21.11.2009, at 20:16, Tom Dickson wrote: I have a setting of O Come, O Come Emmanuel that I want to make the refrain in four-part harmony, but leave the rest of the hymn in melody. Right now I'm cheating by putting the Refrain as the last part of the first verse. A copy of the file is here: http://schnecke.bombcar.com/random/ ocomeocomeemmanuel.ly What would I do to make the refrain SATB? I don't want to make the whole piece 4 part. Thanks! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: time signature: 3.5/4
On 19.11.2009, at 18:27, stefankaegi wrote: Hi I'd like to have the time signature 3+1/2 / 4 (three and a half quarters). How can I do this? Thank you for your advice Best wishes The easiest way is probably to create a hidden 7/8 time signature, and override the displayed time signature with markup showing what you want. If you speak german, there's a german lilypond forum at www.lilypondforum.de James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: time signature: 3.5/4
On 19.11.2009, at 18:27, stefankaegi wrote: Hi I'd like to have the time signature 3+1/2 / 4 (three and a half quarters). How can I do this? Thank you for your advice Best wishes The easiest way is probably to create a hidden 7/8 time signature, and override the displayed time signature with markup showing what you want. If you speak german, there's a german lilypond forum at www.lilypondforum.de James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: time signature: 3.5/4
As a general rule, I would suggest the learning manual, chapter 4 (and everything else before it) to understand a) how lilypond works, and b) how to make changes, i.e., \overrides On 19.11.2009, at 20:48, stefankaegi wrote: Do you have any idea how to do this override stuff? Sorry, I have no clue. Will check out the forum. Cheers, Stefan Am Donnerstag, den 19.11.2009, 19:00 +0100 schrieb James E. Bailey: On 19.11.2009, at 18:27, stefankaegi wrote: Hi I'd like to have the time signature 3+1/2 / 4 (three and a half quarters). How can I do this? Thank you for your advice Best wishes The easiest way is probably to create a hidden 7/8 time signature, and override the displayed time signature with markup showing what you want. If you speak german, there's a german lilypond forum at www.lilypondforum.de James E. Bailey James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beginner's questions
On 18.11.2009, at 18:36, David Kastrup wrote: Pierre RUEL ru@vtx.ch writes: Hello, … and the analysis of the soft says: syntax error, unexpected STRING, expecting or DRUM_PITCH or MUSIC_FUNCTION or NOTENAME_PITCH do''2 reb''2 Could anybody explain what is that guilty STRING ? Apparently do. Seems like you don't use italiano.ly after all. Translation. You need to add \include italiano.ly to your input file. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Segmentation fault with \ and \!
1) I cannot reproduce this error. 2) typically the numbered output you see Interpreting music... [8] [16][24][32][33] is lilypond's way of telling you where in the music it is. In this case, the error is likely in measure 33. Try compiling everything before measure 33 and add notes until you find the problem. On 16.11.2009, at 18:46, Michael DePriest wrote: This line (measure 11 of the piece I'm working on) works just fine if I compile it without dynamics: d fis16 d fis d fis8 cis e16 cis e cis e8 | b d16 e a, c e' b d8 r | But if I add a diminuendo, d fis16 d fis d fis8 cis e16\ cis e cis e8\! | b d16 e a, c e' b d8 r | I get this in the terminal: GNU LilyPond 2.10.33 Processing `file.ly' Parsing... Interpreting music... [8][16][24][32][33] Preprocessing graphical objects...Segmentation fault I have other crescendos and diminuendos in the piece. ___ bug-lilypond mailing list bug-lilyp...@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord symbol placement from \layout
I'm assuming that you're using 2.13? This problem has apparently been addressed and fixed for the next release. http://code.google.com/p/lilypond/issues/detail?id=890 On 14.11.2009, at 21:49, Jesús Guillermo Andrade wrote: Dear fellows: I need to learn some fundamental inner working of the chord symbols. Regarding their placement in the page, I've tried the following construct in a single page: \layout { \context{ \Lyrics \override LyricText #'font-size = #-1 \override VerticalAxisGroup #'minimum-Y-extent = #'( 0 . 0 ) } \context{ \ChordNames \override ChordName #'(baseline-skip . 2) %\override VerticalAxisGroup #'minimum-Y-extent = #'( -1 . 3 ) } It has been proved wrong, since the resulting symbols are not in the same fixed distance from the staff lines. So what can I do to control their position efectively in respect of the staff itself across all systems? If you may, please have a look at the attached image: 1st system is ok, whereas the next ones change continually over the rest of the song, showing different separations between the symbols and the top line of each staff. Perhaps its some sort of collission control in effect here? I would need to set a fixed height for all chord symbols, then I would need to prevent collisions, but i guess that last part is taken care of automatically... or not? Thanks a lot for your kind help. Guillermo Viajera-del-Rio.jpg Viajera-del-Rio.jpg___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Free-time music with correct accidentals
On 13.11.2009, at 18:07, Richard Sabey wrote: How can Lilypond be used to create music in free time, with bar lines only where I explicitly put them in using \bar |? I've tried using \cadenzaOn but then Lilypond mismanages accidentals. I need a bar line to stop the effect of all accidentals (with the possible exception of notes tied from the previous bar). I see that similar questions have been asked before, but they did not get satisfactory replies. In particular, how can I avoid the following buggy behaviour in the following example: * the 2nd bar's 1st note is A# but lacks a # * the 3rd bar's 2nd note has a needless natural; I'd prefer there to be no needless accidentals except where I explicitly call for them using ! * the 3rd bar's 3rd note is G# but lacks a # * the last note has a natural as well as a flat even though it's in a Staff where extraNatural = ##f. I do this by having hidden time signatures. That way, I have bar lines where I want them, accidentals that make sense, and everything else associated. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manually place a clef object?
On 12.11.2009, at 22:40, Mats Bengtsson wrote: Quoting Neil Puttock n.putt...@gmail.com: Another option is to add the clef to the edge of the repeat barline: I would probably use a breath mark as a starting point (a similar trick is shown in http://lsr.dsi.unimi.it/LSR/Item?id=377), whereas the proper solution would be to first use \set Staff.forceClef = #t to get the clef printed and then hook onto some breaking related properties to use different clef glyphs before and after the line break. /Mats Wow, that's really good. It probably has all the spacing benefits of adding an extra quarter note, without all the fuss of having to hide things and fake the time signature and everything. I'm going to have to use that the next time I do something like that. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: upgrading
On 11.11.2009, at 12:13, Gerard McConnell wrote: Hi, Perhaps a stupid question - is there any reason NOT to upgrade from 2.12.x to 2.13.7? Thanks, Gerard I tend to work from the if it ain't broke, don't fix it principle. So, unless there's something fundamentally broken that you absolutely cannot work without (like custom key signatures) that's fixed in 2.13 and not in 2.12, I would wait. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Manually place a clef object?
On 11.11.2009, at 22:37, Peter Kaplan wrote: When a repeated section begins in one clef and ends in another (as in the Basso Continuo part I'm working on), it would be nice to be able to add a reminder clef at the end of the repeated section, to alert the player to return to the original clef when the repeat sign is reached. This behavior is easy to implement when the repeated section comes at the end of the score; a simple \clef tenor can be placed after the final note and the tenor clef will appear between the final note and the end of the bar -- perfect. However, when the repeated section does not come at the end of the score, this same fix fails. Lilypond instead looks to see if there are any notes following the reminder clef, finds none, and omits the reminder clef when engraving. Is there an alternative way to manually place a clef object for use in such cases? Snippet can be found at http://pefty.elementfx.com/audio/snippet.ly In such a case, I would use markup: have a hidden time signature with one extra quarter note, remove the stem from the note engraver, change the stencil for the notehead to be the requested clef, and then use either \raise or \lower to get it to the proper height. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Pango problems
On 10.11.2009, at 17:04, Kieren MacMillan wrote: [Mac OS X 10.4.11, Lilypond 2.13.7] Hi all, When I run lilypond -dshow-available-fonts blabla I get dyld: Library not loaded: @executable_path/../lib// libpangoft2-1.0.0.dylib Referenced from: /Applications/Lilypond/development/LilyPond.app/ Contents/Resources/bin/lilypond Reason: Incompatible library version: lilypond requires version 2601.0.0 or later, but libpangoft2-1.0.0.dylib provides version 2401.0.0 Trace/BPT trap Couldn't find relevant help/fix in the docs or on the list — any help would be appreciated. Kieren. Not that I know how to help, but, as one of the few 10.4 users here, I just wanted to say that I cannot reproduce this. Neither from my normal account, with a PATH variable and extra installed programs, or from a fresh user account that basically has the default settings. Maybe try with a fresh version of lilypond on a different account and see if you have the same problems? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quit
On 10.11.2009, at 20:36, Erik Appeldoorn wrote: I’ve been around for a short while only. A month with lilypond and 3 weeks on the list. Made a couple of scores, quite complex ones. But for each and every one I had to fiddle for hours and hours trying to grab all the details. All the while I had Sibelius at the ready and whenever I did fallback finished the score in record time. This is not going to continue I thought. I’d rather have a score that looks 85% than no score at all. So for now it’s quits with Lilypond. Perhaps I’ll be back, I just don’t know. All that helped, many thanks. I have now disabled the posts from the list, any reply have to be personal. Hou je goed / Keep well, Is this the equivalent of quitting your job and telling all of the people there you're all a bunch of idiots! except that no one here really cares whether or not you use lilypond? For what it's worth, I lasted about the first time I downloaded lilypond back in 2005, and then maybe four months the next time. And it really wasn't until the documentation was re-written, and I had the time to devote three months to learning lilypond that I finally got it. Until that time (and while I was writing the music for my senior recital) I unhappily used finale. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quit
On 11.11.2009, at 01:01, Erik Appeldoorn wrote: As several users have responded asking for feedback why I stopped with lilypond (or criticism). Here's my 2cents worth. During the last four weeks I have been restoring a piece. It has come to me in several different parts. Handwriting, several voices just as extraction parts. The publisher asked for goodlooking, editable scores. Which seemed like a good point to start with lilypond. I started with the simplest piece, a voice with organ. Laying it all out wasn't the problem. I am familiar with programming, and familiar with other markup languages. From day one I ran into trouble with notating what was asked. I have found the list very friendly and very helpful. In the end all my questions were answered, and all notating puzzles solved. But the fact I had to use several of these solutions (or work arounds) in one score (or even in one bar) made inputting very tedious. The last piece I did was a short piece of 25 bars, four voices. Took me two days to complete. And although I can see that the speed will get greater, at this point I'm only frustrated. I created all 10 movements in Sibelius, took me about 5 evenings. I have created the 4 smallest of them with lilypond, took me 20 evenings. So I take all the blame. I'm just to slow. On the practical side the work just could not wait. I'm guessing the Sibelius comparison also applies to the first month you spent using sibelius? I've heard it has a very intuitive interface, but I know the first couple of months I spent with finale were very difficult. Also, the complaint here isn't that there's some inherent defect in the program or the documentation, rather that you didn't want to take the time to learn how to use lilypond when you could do it in sibelius faster. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument name positioning changed in 2.13.4
On 04.11.2009, at 17:13, Rodolfo Zitellini wrote: Hello all, Has the instrument name positioning changed in 2.13.4? The code for the incipit (http://lsr.dsi.unimi.it/LSR/Snippet?id=582) seems to completely break since this release. Is there a detailed changelog of what happened so I can fix it? thanks, Rodolfo No \version statement? That's horrible. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument name positioning changed in 2.13.4
On 04.11.2009, at 18:00, Graham Percival wrote: James: LSR doesn't include version snippets. Yeah, I just read that. My badge. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: escaped string
If I remember correctly, \fontSize is not a known LilyPond string. On 01.11.2009, at 00:20, Erik Appeldoorn wrote: Why do I get ëscaped string” error here. The compiled result looks ok to me \layout { \context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) \fontSize = #-2 } } Hou je goed / Keep well, Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 28.10.2009, at 19:34, James E. Bailey wrote: I thought at first that Python 2.6 was bundled in the darwin installers now, but I'm not so sure. Is the python executable in your LilyPond_devel.app/Contents/MacOS just a wrapper or something? Because I see that the md5 library in your backtrace is part of a separate Python installation. -Patrick I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least. James E. Bailey Okay, yeah, that solved the problem. downgrading to python 2.4.6 solved the problem and lilypond-book works perfectly now. Whom do I talk to to have this updated in the distributed binary? Or is this not a feasible option because 10.5 and 10.6 don't have this problem? James E. Bailey 2.6.2 is bundled in the darwin installer, however, anything later than 2.4.6 will not work. I just tested with 2.5.4 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Controlling MIDI output and chords
On 29.10.2009, at 07:30, Chris Angelico wrote: Hi! Apologies for using the list for something that's probably clearly described on page 32767 of the docs, but I've been searching around and can't find it among the massive amounts of information there!! :) I'm using Lilypond to create both MIDI and PDF scores. What I hope to achieve is a printable score which has four-part piano (two on the treble clef, two on the bass), lyrics in the middle, and chord names across the top; and in the MIDI, I want the piano parts, the lyrics, but not the chords. So far, I have a .ly file which produces correct-looking PDF output, but the MIDI has the chords as well. I'm guessing that it's probably something along the lines of removing the Note_performer from the MIDI output, but I tried that and it doesn't seem to work. Any advice would be gratefully received! As an alternative to actually suppressing the chords from the MIDI, taking their volume down to nothing would also serve. Thanks in advance! ChrisA You'll probably want to create two \score blocks, one for layout, with the chords, and one for MIDI, without the chords. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 29.10.2009, at 12:14, John Mandereau wrote: Le mercredi 28 octobre 2009 à 19:34 +0100, James E. Bailey a écrit : downgrading to python 2.4.6 solved the problem and lilypond-book works perfectly now. Whom do I talk to to have this updated in the distributed binary? Or is this not a feasible option because 10.5 and 10.6 don't have this problem? Downgrading Python is a workaround, but it's not a solution. Does replacing from md5 import md5 by from hashlib import md5 in /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book help? Best, John The problem exists still: 18:18:05 jamesebailey lilypond snippets:~/Applications/ LilyPond_devel.app/Contents/Resources/bin/lilypond-book -o=out lily- book-sample.lytex lilypond-book (GNU LilyPond) 2.13.6 Reading lily-book-sample.lytex... Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (/tmp/tmpsGGIV7.tex LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, danish, dutch, finnish, french, german, ngerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, ukenglish, loa ded. (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo)) No file tmpsGGIV7.aux. textwidth=345.0pt columnsep=10.0pt (./tmpsGGIV7.aux) ) No pages of output. Transcript written on tmpsGGIV7.log. Dissecting... Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from hashlib import md5 File /Users/jamesebailey/lib/python2.5/hashlib.py, line 133, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.5/hashlib.py, line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 28.10.2009, at 03:23, Patrick McCarty wrote: On Tue, Oct 27, 2009 at 11:14 AM, James E. Bailey derhindem...@googlemail.com wrote: Ah, I just realised you meant with the development version (it's not the main version I use, so I didn't think about it). I still have the md5 problem: 19:13:40 jamesebailey lilypond snippets:which python /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ MacOS//python 19:14:24 jamesebailey lilypond snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/ lilypond-book lily-book-sample.lytex lilypond-book (GNU LilyPond) 2.13.6 Reading lily-book-sample.lytex... Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (/tmp/tmp3fOBCU.tex LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, danish, dutch, finnish, french, german, ngerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, ukenglish, loa ded. (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo)) No file tmp3fOBCU.aux. textwidth=345.0pt columnsep=10.0pt (./tmp3fOBCU.aux) ) No pages of output. Transcript written on tmp3fOBCU.log. Dissecting... /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from md5 import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 I wish I could help more with this, but I can't reproduce your problem. IWBN if I had access to Mac OSX 10.4 machine, but I don't. I thought at first that Python 2.6 was bundled in the darwin installers now, but I'm not so sure. Is the python executable in your LilyPond_devel.app/Contents/MacOS just a wrapper or something? Because I see that the md5 library in your backtrace is part of a separate Python installation. -Patrick I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 28.10.2009, at 08:13, James E. Bailey wrote: On 28.10.2009, at 03:23, Patrick McCarty wrote: On Tue, Oct 27, 2009 at 11:14 AM, James E. Bailey derhindem...@googlemail.com wrote: Ah, I just realised you meant with the development version (it's not the main version I use, so I didn't think about it). I still have the md5 problem: 19:13:40 jamesebailey lilypond snippets:which python /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ MacOS//python 19:14:24 jamesebailey lilypond snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/ lilypond-book lily-book-sample.lytex lilypond-book (GNU LilyPond) 2.13.6 Reading lily-book-sample.lytex... Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (/tmp/tmp3fOBCU.tex LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, danish, dutch, finnish, french, german, ngerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, ukenglish, loa ded. (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo)) No file tmp3fOBCU.aux. textwidth=345.0pt columnsep=10.0pt (./tmp3fOBCU.aux) ) No pages of output. Transcript written on tmp3fOBCU.log. Dissecting... /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from md5 import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 I wish I could help more with this, but I can't reproduce your problem. IWBN if I had access to Mac OSX 10.4 machine, but I don't. I thought at first that Python 2.6 was bundled in the darwin installers now, but I'm not so sure. Is the python executable in your LilyPond_devel.app/Contents/MacOS just a wrapper or something? Because I see that the md5 library in your backtrace is part of a separate Python installation. -Patrick I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least. James E. Bailey Okay, yeah, that solved the problem. downgrading to python 2.4.6 solved the problem and lilypond-book works perfectly now. Whom do I talk to to have this updated in the distributed binary? Or is this not a feasible option because 10.5 and 10.6 don't have this problem? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Which markup for text paragraphs containing fragments of music?
On 28.10.2009, at 18:56, Jiri Zurek (Prague) wrote: Please forgive this beginner question. Could you please tell me which markup to use if I want to print longer text paragraph which would correctly wrap along page margins? \markuplines exists for this purpose And not even that, but which would correctly flow onto a second page if a bottom margin of the first page is reached? to my knowledge, none exists. You may want to look into other means of combining text with lilypond output, like lilypond-book And still other requirements are: the use of short inline fragments of music should be possible within such a paragraph of a text and also the basic text formatting (bold, italics) should be possible within the paragraph. again, lilypond-book exists for this purpose. I tried several solutions, but either there is only one long line of text which continues after the end of the page to infinity, or formatting cannot be used within, shortly, I was not successfull in finding suitable markup for this. -- View this message in context: http://www.nabble.com/Which-markup- for-text-paragraphs-containing-fragments-of-music-- tp26099202p26099202.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 29.10.2009, at 00:40, Graham Percival wrote: On Wed, Oct 28, 2009 at 07:34:31PM +0100, James E. Bailey wrote: Okay, yeah, that solved the problem. downgrading to python 2.4.6 solved the problem and lilypond-book works perfectly now. Whom do I talk to to have this updated in the distributed binary? This assumes that we have anybody working in this area. We do not. Figured as much I suppose that I'm dealing with release issues at the moment, but I think the python thing comes from the lilypad package generation. Hmm, perhaps now that we have python in the lilypond app, the scripts should use #!/path/to/lilypond/python rather than #!/usr/bin/env python. Then again, maybe this is already done. Last I checked, they use env python As you start dealing with bugs, I hope you won't be disappointed. Regardless of how nicely you write up the bugs and how carefully you tag them in the issue tracker, there's only approximately a 20% that the bug will be fixed in the first 3 months. After that, the chance drops to about 5-10%. (estimates from empirical bug data over the past couple of years) Ha! I've been a (partially) silent observer of lilypond development for at least a year now. I have zero expectations, hopes, or desires when it comes to issues being resolved. My only question at this point is, do I add this to the tracker with a known workaround or what? I mainly only concern myself with ways of getting the output that I need regardless of the issue in question. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 27.10.2009, at 08:58, Patrick McCarty wrote: On 2009-10-26, James E. Bailey wrote: And, for completeness' sake, here's the error output for 2.13.6: [snip] /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from md5 import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 What happens if you prepend the location of the included python binary to your PATH? I think it's in LilyPond.app/Contents/MacOS ? -Patrick Can you be a bit more explicit on the path of that binary? My own python is at ~/bin/ and in LilyPond.app/Contents/MacOS/, I only have LilyPond. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 26.10.2009, at 22:09, Graham Percival wrote: On Mon, Oct 26, 2009 at 06:52:17AM +0100, James E. Bailey wrote: On 25.10.2009, at 12:16, Graham Percival wrote: If you're going to use the unstable development version, then use the latest one. Various things have changed in the OSX package from 2.13.4 to 2.13.6. And, for completeness' sake, here's the error output for 2.13.6: Ok, evidently it's still a problem in 2.13.6. At this point, we could either wait and see if anybody posts a patch, send an email to the bug list in the hopes that it will get added to the tracker, or (in this particular case) you can add it to the tracker yourself after checking to make sure it's not already in there. Cheers, - Graham Yeah, I'll do that, I just wanted to make sure there isn't an existing workaround that anyone knew of before I added it. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 27.10.2009, at 08:58, Patrick McCarty wrote: On 2009-10-26, James E. Bailey wrote: And, for completeness' sake, here's the error output for 2.13.6: [snip] /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from md5 import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 What happens if you prepend the location of the included python binary to your PATH? I think it's in LilyPond.app/Contents/MacOS ? -Patrick Ah, I just realised you meant with the development version (it's not the main version I use, so I didn't think about it). I still have the md5 problem: 19:13:40 jamesebailey lilypond snippets:which python /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/MacOS// python 19:14:24 jamesebailey lilypond snippets:~/Applications/ LilyPond_devel.app/Contents/Resources/bin/lilypond-book lily-book- sample.lytex lilypond-book (GNU LilyPond) 2.13.6 Reading lily-book-sample.lytex... Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (/tmp/tmp3fOBCU.tex LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, danish, dutch, finnish, french, german, ngerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, ukenglish, loa ded. (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo)) No file tmp3fOBCU.aux. textwidth=345.0pt columnsep=10.0pt (./tmp3fOBCU.aux) ) No pages of output. Transcript written on tmp3fOBCU.log. Dissecting... /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents
lilypond-book on osx 10.4
is lilypond-book on osx 10.4 broken? I remember I had some problems before, but I don't know whta the current status is: I get these errors using 2.12.2 and 2.13.4, respectively: 2.12.2: 11:11:55 jamesebailey Downloads:lilypond-book --output=out --pdf lily- book-sample.lytex /Users/jamesebailey/Applications/LilyPond.app/Contents/Resources/bin/ lilypond-book:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond.app/Contents/ Resources/bin/lilypond-book, line 32, in module import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 2.13.4: 11:11:46 jamesebailey Downloads:~/Applications/LilyPond_devel.app/ Contents/Resources/bin/lilypond-book --output=out --pdf lily-book- sample.lytex lilypond-book (GNU LilyPond) 2.13.4 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2123, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2105, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1944, in do_file in_handle = file (input_fullname) IOError: [Errno 2] No such file or directory: '' James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 25.10.2009, at 12:16, Graham Percival wrote: On Sun, Oct 25, 2009 at 11:14:20AM +0100, James E. Bailey wrote: is lilypond-book on osx 10.4 broken? I remember I had some problems before, but I don't know whta the current status is: I get these errors using 2.12.2 and 2.13.4, respectively: If you're going to use the unstable development version, then use the latest one. Various things have changed in the OSX package from 2.13.4 to 2.13.6. Cheers, - Graham Well, I wasn't really planning on using the unstable development version, I just happened to have it on my computer. But, does this mean that the current release version of lilypond-book doesn't work, or is there something else I can do to get it to work? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book on osx 10.4
On 25.10.2009, at 12:16, Graham Percival wrote: On Sun, Oct 25, 2009 at 11:14:20AM +0100, James E. Bailey wrote: is lilypond-book on osx 10.4 broken? I remember I had some problems before, but I don't know whta the current status is: I get these errors using 2.12.2 and 2.13.4, respectively: If you're going to use the unstable development version, then use the latest one. Various things have changed in the OSX package from 2.13.4 to 2.13.6. Cheers, - Graham And, for completeness' sake, here's the error output for 2.13.6: 06:49:15 jamesebailey lilypond snippets:~/Applications/ LilyPond_devel.app/Contents/Resources/bin/lilypond-book lily-book- sample.lytex lilypond-book (GNU LilyPond) 2.13.6 Reading lily-book-sample.lytex... Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (/tmp/tmpVfRKhx.tex LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, danish, dutch, finnish, french, german, ngerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, ukenglish, loa ded. (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo)) No file tmpVfRKhx.aux. textwidth=345.0pt columnsep=10.0pt (./tmpVfRKhx.aux) ) No pages of output. Transcript written on tmpVfRKhx.log. Dissecting... /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book:1258: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2136, in module main () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2118, in main chunks = do_file (files[0]) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 2022, in do_file do_process_cmd (chunks, input_fullname, global_options) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1851, in do_process_cmd outdated = [c for c in snippets if c.is_outdated (options.lily_output_dir, output_files)] File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1379, in is_outdated found, missing = self.all_output_files (output_dir, current_files) File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1314, in all_output_files base = self.basename() File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1270, in basename cs = self.get_checksum () File /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/ Resources/bin/lilypond-book, line 1258, in get_checksum from md5 import md5 File /Users/jamesebailey/lib/python2.6/md5.py, line 10, in module from hashlib import md5 File /Users/jamesebailey/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /Users/jamesebailey/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: failed parts file
On 24.10.2009, at 01:06, Carl Glick wrote: I can't get my file to compile. The error message says error: syntax error, unexpected STRING (ly:parser-error parser (_ expected error, but none found I have tried putting the notes for the parts in separate files and in the same file, but neither has worked. However, it compiled properly when the file only had one movement. You probably have a stray , { or somewhere in your file. If you use an editor with bracket matching (like nano) it can show you where each bracket is closed James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, nothing happening
On 13.10.2009, at 01:16, Graham Percival wrote: What about having some screenshots of easy-to-use editors? I'm almost finished with my instruction for using nano. I just helped someone on the german list get that set up, and I figured I'd write instructions. What I have so far is here. http://sites.google.com/ site/nanoforlilypond/ James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: position text markup relative to barline
I don't know exactly how your music is set up, but \mark may be what you want. On 11.10.2009, at 16:08, Daniel McBrearty wrote: Hi all, Must say I like this software, just discovered it a few days back. Been working on a chart the last few days and learning as I go. Very impressive output, and I like the structured way of inputting notes ... one thing I like is that lp allows me to structure musical sections. I have include files that define the parts that given instruments have for various parts of the song, and then top level files that define scores for individual instruments or all. So, from the same set of incudes, I can generate a piano reduction with or without vocal line, or a lead sheet (melody line with chords, with or without lyrics ... ) This approach though leads me to want to put markings like DS al Fine between sections, like this: pianoright = { \pianoRightIntro \pianoRightChorus \pianoRightVerse ... } and now my Fine mark might want to sit between two sections like this: \pianoRightChorus ^Fine \pianoRightVerse Problem is that as the text needs to be linked to a note, not inserted between sections like this, that doesn't work. Any suggestions? thank you! Daniel -- sax, clarinet, guitar, vocals, composer http://www.danielmcbrearty.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest collision
On 10.10.2009, at 17:42, fiëé visuëlle wrote: Ahoi, please consider this snippet: \context Staff = StOne \time 3/4 \context Voice = main { \relative c' { e4 r e } } \context Voice = secondary { \relative c' { \override NoteHead #'font-size = #-3 \stemDown s e s } } The rest of voice main is placed below voice secondary's note stem - why, since there's enough space above? And how can I avoid that? 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 The \voiceOne \voiceTwo constructs solve this problem. You can read more in the Notation Reference under 1.5.2 Multiple Voices James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get started-no matter how hard I try
On 06.10.2009, at 23:52, Graham Percival wrote: On Wed, Oct 07, 2009 at 07:52:33AM +1100, Nick Payne wrote: My suggestion for an absolute beginner to get initially started is http://www.eugenecormier.com/pdfs/lilypond-guide.pdf. A few versions behind by now, but I don't think the basics covered in the guide have changed between 2006 and now. At only 18 pages including front cover, TOC, and appendices, it's less forbidding than the ~180 pages of the Learning Manual/ How is that worse than reading the first 18 pages of the Learning manual? Cheers, - Graham Not by way of excuse, but seeing that there are only 18 pages, people are more likely toa ctually read the whole thing, rather than seeing that there are 100+ pages, and saying, oh sod it all! James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Basic Music Question
On 03.10.2009, at 03:24, Athanasius Pelletier wrote: I am formatting a song that is 4/4 and the first measure only has a quarter note and the last measure has a dotted half. How do I represent that in lilypond (and in NoteEdit if anybody knows) BrAth ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Look up upbeat in the documentation James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems with layout variables in 2.13.4
On 01.10.2009, at 16:50, Federico Bruni wrote: I wonder also if it's possible to put some text on the right side of a short and not ragged staff. I'd like to add a description to each effect (see attached .pdf). I don't know if it will work with what you're doing, but you may want to try having the music in a markup block. Then, adding text on the right is very easy. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Wrong stem direction in first measure with appoggiatura
On 29.09.2009, at 16:14, Nick Didkovsky wrote: Hello Stems are going the wrong direction on the first measure of a score when a grace note is present. This is a known issue with graceMusic. \voiceOne has to be re-set after the grace note. Subsequent measures do not show this problem. This is not true. If you extend your first measure to be more than one measure long, you'll see this. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie direction problems
On 29.09.2009, at 15:03, Nick Didkovsky wrote: Hello Here's one measure of music with two voices on the same staff. Top voice has some notes that are tied. Bottom voice is an invisible rest. The stems on the notes are all going up. This is good. The ties are upside down however (frowns instead of smiles). This is bad. What am I doing wrong? Using a long out-of-date version of LilyPond Although, you may want to have a look at the \tieUp and \tieDown commands. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie direction problems
That's odd. I assume I get what you want with my install of 2.12.2On 02.10.2009, at 06:11, Nick Didkovsky wrote:Thanks JamesI was using 2.11.37 when I reported this problemI upgraded to 2.12.2 but the problem remains, unfortunatelyI am reluctant to use tieUp tieDown because then I will need to specify stem direction as well. These are things LilyPond has been doing fine without my specifying and I'd like to keep it that way. It makes better decisions about stem directions than I do. And it is only this situation when there is more than one voice on the staff where the problem arises.Is this an acknowledged bug with a chance of a fix?BestNick DidkovskyJames E. Bailey wrote: On 29.09.2009, at 15:03, Nick Didkovsky wrote: HelloHere's one measure of music with two voices on the same staff. Top voice has some notes that are tied. Bottom voice is an invisible rest.The stems on the notes are all going up. This is good.The ties are upside down however (frowns instead of smiles). This is bad.What am I doing wrong? Using a long out-of-date version of LilyPondAlthough, you may want to have a look at the \tieUp and \tieDown commands.James E. Bailey James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie direction problems
Ah, I misunderstood. Yes, you want \tieDown. If you'd rather, you can redefine \voiceOne so that ties are always down, but in multi-voice music, the ties follow the direction of the stems. Incidentally, setting \tieDown does not affect the stems. So no, this is not a bug, this is a feature. On 02.10.2009, at 06:43, Patrick McCarty wrote: Hi Nick, On 2009-10-02, Nick Didkovsky wrote: I was using 2.11.37 when I reported this problem I upgraded to 2.12.2 but the problem remains, unfortunately I am reluctant to use tieUp tieDown because then I will need to specify stem direction as well. These are things LilyPond has been doing fine without my specifying and I'd like to keep it that way. It makes better decisions about stem directions than I do. And it is only this situation when there is more than one voice on the staff where the problem arises. Is this an acknowledged bug with a chance of a fix? You are using more than one voice, so that is why the ties are up instead of down. The stem direction won't change if you use \tieUp or \tieDown. If you just want to override some of the ties, use c''4_~\noBeam Have you read the Learning Manual? I believe these issues are thoroughly covered there. -Patrick James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: command-line usage - bus error
On 26.09.2009, at 15:16, Patrick Schmidt wrote: Just to be sure, have you deleted the ~/.fontconfig, and ~/.fonts.cache* files (again) I wanted to do that (again) but I didn't find them in ~/ even though I made them visible. Well, if you're not finding them, then it probably means that they aren't there. But the easiest way to check is, in Terminal.app type 'ls -A ~' and (optionally) changed Font Book to store fonts on the computer, and not the user? That solved all of my font problems. Those font caches sometimes need a little help. What's that Font Book? Where do I find it and what do I have to change? Font Book.app is in the applications folder, and it's one of the preferences for the app, that fonts are stored at the global level (computer) or local level, (user). I found global works better. Thanks for your help patience! patrick No worries! James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: command-line usage - bus error
Can you run just lilypond? It may be a problem in the file. On 25.09.2009, at 10:32, Patrick Schmidt wrote: Dear Community, I get a bus error when I try to invoke 2.13.4.1 from the command- line (Mac OS X 10.4.11). I followed the guidelines in the manual Program Usage (section MacOS X on the command line). Compiling ly- files with a texteditor (jEdit) works just fine. Thanks for any hint. patrick When you installed 2.13.4, did you remember to delete the old lilypond app? If you didn't, that would explain why everything is screwed up now. No, I had not deleted old versions but had stored them in a separate directory. How can I test 2.13.4 but also keep an older version to work with? For now I deleted all my old versions and installed 2.13.4.0 darwin-ppc (with darwin-x86 I still get bus errors even though I have an MacOS X intel). Now I can run lilypond from the command-line again. You could also try deleting any $HOME/.font* directories you find, as well as the lilypond app, before downloading 2.13.4 and trying again. Just to make sure: the directories I'm supposed to delete should be in /Users/username and they are invisible? I deleted 3 files/ directories: .fontconfig .fonts.cache-1 .lilypond-fonts.cache-2 -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ bug-lilypond mailing list bug-lilyp...@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: command-line usage - bus error
Well, similar enough, the instructions have you make a link to the lilypond binary, but I was more interested if just lilypond (without a file argument) worked. And if I understand correctly, you're saying that 2.13.4.1 doesn't work. Was that even a complete upload? Graham mentioned something about that accidentally being uploaded due to his and Jan's working on GUB, see http://lists.gnu.org/archive/html/ lilypond-devel/2009-09/msg00543.html On 25.09.2009, at 19:40, Patrick Schmidt wrote: Original-Nachricht Datum: Fri, 25 Sep 2009 19:30:53 +0200 Von: James E. Bailey derhindem...@googlemail.com An: Patrick Schmidt p.l.schm...@gmx.de CC: lilypond-user Mailinglist lilypond-user@gnu.org Betreff: Re: command-line usage - bus error Can you run just lilypond? It may be a problem in the file. You mean invoking lilypond directly, e.g. /Applications/LilyPond.app/Contents/Resources/bin/lilypond foo.ly ? I also get a bus error. My scripts did work with older versions of LilyPond. Thanks for your help. patrick On 25.09.2009, at 10:32, Patrick Schmidt wrote: Dear Community, I get a bus error when I try to invoke 2.13.4.1 from the command- line (Mac OS X 10.4.11). I followed the guidelines in the manual Program Usage (section MacOS X on the command line). Compiling ly- files with a texteditor (jEdit) works just fine. Thanks for any hint. patrick When you installed 2.13.4, did you remember to delete the old lilypond app? If you didn't, that would explain why everything is screwed up now. No, I had not deleted old versions but had stored them in a separate directory. How can I test 2.13.4 but also keep an older version to work with? For now I deleted all my old versions and installed 2.13.4.0 darwin-ppc (with darwin-x86 I still get bus errors even though I have an MacOS X intel). Now I can run lilypond from the command-line again. You could also try deleting any $HOME/.font* directories you find, as well as the lilypond app, before downloading 2.13.4 and trying again. Just to make sure: the directories I'm supposed to delete should be in /Users/username and they are invisible? I deleted 3 files/ directories: .fontconfig .fonts.cache-1 .lilypond-fonts.cache-2 -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ bug-lilypond mailing list bug-lilyp...@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond James E. Bailey -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/ atbrowser -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: command-line usage - bus error
Just to be sure, have you deleted the ~/.fontconfig, and ~/.fonts.cache* files (again) and (optionally) changed Font Book to store fonts on the computer, and not the user? That solved all of my font problems. Those font caches sometimes need a little help. On 25.09.2009, at 21:09, Patrick Schmidt wrote: Well, similar enough, the instructions have you make a link to the lilypond binary, but I was more interested if just lilypond (without a file argument) worked. And if I understand correctly, you're saying that 2.13.4.1 doesn't work. Was that even a complete upload? Graham mentioned something about that accidentally being uploaded due to his and Jan's working on GUB, see http://lists.gnu.org/archive/html/ lilypond-devel/2009-09/msg00543.html Thanks for the link. I get a bus error when I invoke lilypond directly *and* when I just type lilypond. Last week I managed to get rid off this error message after I deleted three files (fontconfig .fonts.cache-1 .lilypond-fonts.cache-2) and re- installed 2.13.3. I could run lilypond from the command-line. Then I installed 2.13.4.1 to test the tablature features and the bus error reappeared. Now even going back to 2.13.3 does not help any more. On 25.09.2009, at 19:40, Patrick Schmidt wrote: Original-Nachricht Datum: Fri, 25 Sep 2009 19:30:53 +0200 Von: James E. Bailey derhindem...@googlemail.com An: Patrick Schmidt p.l.schm...@gmx.de CC: lilypond-user Mailinglist lilypond-user@gnu.org Betreff: Re: command-line usage - bus error Can you run just lilypond? It may be a problem in the file. You mean invoking lilypond directly, e.g. /Applications/LilyPond.app/Contents/Resources/bin/lilypond foo.ly ? I also get a bus error. My scripts did work with older versions of LilyPond. Thanks for your help. patrick On 25.09.2009, at 10:32, Patrick Schmidt wrote: Dear Community, I get a bus error when I try to invoke 2.13.4.1 from the command- line (Mac OS X 10.4.11). I followed the guidelines in the manual Program Usage (section MacOS X on the command line). Compiling ly- files with a texteditor (jEdit) works just fine. Thanks for any hint. patrick When you installed 2.13.4, did you remember to delete the old lilypond app? If you didn't, that would explain why everything is screwed up now. No, I had not deleted old versions but had stored them in a separate directory. How can I test 2.13.4 but also keep an older version to work with? For now I deleted all my old versions and installed 2.13.4.0 darwin-ppc (with darwin-x86 I still get bus errors even though I have an MacOS X intel). Now I can run lilypond from the command-line again. You could also try deleting any $HOME/.font* directories you find, as well as the lilypond app, before downloading 2.13.4 and trying again. Just to make sure: the directories I'm supposed to delete should be in /Users/username and they are invisible? I deleted 3 files/ directories: .fontconfig .fonts.cache-1 .lilypond-fonts.cache-2 -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ bug-lilypond mailing list bug-lilyp...@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond James E. Bailey -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/ atbrowser -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/ chbrowser James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slurs and bars in vocal music
On 25.09.2009, at 22:17, fiëé visuëlle wrote: Just, pretty please: Could someone tell me how to get chord names with -is and -es (saying fis and not f#)? Or of course point me to the appropriate chapter of the docs. Section 2.7.2, Displaying chords under Customizing chord names James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: appoggiatura
Have you added the spacer appoggiatura to the other staff? On 19.09.2009, at 21:07, Nick Didkovsky wrote: Hello, Can someone point out what I am doing wrong? I have a staff where the first note has an appoggiatura (see below) When this staff is converted, the layout looks good although there's too much horizontal space between the appoggiatura and the quarter note If it is laid out with another staff below it, the layout has a problem: staff shows clef, time sig, appoggiatura, time sig again (!?), then quarter note If the appogiatura is added to the second note instead of the first note, there no problem Can someone advise? Thanks Nick % Staff 1 aStaffAA = { \override Score.RehearsalMark #'font-size = #-1 \override Score.VoltaBracket #'font-name = #New Century Schoolbook \override Score.VoltaBracket #'font-shape = #'bold \override Score.VoltaBracket #'font-size = #+1 % Measure 1 \override Score.MetronomeMark #'padding = #4.5 \tempo 4=60 \key c \major \override Staff.TimeSignature #'style = #'() \time 4/4 \clef treble \appoggiatura e'16 e'4 d''4\noBeam a'4\noBeam d''4\noBeam % Measure 2 \clef treble R4*4 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: emacs on Ubuntu
On 17.09.2009, at 03:08, Ralph Palmer wrote: Or is there another helpful text editor (with highlighting), other than jedit (with seems to be slow and resource intensive, in my experience)? There's a section that says vim has lilypond support, and nano supports syntax hilighting. (And, although I've written syntax hilighting definitions that suit my needs, you're probably better off writing your own.) James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Occasional lyrics
On 06.09.2009, at 12:29, Mark Engelberg wrote: I'm notating a score similar to the SATB template provided in the learning manual, where lyrics are above and below both staves of the system. However, through large chunks of the song, the lyrics are all the same (and thus can be printed once between the staves). The different lyrics only happen occasionally. Right now, the way I'm dealing with this is to set up my ChoirStaff to have four lyrics lines throughout the song, above and below each staff. Then, I add a \skip 1 for every note for which no lyrics should be printed. This is tedious and error-prone. Is there a better way to skip over whole measures with no lyrics? Thanks, Mark I usually assign a new Voice context to the notes that should have different lyrics. Another option is to use \repeat unfold 1000 {_} (or whatever number suits your needs) for those sections. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PATH and definitions.ly problem
On 05.09.2009, at 17:06, Ralph Palmer wrote: Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic definitions.ly file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond? Thanks for your help, Ralph I have a 'lily' command that I've set up in bash that calls lilypond with an included directory for that sort of thing, so even when I upgrade, lilypond still finds my included files. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Disconnected and oddly placed stems
On 05.09.2009, at 20:15, Carl Sorensen wrote: On 9/5/09 9:37 AM, Dan Florio dflo...@yahoo.com wrote: Here are the first few measures of a guitar part in a tune I'm working on: (Each line represents a measure) \version 2.12.2 \header { title = Percussion Song composer = Dan Florio } Guitar = \relative c' { e1 g d' g e, g d' fis ees, g des' fis ees,2 g des' f ees, g des' e } I doubt this is what you want to do. You are putting notes in parallel contexts (different voices) rather than in chords. It's much more likely that you want Guitar = \relative c' { e1 g d' g e g d' fis ees g des' fis ees g des' f 2 ees g des' e } HTH, Carl Although, as previously noted, durations inside a chord will fail, so the first chord would have to be e g d' g1 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord durations
On 01.09.2009, at 04:19, Christian Henning wrote: \chordmode { g1 | g4..:sus4 g2 | Here is your problem. Another way of writing this would be: g1 | g4~ g8~ g16 g2 The second measure is missing a 16th note. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: reflect a character
On 30.08.2009, at 11:17, Mark Knoop wrote: At 21:35 on 29 Aug 2009, James E. Bailey wrote: I can rotate a character with the \rotate command, but is there a way to get a mirror of a character, either horizontal or vertical? to print, for example ə? ə _is_ a rotation of 180°, not a reflection. And why can't you just enter ə? -- Mark Knoop You're correct, it was a poor example. ɘ would have been a better choice. But the fact of the matter is that I was trying to get a reflection of ∫ And thanks to Robin Bannister, I think I can. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
odd tempo definition
Is it possible to get a tempo definition like \tempo 8*5 = 100? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: odd tempo definition
On 30.08.2009, at 18:02, Kieren MacMillan wrote: Hi James, Is it possible to get a tempo definition like \tempo 8*5 = 100? Do you want it displayed somehow, or simply defined? If the latter, simply say \tempo 8 = 500. If the former, you'll need to be more specific about how you want the display (e.g., with notes in markup, or whatever). Hope this helps! Kieren. It would have to be the former, you know, so it's difficult. Right now, I've just done it in markup with \note #2 #UP ‿ \note #8 #UP. I was just wondering if there's another way, mainly because I'm too lazy to fiddle with the baseline to get the tie where it should be. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord durations
On 31.08.2009, at 05:51, Federico Bruni wrote: Christian Henning wrote: Hi there, adding a dot to a chord duration prolongs it by 50%. g4., for instance, is 1.5 beats or three 8th notes. g4.. is 1.75 beats, I believe. Which would translate into seven 16th notes. But what is g4...? Here, with 3 dots. g4... = 15/32 so 1,875 beats Also, how can I describe a duration that lasts for 2.25 beats? I've never thought in beats.. Anyway, it should be something like this maybe (lilypond code): g2 ~ g16 assuming that g4= 1 beat g8= 0.5 g16= 0.25 g32= 0.125 and so on... NO. Wow, Kieren, I understand now. A dot increases rhythmic value of each preceeding note by 50%. With double-and triple dots, the later dots increase the value of the previous dots. so: c4. = c4~ c8 c4.. = c4~ c8~ c16 c4... = c4~ c8~ c16~ c32 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
reflect a character
I can rotate a character with the \rotate command, but is there a way to get a mirror of a character, either horizontal or vertical? to print, for example ə? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond Speed
On 28.08.2009, at 18:45, Jonathan Wilkes wrote: Hello, I'm curious how long it takes for other people to run lilypond on the following simple score: \relative c' { c4 d e fis } I'm on winxp sp3, pentium 1.7Ghz with 512mb ram and it consistently takes 7 seconds to complete, whether I do it on the command line or in LilypondTool. -Jonathan Using time on osx 10.4.11 I get: with generating the pdf: real0m1.482s user0m1.206s sys 0m0.255s just generating a ps: real0m1.307s user0m1.091s sys 0m0.201s James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond Speed
On 28.08.2009, at 19:35, Federico Bruni wrote: Jethro Van Thuyne wrote: On Fri, 28 Aug 2009, Jonathan Wilkes wrote: I'm curious how long it takes for other people to run lilypond on the following simple score: It took me 4,474 seconds How can you be so precise? :-) OSX has a time command that can be run from the command line and will output the timing of the process that follows it. I learned that because of this query. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals: Unwanted naturals
It is actually perfectly reasonable for a person completely new to notating music for this to not make sense. The purpose of the documentation is to provide information about how lilypond prints music. Other resources are necessary to provide information about the difference, both written and sounded of a note and the various accidentals that can change a note. One big (in my opinion, reasonable) assumption made by the LilyPond documentation is that anyone using the program will be familiar with musical terms and what they mean. Hopefully in english, but there's even a glossary for foreign language speakers. On 25.08.2009, at 10:50, Simon Mackenzie wrote: Sorry but as a first time user to lilypond and music in general this section in the tutorial was about as clear as mud to me. Not wanting to offend anyone just stating how I felt the fist time I read this section in the learning tutorial. As I said previously when I have time I'll have a shot at articulating this more fully to aid my learning further and help others who have been tripped up Accidental(ly). Simon On 25/08/2009, at 15:34, David Bobroff wrote: As a follow-up, have the people with unwanted accidentals seen this: http://lilypond.org/doc/v2.13/Documentation/user/lilypond-learning/ Accidentals-and-key-signatures#Key-signatures ...and is it not clear? The last example on that page shouldn't be any less clear than the example I gave. -David David Bobroff wrote: Correct. *ALL* pitches in the input *must* be explicitly given. The key signature assignment tells LilyPond how to display the pitches. For exmaple; 'e' *always* means e-natural no matter what the key signature is. -David Simon Mackenzie wrote: Hi guys correct me if I am wrong. The g minor chord has two flats Eb Bb which need to be marked as es and bes in Lilypond other wise the Accidental_engraver sees them as naturals in the g minor chord, hence the natural symbol for any unmarked E or B note in your music. Just trying to see if I understand this all correctly? How did I do? Simon On 25/08/2009, at 01:39, Sona wrote: I'm new to Lilypond and the list. So far the code is pretty intuitive, but I am stumped by the way accidentals work. Several posts deal with this subject, but probably are beyond a novice's ability to undertand. I'm transcribing a modern piece with 2 flats in the key signature (I've set \key g \minor). It's rather atonal, though, so it seems Lilypond tries to correct pitch by turning every e- flat and b-flat into a natural. What code do I use to override this? The printed result should have only 4 accidentals. Right now there are 37, and of course the pitches are all off. What do I put where in what part of the code? I can send my page code, if it would be helpful. Thanks in advance! cleo ___ 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 ___ 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 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Naturals Accidental_engraver
On 20.08.2009, at 17:39, Simon Mackenzie wrote: I haven't been able to figure out how to replicate the three naturals on this music sheet using Lilypond script? Any ideas? CHW06601.jpg Simon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user This should be very straightforward. What have you tried and what hasn't worked? Could you show it in one measure? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Naturals Accidental_engraver
I'm guessing you're turning off accidental engraver at either staff or global level. I don't really understand why you're turning off accidental engraver at all, but you can probably achieve what you want by removing the stencil in the music. i.e., with \once \override Staff.Accidental_engraver #'stencil = ##f On 20.08.2009, at 18:10, Simon Mackenzie wrote: If I turn Accidental_engraver off no accidentals appear as expected but then if leave it on I don't seem to be able to manually set naturals with ! and exclude / turn off everything else. Simon On 20/08/2009, at 22:48, James E. Bailey wrote: On 20.08.2009, at 17:39, Simon Mackenzie wrote: I haven't been able to figure out how to replicate the three naturals on this music sheet using Lilypond script? Any ideas? CHW06601.jpg Simon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user This should be very straightforward. What have you tried and what hasn't worked? Could you show it in one measure? James E. Bailey James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond language definition for Notepad++
On 20.08.2009, at 23:11, -Eluze wrote: -Eluze wrote: Mats Bengtsson-4 wrote: A useful starting point should be the Emacs and Vim modes included in the LilyPond distribution. Among others, they contain an automatically generated list of predefined commands and reserved words in the LilyPond syntax, see .../usr/share/emacs/site-lisp/lilypond-words.el and .../usr/share/lilypond/current/vim/syntax/lilypond-words however ... the list should be complete! i searched with a simple regex in C:\Program Files\lilypond\usr\share\lilypond for definitions and found over 200 missing terms - i hope they have been added since the last release! (see attached list for details) http://www.nabble.com/file/p25070085/missing%2Bin%2Blilypond% 2Bwords.ly missing+in+lilypond+words.ly -- View this message in context: http://www.nabble.com/Lilypond- language-definition-for-Notepad%2B%2B-tp14969868p25070085.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Another part of the reason that I decided to hilight words based on how defined words in lilypond are used. That way I cover just about all of the words, and if \dimTextDim is one day renamed, as long as it begins with a \, the regex I use will catch it. I thought aobut inserting lists of words into my hilighting, but then came across exactly this scenario and decided against it. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Naturals Accidental_engraver
Let's try another question. Why are you removing the accidental engraver in the first place? What are you hoping to achieve with it? On 21.08.2009, at 04:21, Simon Mackenzie wrote: I'm lost on this one... If I place the override in the voice context I end up with the following which is nothing like what I need to achieve. NB: I have already added the force natural symbol ! to the needed notes. CHW066.pdf CHW06601.jpg \score { \new ChordNames { \include music/chords/C-CHW066.ly } \new Staff \new Voice = voiceOne { \once \override Staff.Accidental #'stencil = ##f \include music/voice/V-CHW066.ly } \new Lyrics \lyricsto voiceOne { \include music/lyrics/LUA/L-CHW066-01.ly } \new Lyrics \lyricsto voiceOne { \include music/lyrics/LUA/L-CHW066-02.ly } \layout { \context { \Score \remove Bar_number_engraver % Removes automatic bar number engraving for each staff line } } % \midi { } } Simon On 20/08/2009, at 23:17, James E. Bailey wrote: I'm guessing you're turning off accidental engraver at either staff or global level. I don't really understand why you're turning off accidental engraver at all, but you can probably achieve what you want by removing the stencil in the music. i.e., with \once \override Staff.Accidental_engraver #'stencil = ##f On 20.08.2009, at 18:10, Simon Mackenzie wrote: If I turn Accidental_engraver off no accidentals appear as expected but then if leave it on I don't seem to be able to manually set naturals with ! and exclude / turn off everything else. Simon On 20/08/2009, at 22:48, James E. Bailey wrote: On 20.08.2009, at 17:39, Simon Mackenzie wrote: I haven't been able to figure out how to replicate the three naturals on this music sheet using Lilypond script? Any ideas? CHW06601.jpg Simon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user This should be very straightforward. What have you tried and what hasn't worked? Could you show it in one measure? James E. Bailey James E. Bailey James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Naturals Accidental_engraver
On 21.08.2009, at 04:21, Simon Mackenzie wrote: I'm lost on this one... If I place the override in the voice context I end up with the following which is nothing like what I need to achieve. Okay, I think I finally understand your question. You have \book block that has the accidental engraver stencil set to false, you want to turn it on for this one piece. You do that at the staff level. An example follows: \version 2.12.2 \\layout { \context { \Staff \override Accidental #'stencil = ##f } } music = \relative c' { f4 e d c } keys = { \key c \minor } \score { \new Staff \music \keys \layout {} } \score { \new Staff \music \keys \layout { \context { \Staff \revert Accidental #'stencil } } } James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond language definition for Notepad++
I looked in the nano documentation on how to create a syntax definition. It said that it was all regex. Then I went to wikipedia and read how to do regex. That's it really. No searching, or maybe I misunderstand what you mean. On 19.08.2009, at 01:25, -Eluze wrote: James E. Bailey-3 wrote: I don't know what it requires, but it may be easier than you think. I know that with (no previous experience with regex or syntax hilighting), a couple of hours and the wikipedia page on regex, I was able to create one for nano. interesting - can you tell which sources and files you searched in? -- View this message in context: http://www.nabble.com/Lilypond- language-definition-for-Notepad%2B%2B-tp14969868p25035277.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond language definition for Notepad++
Ah, I understand. nano loads a config file when it starts, so if a file's extension matches any of the ones defined in the config file, it then loads the appropriate syntax. As to what I decided to hilight. That was a completely personal issue, and since it was my first (and only) attempt at using regex, I'm sure it could be improved. But, I limited myself to the following (in increasing order of importance, since if something fits two definitions, nano will use the one defined later in the config file: • expressions within curly braces • chords (expressions within angle-brackets) • simultaneous expressions (expressions within double angle-brackets) (note, these last two don't really work very well together, apparently I'd need a parser in order to separate something like which can exist and quite often does exist in a lilypond file. It was enough for me to simply have them colored differently so I could see them easily.) • slurs and phrasing slurs • articulations • music functions (anything starting with a leading \ ) • note names • dynamics • notes beamed together • anything within quotation marks • Scheme expressions • comments You may find different things important to you. My regex is far from perfect, but, it exists, and it means that I don't have to learn another editor. And if something doesn't please me in the way the syntax hilighting works, I know how to change it. On 19.08.2009, at 18:22, -Eluze wrote: James E. Bailey-3 wrote: No searching, or maybe I misunderstand what you mean. i guess you had to apply this regex to a file or files - were these all lilypond (program-) files or did you go thru the docs or what? an additional question of course is, if you found *all* lilypond expressions, functions or whatever - how many results did you get? tia -- View this message in context: http://www.nabble.com/Lilypond- language-definition-for-Notepad%2B%2B-tp14969868p25047406.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond language definition for Notepad++
I don't know what it requires, but it may be easier than you think. I know that with (no previous experience with regex or syntax hilighting), a couple of hours and the wikipedia page on regex, I was able to create one for nano. On 16.08.2009, at 16:30, CGY wrote: Hello, do we have a document a files to be able to hightlight lilypond syntax for notepad++ ? thank for your help Regards CGY Bugzilla from tvalu...@seznam.cz wrote: Hello, is there a lilypond language definition available for Notepad++ 4.7, which supports user language definitions? Thank you. Tomas Valusek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://www.nabble.com/Lilypond- language-definition-for-Notepad%2B%2B-tp14969868p24994082.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: multistaff use of rhythm mark snippet
On 17.08.2009, at 22:38, Qian Li wrote: I'm using one of the rhythm marks from the lsr for a multistaff piece. I only want the rhythm mark to show up on one of the staves in transition from a polymetric part back to same meter with the other staves, but the marking always prints over the top staff. I've attached the files; document.ly is the one to run. The problem is at m. 55, line 430 in content.ly. (Please ignore the metric misalignment after m 55.) What is the context that puts it on the top staff and how do I modify it to show on the second staff only? Many thanks. Qian Li document.lycontent.ly ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user I think you want Notation Reference section 1.8.1 Text Text Marks (Selected Snippets) Printing marks on every staff. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup help
On 14.08.2009, at 07:52, Mark Polesky wrote: James E. Bailey wrote: Reading the documentation, I don't understand why this doesn't work: \version 2.12.2 \markup { \musicglyph #scripts.zero \musicglyph #scripts.one ... } The glyph names for the numbers don't begin with scripts.. Do this instead: \markup { \musicglyph #zero \musicglyph #one ... } Incidentally, you can see all the correct glyph names here: http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta- font Though I reorganized them for 2.13. Hopefully you'll find this version easier to read: http://kainhofer.com/~lilypond/Documentation/notation/index_54.html - Mark Thank you, incidentally, after some trial and error (after I sent the email) I figured that out. Although I should point out, neither documentation source says that the glyph names for the numbers don't begin with scripts. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup help
On 14.08.2009, at 19:11, Carl Sorensen wrote: On 8/14/09 9:54 AM, James E. Bailey derhindem...@googlemail.com wrote: Though I reorganized them for 2.13. Hopefully you'll find this version easier to read: http://kainhofer.com/~lilypond/Documentation/notation/index_54.html - Mark Thank you, incidentally, after some trial and error (after I sent the email) I figured that out. Although I should point out, neither documentation source says that the glyph names for the numbers don't begin with scripts. The list of all glyphs says the numbers are one, two, etc. The fermatas are scripts.ufermata, scripts.dfermata, etc. Where does this imply that the numbers should be scripts.one, not one? How could we make the documentation clearer? Thanks, Carl No problems, in the 2.12 documentation, b.6 The Feta font. The first sentence there is: The following symbols are available in the Emmentaler font and may be accessed directly using text markup such as g^\markup { \musicglyph #scripts.segno }, see Formatting text. In the one on kainhofer it's section a.6 The Feta font: The following symbols are available in the Emmentaler font and may be accessed directly using text markup such as g^\markup { \musicglyph #scripts.segno }, see Formatting text. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
complex time signatures: scheme help
Look at that, even I need scheme. I wanted to have the time signature be 3+3+2 8 Apparently this is where Scheme is necessary. I've found the one that makes it 3+3+2 8 8 8 in the documentation but I don't understand how to make the change. #(define ((compound-time one two num) grob) (grob-interpret-markup grob (markup #:override '(baseline-skip . 0) #:number (#:line ( (#:column (one num)) #:vcenter + (#:column (two num ))) Can someone just do that for me? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: complex time signatures: scheme help
On 14.08.2009, at 23:59, Mark Polesky wrote: Umm, that's probably not the best way of asking for help... We usually prefer can someone point me in the right direction or something like that... Usually I do, except here, a point in the right direction wouldn't be sufficient for me. I kinda need templates with easy to figure out changes when it comes to Scheme hacks. Anyway, look at the scheme code. The compound-time procedure takes three arguments, one two and num. In the doc example, the stencil override is: #(compound-time 2 3 8) That means one is 2, two is 3, and num is 8. You see where it says (#:column (one num)) in the scheme procedure? That means that those two arguments (one and num) are put in a column: 2 8 You see where it says #:vcenter +? That means that the + is put in the vertical center. You can see what happens when you remove the #:vcenter command. So, you have to make a couple of changes. 1) you need another argument in your scheme procedure (3+2+2 as compared to 2+3). * you might call this additional argument three * logically, you should probably put it between two and num Got it, #(define ((compound-time one two three num) grob) 2) so now you need to make sure you pass four values to the procedure within your music expression, instead of the 3 values there now. (you need to change this)... #(compound-time 2 3 8) Got it, \override Staff.TimeSignature #'stencil = #(compound-time 3 3 2 8) 3) decide if you want (#:column (one num)) ...or just... one etc. This bit I don't understand. (#:column (one num)) would be the equivalent of \markup \center-column { one num }, right? How would I do \markup \center-column {\line {one + two + three} num }? 4) decide if you want to keep the #:vcenter command Probably not. I'm guessing. 5) somehow incorporate your new argument (three) in with the rest of the arguments. This bit confuses me. Isn't it incorporated by adding three everywhere? Thank you James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: complex time signatures: scheme help
On 15.08.2009, at 00:30, Carl Sorensen wrote: 3) decide if you want (#:column (one num)) ...or just... one etc. This bit I don't understand. (#:column (one num)) would be the equivalent of \markup \center-column { one num }, right? How would I do \markup \center-column {\line {one + two + three} num }? See Notation Reference 6.4.1 Markup construction in Scheme (markup #:center-column ((#:line (one two three)) num)) 4) decide if you want to keep the #:vcenter command Probably not. I'm guessing. 5) somehow incorporate your new argument (three) in with the rest of the arguments. This bit confuses me. Isn't it incorporated by adding three everywhere? Yep, you seem to have it right. Carl Okay, now I have #(define ((compound-time one two three num) grob) (grob-interpret-markup grob (markup #:override '(baseline-skip . 0) #:number (markup #:center-column ((#:line (one + two + three)) num)) ))) Which looks like just a really complicated way of doing \override Staff.TimeSignature #'stencil = #ly:text- interface::print \override Staff.TimeSignature #'text = \markup { \center-column { \line { \musicglyph #three \musicglyph #plus \musicglyph #three \musicglyph #plus \musicglyph #two } \line { \musicglyph #eight } } (my initial attempt) Neither of which moves the Time signature to adjust for the wider space of 3+3+2. So, is there a better way of achieving this? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: complex time signatures: scheme help
On 15.08.2009, at 00:46, Reinhold Kainhofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 14. August 2009 23:13:18 schrieb James E. Bailey: Look at that, even I need scheme. I wanted to have the time signature be 3+3+2 8 Apparently this is where Scheme is necessary. I've found the one that makes it 3+3+2 8 8 8 in the documentation Attached is my current code for general complex time signatures (arbitrary # of fractions, arbitrary # of numerators). I have not yet tried to get it into master, because the auto-beaming does not yet follow the signature. Cheers, Reinhold - -- Wow, thank you. That's amazing! I hope that it one day makes it into the current code. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
markup help
Reading the documentation, I don't understand why this doesn't work: \version 2.12.2 \markup { \musicglyph #scripts.zero \musicglyph #scripts.one \musicglyph #scripts.two \musicglyph #scripts.three \musicglyph #scripts.four \musicglyph #scripts.five \musicglyph #scripts.six \musicglyph #scripts.seven \musicglyph #scripts.eight \musicglyph #scripts.nine } Can someone help me with what I've misunderstood, and what I'm doing wrong? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems with learning lilypond
On 12.08.2009, at 12:26, Simon Mackenzie wrote: Yeah it's proving to be an interesting learning experience trying to wrap my head around Lilypond. I feel it is like a multi-headed beast with Scheme Lilypond script intermingled together. It makes for an interesting mix to get ones head around. The manuals are helpful but there are hugh gaps for any new and inexperienced user such as myself. Personally, I think this is an area where knowing too much gets in the way. I, for example, have no clue about Scheme. Scheme is, as far as I'm concerned, what other people do to save typing. In fact, I'm of the opinion that there's no need to use Scheme, it's just there if you know how to use it. So, if you take Scheme out of the lilypond learning curve, it's actually not that difficult. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems with learning lilypond
On 12.08.2009, at 19:33, Mark Polesky wrote: James E. Bailey wrote: Personally, I think this is an area where knowing too much gets in the way. I, for example, have no clue about Scheme. Scheme is, as far as I'm concerned, what other people do to save typing. In fact, I'm of the opinion that there's no need to use Scheme, it's just there if you know how to use it. So, if you take Scheme out of the lilypond learning curve, it's actually not that difficult. Maybe it depends on your typesetting needs. Most of my projects require scheme in one way or another. - Mark Really? What can't you do without Scheme? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems with learning lilypond
On 12.08.2009, at 20:41, Mark Polesky wrote: James E. Bailey wrote: Really? What can't you do without Scheme? Algorithmic music. - Mark Surely the calculations can be performed outside of lilypond, and then simply input into lilypond for a score, right? Or am I missing something? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\cadenzaOn question
Because of a question on the german forum, I thought I'd ask here. Is the music in a cadenza supposed to take up no time? Consider the following: \version 2.12.1 \relative c'{ \time 2/4 \set Score.skipBars = ##t c4 d { R2^G.P. } \new Staff { \cadenzaOn e4 f e d \cadenzaOff } R2*2 c2 } \relative c'{ \time 2/4 \set Score.skipBars = ##t c4 d e f { R2^G.P. } \new Staff { \cadenzaOn e4 f e d \cadenzaOff s2 } R2*2 c2 } I can certainly understand the logic behind it, but I couldn't find anywhere that this was explained. Perhaps it is implied in the notation reference, but it really only mentions bar lines and bar numbers, but not how cadenzas fit into multi-staff music. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staves with example notes, ancient and modern
On 11.08.2009, at 20:49, denis.roe...@loria.fr wrote: Hi, I would like to reproduce the first two staves of the section Note values on http://en.wikipedia.org/wiki/Mensural_notation, with the label on the left. That is, I am trying to make Modern ... staff ... notation (possibly with the note names) White notation ... staff ... (with the note names) and I would like the notes being aligned. Thanks, Denis Hello! This is a rather general request. What is it that is giving you difficulty? Have you started? Do you have some experience with lilypond? Have you read the Learning Manual? If you are just starting, I would suggest reading the learning manual first and foremost, before you begin attempting to re-create the image there. That will give you an understanding of how to notate using lilypond. Lastly, I don't know if you know about it, but there is a french speaking mailing list for lilypond users. It's at http:// lists.gnu.org/mailman/listinfo/lilypond-user-fr James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: non overriding \clefs
On 10.08.2009, at 17:47, denis.roe...@loria.fr wrote: Hi, if I start a score with \clef treble \clef bass, I only get the bass \clef. Is it possible to have both appear, one after the other, even though there is no note for the treble \clef? Thanks, Denis ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user On a single staff, one after the other, before the key signature and time signature? For that, you'll have to use markup. If you mean you want the treble clef to appear at the beginning, before the key signature and time signature, and then a bass clef, a spacer rest and funny math should work. \version 2.12.2 { \clef treble \key c \minor \time 3/4 s4*3/4 \clef bass b as g } { \override Staff.Clef #'stencil = #ly:text-interface::print \override Staff.Clef #'text = \markup { \raise #-2.0 {\musicglyph #clefs.G} \raise #0.0 {\musicglyph #clefs.F} \hspace #0.1 } \clef bass \key c \minor \time 3/4 b as g } James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: roman numeral chord notation below staff with pivot chord brackets?
On 09.08.2009, at 14:51, lelangir wrote: Running a search for roman numeral on the one big page of the lilypond documentation doesn't give any results. Section 1.7.2 had the correct kind of brackets used in analyzing modulation and pivot chords, but the brackets are horizontal, not vertical, like they should be. Is there a way to get something that looks like this? http://media-2.web.britannica.com/eb-media/51/99251-004-92E3F389.gif thanks for your time. -lelangir I would use markup in a lyrics context. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: roman numeral chord notation below staff with pivot chord brackets?
I think this was sent only to me and not to the list. Begin forwarded message: From: Hugo Leonardo Ribeiro hugole...@gmail.com Date: 9. August 2009 21:06:06 MESZ To: James E. Bailey derhindem...@googlemail.com Subject: Re: roman numeral chord notation below staff with pivot chord brackets? Did you look at this? http://lists.gnu.org/archive/html/lilypond-user/2008-04/msg00127.html Similar threats that should help: http://lists.gnu.org/archive/html/lilypond-user/2009-06/msg00335.html http://lists.gnu.org/archive/html/lilypond-user/2009-06/msg00386.html Good luck. Hugo Ribeiro Brazil Em Dom, 2009-08-09 às 16:50 +0200, James E. Bailey escreveu: On 09.08.2009, at 14:51, lelangir wrote: Running a search for roman numeral on the one big page of the lilypond documentation doesn't give any results. Section 1.7.2 had the correct kind of brackets used in analyzing modulation and pivot chords, but the brackets are horizontal, not vertical, like they should be. Is there a way to get something that looks like this? http://media-2.web.britannica.com/eb-media/51/99251-004-92E3F389.gif thanks for your time. -lelangir I would use markup in a lyrics context. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Decrescendo
I'd like to make the decrescendo to start after the treble clef's c e, c4., so that it starts from the bass line's c g e8. So it actually should not start from the d,,16( but instead one chord before it for the bass clef. The starting position for it should be bass clef's chord c g e8. How do I tell to Lilypond to make this happen? I've already tried ^\ in the bass clef but it doesn't work. Using invisible rests is not an option as it affects other notes. Thanks, Olli Hello, Can you provide the actual lilypond code you used that was unsuccessful? What you've described should work, so perhaps there's something that's preventing the output you want. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems with learning lilypond
On 08.08.2009, at 17:30, Tim McNamara wrote: On Aug 8, 2009, at 8:54 AM, Simon Mackenzie wrote: Here is my scenario If I create a variable at the top scope how do I reassign its value in a subsequent scope eg. aVariable = \markup { \bold bananas } \book { \bookpart { \aVariable % bananas \score { aVariable = \markup { \bold now \italic { equals this string } % want to be to reassign aVariable a new value so that... \aVariable % now equals this string } } } Why do you want to change the value of \aVariable? That doesn't make any sense to me. I think the corollary to this would be, why not simply define two variables in the beginning? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beam direction with \new Voice
On 07.08.2009, at 18:30, lilyp...@cappel.co.uk wrote: Hello, I'm sorry if this is a very simple problem and has been covered before. I've searched the archives and haven't found an answer, so I'm hoping someone will be able to help me! I am working on a song that includes something like this: { some notes } \\ { some more notes } However, the lyrics skipped these notes so I had a look in the archives and found that I could change it to the following: { some notes } \new Voice { some more notes } This works for the lyrics, but the notes now don't pay any attention to each other and the beams now point towards rather than away from each other and so clash. Is there a way to manually change these beams without turning autobeams off for the whole song? Thank you, Heike ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user You'll need \voiceOne and \voiceTwo (and \oneVoice) for this construction. You may also need to name your second Voice context. For reference, you'll want to re-read section 1.5.2 of the Notation Reference, Multiple Voices. HTH, James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \context for named Staff
If it's just for the piano score, I would just make that change in the piano score \new Staff \with { resize }. Is there more than one score that needs this adjustment? On 07.08.2009, at 21:18, Jonathan Wilkes wrote: Hello again, I'm trying to resize one staff in a flute/piano duet, and I can't figure out the right way to do it. Here's the format I tried: \layout { \context { \Staff = staffFlute % stuff to resize this particular staff } } But I guess it's not possible to refer to a specific instance of a Staff in the layout block (at least I couldn't find any reference to doing this). If this is true, then how do you do staff size changes- like making the flute staff smaller for the piano score- without doing everything manually for each score/part? -Jonathan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using dynamics in lyrics
You can add \markup to lyrics. So you can add \markup \dynamic f directly into your lyrics. On 06.08.2009, at 04:08, Peter Chubb wrote: Hi, I'm doing an arrangement of a song, where the different stanzas in different parts have different dynamics. I know I can mark an entire stanza as forte, piano etc., using the trick int he snippets repository, but how do I do it in the middle of a verse? I've tried adding New_dynamic_engraver to the Lyrics context, and that sort-of works, but the resulting dynamic marks often collide with the text --- particularly crescendo/diminuendo spanners. Is there a simple way to do this, or do I have to play with tweaks to move the dynamic marks around? Here's an example: -- \version 2.12.0 vA=\lyrics { \set stanza = #1. \p \cresc This4 verse gets loud -- er \f \dim then soft -- er \p } vB=\lyrics { \set stanza = #2. \p \dim This4 verse gets soft -- er \pp \cresc then loud -- er \f } \score { \context Lyrics = vOne \vA \context Lyrics = vTwo \vB \layout { \context { \Lyrics \consists New_dynamic_engraver } } } -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cannot end slur
On 03.08.2009, at 19:36, Jonathan Wilkes wrote: Hello, I'm having trouble entering the following fragment of music: \version 2.12.2 \relative c'' { \time 3/4 \partial 32 cis32~( | cis4~ cis8~ \acciaccatura e' f~ f4 | f16 e \times 2/3 { f des a } \times 2/3 { e d c } aes32 g'16.) ees32 b g d e gis c e | } The slur goes to the first high f, then stops, and I get a warning: cannot end slur. I've tried overriding various Slur properties, but nothing seems to get the slur to extend all the way to the g. If anyone has any advice or reference links, it would be greatly appreciated! Thanks, Jonathan You never start a slur. There's a tie in the first measure, but then in the second measure you have a slur ending, but never beginning. Incidentally, many text editors will let you go to the matching parenthesis, and that would show that there is none. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: French accents
On 02.08.2009, at 15:06, Graham Norton wrote: Dear All, The Unicodes are available from TeXShop Edit Special Characters (in MaC OS). Just select a character and let the mouse hover over it. (A total of 2820 glyphs can be obtained this way.) Here is a table of special French characters obtained in this way: character Unicode é 00E9 è 00E8 ê 00EA î 00EE ç 00E7 à 00E0 ô 00F4 For instance, \markup{ \concat{ B \char ##x00E9 caud } } in lyrics gives Bécaud in LilyPond output (from TeXShop input), as per the Notation Reference 3.3.3. Incidentally, TeXShop produces this output even without changing TeXShop Preferences Encoding to UTF-8. Graham PS I think it would be useful if the doc in Notation Reference 3.3.3 said something about how to obtain the unicodes (for users who are not using a UTF-8 supported edito)r. If you're on a macintosh, this is an extremely long way to do this. The faster way is to hold down option, the modifier, and then the character. For example, é is option-e-e and è is option-`-e. These can all be seen in the keyboard viewer, which can be accessed from System Preferences in the Input Menu of the International preferences. Also, if you're on a macintosh, your editor supports UTF-8. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie over time signature
On 02.08.2009, at 05:04, Jonathan Wilkes wrote: Hello, In the following, the tie is drawn through the time signature. \relative c'' { b b b b~ \time 5/4 b2. b2 } Is there any way to get the tie to be transparent where it collides with the time signature? Thanks, Jonathan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user this is addressed in the Learning Manual under Real music example James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aphex Twin deathWaltz
On 01.08.2009, at 22:24, Michel Villeneuve wrote: Ok, lilypond Gurus have a look at this : http://img.photobucket.com/albums/v60/Langer/misc/aphex-twin- deathwaltz-2.jpg Beautiful and with lots of humour inside. I'm looking for the .ly file ;-) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Wow, this is kind of the last place I'd expect an Aphex Twin reference. Oh, and I remember first seeing this in my 10th grade orchestra class. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: First Lilypond Score
On 31.07.2009, at 21:18, Jonathan Wilkes wrote: I made my first lilypond score for more than one instrument, and I thought I'd give some comments on some of the things that were really difficult from a beginner's perspective. I think it would be helpful to have a section in the LM on migrating from Finale/Sibelius, or a separate document, if there isn't one already. I'm sure some of the following issues will become easier for me once I go through the docs again and do some more projects, but I imagine other first time users might run into some of these, so here are my first project experiences. Which documentation? Much is explained in the Learning Manual, the frst thing anyone starting with LilyPond (or LilyPondTool) should read. slurs - I had a lot of cannot end slur problems early on, evidently because I was trying to end a slur in a different voice (which isn't a problem in Finale). Also, longer slurs ( more than a measure ) were often a little flat: the middle of the slur would get way too close to a notehead, tie, or something else. Since there are so many settings for slurs, I didn't have time to figure out how to do a global override to make them more curvy. This is introduced in the Learning Manual, section 3.2. Voices contain music. internals reference- I found myself going into the internals reference way too often. Of course this is a good thing in order to gain more control over one's score, but a lot of it was wasting time, for example: spending 10 minutes to build and test a macro to flip a tuplet position when \tupletUp \tupletDown already exist. I'll keep this in mind the next time through the docs, and see if there's something I overlooked, or that is missing, about the built in commands. Pedagogically, btw, I think these macros are great. If someone who uses Finale sees \slurUp d( e), it's pretty easy to comprehend that Hey, that's basically the same as selecting a slur with the mouse and using ctrl-f to flip it up. And no mousing! Whereas seeing: \once \override Slur #'direction = #UP d( e) means dear lord, I have to learn a programming language just to move a slur? No thank you. The easy way of moving things above or below a staff, namely with ^ or _ is explained in the Learning Manual section 2.2. Single staff notation And although it isn't completley clear that it can be applied to more than just articulations, a little curious experimenation proves that it is possible. spacing - basically, if there is a macro just to nudge a note column to the left or right, and to turn on some kind of piano staff dynamic spacing so dynamics are placed in the middle, I think that would make it so that overrides are only necessary for more advanced stuff. There are many options for these kinds of adjustments: the multi- voice adjustments are explained in the Learning Manual in section 3.2 Voices contain music, anything more complex is introduced in section 4.5 Collisions of objects. As regards piano centered dynamics, there is a template for piano centered dynamics in the Snippets List, conveniently named. \mark - This is really handy. Would be cool if spanners could be used with \mark so accel., rit., a tempo, etc., could be used. Is the current usage of \startTextSpan and \stopTextSpan somehow deficient? resizing staff/score - since layout-set-staff-size does not resize the distance between staff lines, what's the best way to, say, make the pianostaff larger than the other instruments? This isn't explained until the Notation Reference, section 1.6.2 Modifying single staves. It sounds like you've got a great hold on lilypond, and I hope that you continue to use it and learn more. A couple of read-throughs of the Learning Manual to familiarize yourself with the various existing options, and you should find using LilyPond a lot easier, although I must say, if you can construct your own macro, you're far better off than a lot of us. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How do you move a note horizontally?
If you want more information about how to do this sord of thing, see the Learning Manual, specifically section 4.5. On 29.07.2009, at 22:25, Nick Payne wrote: \once \override NoteColumn #'force-hshift = #x Set x to negative to move to the left, positive to the right. Nick -Original Message- From: lilypond-user-bounces+nick.payne=internode.on@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On Behalf Of Jonathan Wilkes Sent: Wednesday, 29 July 2009 10:15 PM To: lilypond-user@gnu.org Subject: How do you move a note horizontally? Hi, I need to increase the distance between two gracenotes, so I would like to know how to slightly nudge one of them to the left. Somehow I can't find an example of this anywhere. Thanks, Jonathan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.35/2269 - Release Date: 07/28/09 17:58:00 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user