Re: lilypond-book
On 14-Feb-05, at 9:30 PM, J L wrote: I think that lilypond-book could be improved so that basic commands such as \clef can be used, or is there some way to do this without loading seperate files? I don't understand what you mean. I've used \clef many times in lilypond-book. Also, how should I use bits of the feta font mixed with the text? I ran into this problem, tried doing it with markup only to find that it seems to confuse lilypond-book. See http://lists.gnu.org/archive/html/lilypond-user/2004-03/msg00201.html Actually, this one looks better: http://lists.gnu.org/archive/html/lilypond-user/2005-02/msg00226.html I'll add this to the manual. - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Lilypondtest failed
On 13-Feb-05, at 9:08 AM, Oddmund vik wrote: Yes, I wish to use the later version, so I uninstalled version 2.2.5 and tried to install the unstable version, but I got the message: /usr/libexec/gcc/darwin/ppc/3.3/cc1plus is not executable! It is perhaps something wrong deep in the OS and the only way to fix it is to erase the harddisk and install 10.3 again? Did you try to repair permissions? It seems that the executable bit has flipped. Permissions repair is done with Disk Utitlity. And it is quite often a cure for strange error messages. And if it doesn't help you, then you could always try to install the MacOSX 10.3.8 combo updater, as this will contain all updates from 10.3.0 upto 10.3.8. HTH, HAND, Arjan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book
GP == Graham Percival [EMAIL PROTECTED] writes: GP On 14-Feb-05, at 9:30 PM, J L wrote: I think that lilypond-book could be improved so that basic commands such as \clef can be used, or is there some way to do this without loading seperate files? GP I don't understand what you mean. I've used \clef many times in GP lilypond-book. I think he means that you have lilypond source in a .ly file, but in the .lytex file you can specify that this particular printing should use this clef. In other words, I'd be able to print the same lilypond file in treble clef for a singer and in G_8 clef for a recorder player, and in tenor clef for a cello player. -- Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ ) (617) 661-8097 fax: (501) 641-5011 233 Broadway, Cambridge, MA 02139 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book
Laura Conrad wrote: GP == Graham Percival [EMAIL PROTECTED] writes: GP On 14-Feb-05, at 9:30 PM, J L wrote: I think that lilypond-book could be improved so that basic commands such as \clef can be used, or is there some way to do this without loading seperate files? GP I don't understand what you mean. I've used \clef many times in GP lilypond-book. I think he means that you have lilypond source in a .ly file, but in the .lytex file you can specify that this particular printing should use this clef. In other words, I'd be able to print the same lilypond file in treble clef for a singer and in G_8 clef for a recorder player, and in tenor clef for a cello player. That's easy if you write the actual music in a separate .ly file and only specify the \score in your LaTeX file. Something like, \begin{lilypond} \include{mypiece.ly} \score{ \new Staff{\clef bass \mypiece} } \end{lilypond} The main disadvantage is that lilypond-book will not realize that it has to rerun lilypond if you make a change in the included .ly file, so you might have to remove the generated lily-*.ly files to make sure that everything is updated. /Mats -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
beamlets over spacers
Hello. First, I want to thank you for providing an alternative to pricey broken programs like Finale. I am using version 2.2.5. I am trying to write many groups of four 16th-notes some of which are separated by 16th-rest value spacers. When I force-beam the notes over any spacer, the double beam is continuous instead of single over the spacer. My current solution is massively wordy, requires replacing \s with \r and making the latter invisible, and must be applied to each group, of which I have hundreds including two-voice polyphony: a16 [\set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 r g] s a[ stemRightBeamCount = #1 g \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 r g] Do you have a better, more global solution? Thanks. Qian Li '05 610 690 3390 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypondtest failed
Walter Hofmeister skreiv: On 2/14/05 3:35 AM, Oddmund Åvik [EMAIL PROTECTED] wrote: Graham Percival skreiv: [snip] Alternately, use fink unstable and install lilypond from there (version 2.4.2). I recommend this option, since 2.4.2 is easier to use and the docs are improved. [...] but I got the message: /usr/libexec/gcc/darwin/ppc/3.3/cc1plus is not executable! It is perhaps something wrong deep in the OS and the only way to fix it is to erase the harddisk and install 10.3 again? ___ Oddmund, It appears that you may not have gcc3.3 installed, or you may have it installed but Fink is not configured to use it, or there is some problem with it. Before I would erase the harddisk and re-install the system, I would try re-installing the developers tools, or check your Fink installation. Thank you very much, and to Graham and Arjan! I discovered that I had a too old version of Developer Tools, so I installed Xcode 1.0 instead and upgraded to 1.2. That was not enough, I had to install the extra package X11SDK in addition, and now all is OK :-) Thank you again! Cheers /Oddmund ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Tabloid paper size - how I got it working
I was getting ready to write this list asking if anyone had had luck generating tabloid (11x17) PS/PDFs from Lilypond, but in the process, I figured out how to do it. Since I'm not sure exactly what it was I did that made it work, and since I have three versions of Ghostscript (7.07, 8.15, and 8.50) installed, not sure which one Lilypond is using, I thought I'd post my experiences here so they might be useful to someone who's trying to format tabloid scores or to the developers. I'm running Fedora Core 3, and have gotten two versions of Lilypond successfully installed and working from RPMs: first, 2.4.2; currently, 2.5.3. With both versions of Lilypond, I tried specifying the paper size according to the documentation, which worked fine for letter and legal sized paper, at both portrait (default) and landscape orientations: #(set-default-paper-size letter 'landscape) But while those sizes/orientations worked fine, specifying tabloid (with or without the 'landscape option) generated an error something like this: snip Layout output to `strtrio-vln.ps'... snip Converting to `strtrio-vln.pdf'...Error invoking `ps2pdf -sPAPERSIZE=tabloid strtrio-vln.ps /dev/null 21 '. Return value 65280 Although it looks like the PS file was generated, and the problem occured in converting it to PDF, actually the PS file would appear to be somewhat messed up - KGhostView would open it, but show a letter-size page with (overflowing) tabloid music, while GGV wouldn't open it at all, saying File is not a valid PostScript document. The PDF, meanwhile, was not generated at all. But then I typed info ghostscript (which says its based on version 7.07), and I came across the following information on paper sizes: === begin quote === To select a specific paper size, use the command line switch -sPAPERSIZE=a_known_paper_size for instance -sPAPERSIZE=a4 or -sPAPERSIZE=legal At this time, the known paper sizes, defined in the initialization file gs_statd.ps, are: PAPERSIZEX inches Y inches X cm Y cm - a0 33.055646.777883.9611 118.816 a1 23.388933.055659.4078 83.9611 a2 16.527823.388941.9806 59.4078 a3 11.694416.527829.7039 41.9806 a4 8.2638911.694420.9903 29.7039 a5 5.847228.2638914.8519 20.9903 a6 4.125 5.8472210.4775 14.8519 a7 2.916674.125 7.40833 10.4775 a8 2.055562.916675.22111 7.40833 a9 1.458332.055563.70417 5.22111 a10 1.027781.458332.61056 3.70417 b0 39.388955.6667100.048 141.393 b1 27.833339.388970.6967 100.048 b2 19.694427.833350.0239 70.6967 b3 13.916719.694435.3483 50.0239 b4 9.8472213.916725.0119 35.3483 b5 6.958339.8472217.6742 25.0119 archA9 12 22.86 30.48 archB12 18 30.48 45.72 archC18 24 45.72 60.96 archD24 36 60.96 91.44 archE36 48 91.44 121.92 flsa 8.513 21.59 33.02 flse 8.513 21.59 33.02 halfletter 5.58.513.97 21.59 note 7.510 19.05 25.4 letter 8.511 21.59 27.94 legal8.514 21.59 35.56 11x1711 17 27.94 43.18 ledger 17 11 43.18 27.94 Note that the B paper sizes are ISO sizes: for information about using JIS B sizes, see Use.htm. === end quote === Note that there is no tabloid, only 11x17 (i.e. tabloid 'portrait) and ledger (i.e. tabloid 'landscape). But I can't specify 11x17 or ledger in Lilypond, because it doesn't recognize this. So I tried searching for that gs_statd.ps mentioned in the above info document, to see if maybe I could customize it. Doing: find / -name gs_statd.ps I found three copies, one corresponding to each version of ghostscript I have installed (only the first, 7.07, from an RPM): /usr/share/ghostscript/7.07/lib/gs_statd.ps /usr/local/share/ghostscript/8.15/lib/gs_statd.ps /usr/local/share/ghostscript/8.50/lib/gs_statd.ps Editing each file in turn, I found a line (around line 41) like: /11x17 {792 1224 //.setpagesize exec} bind def % 11x17 portrait And later on, under STRICT..., one that was commented out (approx. line 109), like: % /tabloid {792 1224 //.setpagesize exec} bind def % 11x17 portrait So I removed the % from the tabloid line to enable that option. Further down (line 124?) there was a list of /.pagetypenames, which included /11x17 but not /tabloid. So I added /tabloid. Actually, I added it to the same line as /11x17 (rather than after STRICT, which would have been more consistent), but
Textcircled again
Hello list, \set Staff.instrument = \markup {\\textcircled{\\footnotesize 3}} used to work in lily 2.2, does not work in 2.4.2. c^\markup {\\textcircled{\\footnotesize 3}} inside the score block does. Why? Thomas lily 2.4.2 cygwin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond presentation
I am looking for a presentation about lilypond, are there any available? Regards, /Karl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Converting to test.ps does not work?
Hi, Ive just installed LilyPond 2.4.1 from pre-compiled binaries using rpm. When running lilypond I get the following error. After execution no .ps file is created. There is a .dvi file which I can see with a dvi viewer under windows. The bars are shown. (The notes are not but under windows I dont have those fonts installed.) When I look at the created log, test.log, the only odd thing I see is No auxiliary output files and No file test.aux. The error: GNU LilyPond 2.4.1 Processing `test.ly' Ontleden... Vertolken van muziek...[2] Voorbewerken van grafische objecten... Berekenen van regelafbreuken... Layout output to `test.tex'... Converting to `test.dvi'... Converting to `test.ps'... Converting to `test.pdf'...Error: /undefinedfilename in (test.ps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1055/1123(ro)(G)-- --dict:0/20(G)-- --dict:88/200(L)-- Current allocation mode is local Last OS error: 2 GNU Ghostscript 7.05: Unrecoverable error, exit code 1 Error invoking `ps2pdf -sPAPERSIZE=a4 test.ps'. Return value 256 What could be wrong here? Thanks, Guido ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics with slightly different rhythms
Responding to my own post, because I figured it out, and I hate it when I search mail archives only to find a question sans answer: Quoth Don Blaheta: I'm having a hard time getting LilyPond to do just what I want here. ... I have a song whose rhythm varies slightly to accommodate the lyrics in a second verse. [... various failed attempts ...] For my third attempt, I tried to play with the polyphony features, ... when I go ahead and actually name the contexts, the layout becomes tractable again, and the lyrics are in the right place, but we're back to clashing notecolumns and simply overprinting the other parts. The key thing I missed here was that I invoked the polyphony stuff using and but I never called \voiceOne for the main melody and \voiceTwo (for downward stems) or \voiceThree (for upward stems) for the alternate. So something like { a2 b2 } \\ { a4 b4 b b } will generate error messages and overprint; but { \voiceOne a2 b2 } \\ { \voiceThree a4 b4 b b } will resolve the collisions appropriately. (See below for a more complete example.) Since I originally wanted the second part to have smaller note heads anyway, I thought maybe I'd just A) make them smaller and B) manually perturb the note heads. But while I can use \set fontSize to solve the first problem, I haven't yet figured out what to poke to make the note head and stem all move together. (I guess I could separately add the same offset to NoteHead and Stem, but that seems unsatisfactory.) This may still be a problem if you want e.g. an a4 and an a8 to print separate noteheads, and the solution is to override the force-hshift of the whole NoteColumn. A reduction of the whole solution, with alternate rhythm, smaller notes, and offset noteheads, looks like this: \context Voice = verse { \voiceOne c4 c8 c % etc... the normal music } \context Voice = altverse { \set fontSize = #-3 \voiceTwo s1 | s1 | ef4 ef2. | %only set the different notes, skip the rest s4*3 \once \override NoteColumn #'force-hshift = #1.1 f8 f8 | %makes the first eighth note offset } Then you can use the associatedVerse trick described in the manual in order to line lyrics up with the altverse notes instead. Hope someone finds this helpful -- -=-Don [EMAIL PROTECTED]http://www.blahedo.org/-=- Don't tell ME that I don't understand the difference between special and general relativity, you uneducated turd-boy. I'll distort your timespace continuum into next WEEK.--Eva Schillace ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Using lilypond-book
Today's questions are about using lilypond-book. I'm putting together a pamphlet with various short pieces for a service; in typing in the pieces, my metadata-happy self is putting in all the title, author, and meter info, but I don't really want all that in there when it's assembled into book form. In fact, I'd be happiest with *none* of it, since I can put the info I want (and control the formatting, etc) in the LaTeX directly. Is there any way to turn off the header printing for all snippets? Nothing like that seems to be among the options. Is there a way to turn off header printing within the snippet file, when it's included? I tried putting \paper { scoreTitleMarkup = \markup {} } at the top (also bookTitle...), but that doesn't seem to affect anything. If there *is* something I can put at the top, can someone tell me what I'm doing wrong in the following line to add such a line on the fly: lilypond-book --filter 'myscript' svc.lytex Even if I just put 'cat' in as the filter (which should just output what was fed into it), I get the following error: Traceback (most recent call last): File /sw/bin/lilypond-book, line 1393, in ? main () File /sw/bin/lilypond-book, line 1388, in main do_file (files[0]) File /sw/bin/lilypond-book, line 1297, in do_file output_file.writelines ([c.filter_text () for c in chunks]) File /sw/bin/lilypond-book, line 883, in filter_text code = self.substring ('code') File /sw/bin/lilypond-book, line 809, in substring return self.match.group (s) IndexError: no such group Am I using bad syntax, or is this just a bug? I'm using 2.5.0 from the Mac OS X fink distribution. -- -=-Don [EMAIL PROTECTED]http://www.blahedo.org/-=- There was a young poet named Dan, Whose poetry never would scan. When told this was so, He said, Yes, I know. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Chord Symbol Problems
It's been a while since I worked with Lilypond. I'm still getting the capital M instead of a delta (triangle) when engraving maj7 chord symbols. Has this bug been fixed? Also, I'm at a loss trying to figure out how to notate a m7b5. How is this done? -- Gxis Revida, S L Raymond Support School Choice initiatives. Build a man a fire, and he will be warm for a day. Set a man on fire, and he will be warm for the rest of his life. --Anonymous BEGIN GEEK CODE BLOCK- Version: 1.0 GMU/O d+@ s: a C++ UL P+ L++ E-(---) W++ N++ o--@ K- w+(--) !O !M V PS--(+) PE++ Y !PGP t+() !5 X+() R+++($) tv b+ DI@ !D G e++ h---@ r++ y? --END GEEK CODE BLOCK-- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user