Re: \book output
On 11/21/2010 8:03 AM, Stephan Elliot Perez wrote: Greetings, When I have multiple \score in a \book , I receive multiple .pdf files as output, as if I had processed each of them separately. How can I process them into one file? I use PDFTKBuilder a lot. http://angusj.com/pdftkb/ Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can LilyPond do incipits?
On 11/21/2010 8:11 PM, Patrick Karl wrote: I'm trying to duplicate in LilyPond a very ugly photocopied piece of music, which was handed out in an Early Music workshop, which includes incipits. Does LilyPond do incipits? The only thing I find in the v2.12 NR is: Yes, it can do beautiful incipits. I place the following code at the top of the file (retrieved from the snippets repository): incipit = #(define-music-function (parser location incipit-music) (ly:music?) #{ \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT \once \override Staff.InstrumentName #'self-alignment-Y = #UP \once \override Staff.InstrumentName #'Y-offset = #4 \once \override Staff.InstrumentName #'padding = #0.3 \once \override Staff.InstrumentName #'stencil = #(lambda (grob) (let* ((instrument-name (ly:grob-property grob 'long-text)) (layout (ly:output-def-clone (ly:grob-layout grob))) (music (make-music 'SequentialMusic 'elements (list (make-music 'ContextSpeccedMusic 'context-type 'MensuralStaff 'element (make-music 'PropertySet 'symbol 'instrumentName 'value instrument-name)) $incipit-music))) (score (ly:make-score music)) (mm (ly:output-def-lookup layout 'mm)) (indent (ly:output-def-lookup layout 'indent)) (width (ly:output-def-lookup layout 'incipit-width)) (incipit-width (if (number? width) (* width mm) (* indent 0.5 (ly:output-def-set-variable! layout 'indent (- indent incipit-width)) (ly:output-def-set-variable! layout 'line-width indent) (ly:output-def-set-variable! layout 'ragged-right #f) (ly:output-def-set-variable! layout 'ragged-last #f) (ly:output-def-set-variable! layout 'system-count 1) (ly:score-add-output-def! score layout) (set! (ly:grob-property grob 'long-text) (markup #:score score)) (ly:system-start-text::print grob))) #}) Then something like the following: cantusIncipit = \new MensuralVoice = cantusIncipit \repeat unfold 9 { s1 \noBreak } { \override Rest #'style = #'neomensural \clef neomensural-c1 \key c \major \time 2/2 r2 a'2 } Then finally in the \score: \new Voice = cantus \incipit \cantusIncipit \cantusMusic \new Lyrics \lyricsto cantus \cantusLyrics Aaron P.S. I tried to send a PDF of a single page, but it was apparently too big. You can see the incipits in a modern edition I did at http://hdl.handle.net/1880/47815 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: What setup for a Pedagogy Book?
On Fri, 12 Nov 2010, Henry Flurry wrote: I was thinking of exploring the possibility of LaTex Lilypond. Has anybody out there done this kind of combo? My entire Master's thesis was a combination of LaTeX and Lilypond---both musical examples and the inclusion of an entire modern edition and apparatus. The musical examples were embedded in the LaTeX source and the individual pieces of the edition were contained in separate files. This would give you arbitrary control over the styling of each piece. My workflow: - Run lilypond-book on the LaTeX file that contained the edition. - Run lilypond-book on the two chapters that had examples. - pdflatex - bibtex - pdflatex - pdflatex The LaTeX file that contained the edition was a string of: \clearpage \addcontentsline{toc}{section}{29. Et son del mio languir cos\`i contento (seconda parte)} \label{madrigal29} \lilypondfile{01-3-29.ly} It was really quite straightforward. The thesis can be viewed at: https://dspace.ucalgary.ca/handle/1880/47815 I hope this helps. Aaron P.S. I did not make a bigger deal on the list of the release of my thesis because I was ashamed. Due to a stupid, stupid oversight, the Typeset by lilypond tagline was omitted from the music of the edition. It was a perfect opportunity to give back to the Lilypond community, and I miffed it. I am deeply sorry. For what it's worth, Lilypond was an invaluable part of my entire educational workflow, and essential to the thesis itself. My adviser was really unsure whether Lilypond would produce the desired output, but he was thrilled with the results. I evangelized to every person that would listen in the department. I also used Lilypond to typeset examples for a professor's book I was editing. He plans on including a mention of Lilypond in the text. If that comes to fruition, I'll let the list know. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Book with LilyPond, community of professionals
On 01/04/2010 2:58 AM, Dmytro O. Redchuk wrote: У ср, 2010-03-31 у 13:41 -0400, Aaron Dalton пише: \clearpage \addcontentsline{toc}{subsection}{1. Amor, che sol dei cor leggiadri ha cura} \label{madrigal01} \lilypondfile{/home/aaron/svn/scores/out/01-3-01.ly} In my case all the scores are in one place, so I simply \input this file wherever I wish it to appear in the larger document. By the way, since all the scores are in one place, you can do this like this: % first, include files by filenames, no pathes: \lilypondfile{01-3-01.ly} and then, i believe, process like this: $ lilypond-book --process='lilypond -I/home/aaron/svn/scores/out/' book.lytex This will allow relocate easily .) If needed. Ooo, I never noticed lilypond-book had an -I switch! Thanks! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Book with LilyPond, community of professionals
My master's thesis is a modern edition of a book of 16th-century madrigals. It is comprised of two parts: the first is all the discursive stuff, and then the second is the text, scores, and apparatus. I simply have a single .lytex file with entries like the following for each madrigal: \clearpage \addcontentsline{toc}{subsection}{1. Amor, che sol dei cor leggiadri ha cura} \label{madrigal01} \lilypondfile{/home/aaron/svn/scores/out/01-3-01.ly} In my case all the scores are in one place, so I simply \input this file wherever I wish it to appear in the larger document. As you can see, you can quite simply put a few madrigals in, then add some text, then do some more scores, and back again. This is producing excellent results for me. HTH! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sudden cannot allocate memory error
On Wed, 17 Mar 2010, Graham Percival wrote: On Wed, Mar 17, 2010 at 7:19 PM, aa...@daltons.ca wrote: I have had no problems whatsoever up until today. Lilypond-book compiles the first madrigal fine, but when it goes to do a second (order doesn't seem to matter), I get the above error. You could try altering the LILYPOND_GC_YIELD environment variable (discussed in the AU or Usage manual; see command-line usage). Also, start commenting things out until you have the smallest possible file that demonstrates this problem. If you start doing this, you'll probably discovered that you have something weird like \repeat 22 {blah blah} instead of \repeat 2 {blah blah} UItimately, computers are not magic; if it used to work, then look at all the changes you made between versions. You *do* store your thesis in svn or git or something like that, right? :) (failing that, look at the last time you made backups... or just start commenting stuff out) Thank you for your help, Graham. I *do* use SVN thankfully. You couldn't manage a big project like this without it. At least, I have no idea how all these other students do! What is odd to me is I can build all the scores fine independently (using just lilypond). I've added some new lilypond fragments to one of my chapters, so I'm trying to see if I can find a problem there (even though that's not where lilypond-book is dying). I'll let you know if I find anything. Thanks again for your time. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Musica ficta
On 13/03/2010 8:35 AM, northofscotland wrote: I have been trying to force musica ficta accidentals into brackets, but the notation \set suggestAccidentals = ##t fs? seems to be ignored. Is it me or Liliypond? I have 29 16th-century madrigals in which \set suggestAccidentals =##t works just fine. What do you mean when you say seems to be ignored? Depending on your accidental style, you may need to add ! after the note name: GNU LilyPond 2.12.3 \set suggestAccidentals = ##t fis!4 \set suggestAccidentals = ##f Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Where are error messages explained?
On 04/02/2010 10:16 AM, Patrick Karl wrote: Where are the various error messages and warnings explicated? Here are two examples: Usually a search of the mailing list answers my questions. I agree that it would be nice if there were a more comprehensive documentation somewhere. * programming error: Adding reverse rod continuing, cross fingers This happens to me with the ambitus engraver. Something to do with when the ambitus reaches above and below the staff or something like that. It's harmless and (AFAIK) is a fundamental issue that you as the typesetter can't somehow fix. Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: simple editor for windows
On Fri, 18 Dec 2009, Stefan Thomas wrote: Dear Ralph, thanks for Your hint. I've downloaded Textpad. It works well, but unfortunately I couldn't get syntax-highlighting with it. Isn't it available? 2009/12/16 Ralph Palmer palmer.r.vio...@gmail.com Stefan - I have been using ConTEXT on my Win XP machine. It's freeware, and has Lilypond highlighting. I've been very happy with it. It's simple and kind, but has formatting not normally available in NotePad. Check it out at: http://www.contexteditor.org Ralph I have been using jEdit (http://jedit.org) and i absolutely love it. The seller for me is the (s)FTP support. It treats the remote file system just as if it were local. I can access it by URL (sftp://m...@somewhere/my/dir) instead of having to manage sites. Even if you don't need the FTP feature, I strongly recommend giving it a shot. It highlights Lilypond syntax and will let you work with UTF-8 for those pesky foreign lyrics :) Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: off-topic somewhat: installing jedit/lilypondtool with no internet connection?
On 18/12/2009 5:31 PM, chip wrote: Francisco Vila wrote: 2009/12/18 chip c...@wiegand.org: Is it possible to just download everything needed to make an install disk that includes jedit/lilypondtool/other plugins (I have 17 plugins installed)? I want to get a computer that has no internet connection set up for working on music and lily. Windows or Linux? WinXP Java can be installed from a file. Jedit can be installed from a file upon Java. On a computer with internet connection, install the jedit plugins and copy the settings folder where they live, I think this could trick to an existing jedit install making it to behave just as if the plugins were installed from the online plugin repo. I don't see a settings folder, did find a settings-backup folder buried under Documents and Settings etc etc etc. Can I just copy the entire .jedit folder from that directory and paste into a new install of jedit on the other computer? That would be the easiest thing to do, if it'll actually work afterwards. You could install it while online, then pull off the ethernet cable, uninstall, and try to install again from the files while offline. Can't install it offline, the computer I need it installed on is in a location with no internet access. The settings folder is in your home folder (c:\windows\DaS\Username\.jedit) if I'm not mistaken. You can copy the main jedit folder (c:\program files\jedit) to a usb stick or something, and then manually copy the files in your home folder's jars directory to the jars directory in the main jars folder. I'm not sure about all the other folders in the .jedit folder or how they work. I carry on my usb drive a copy of the jedit installer and the few indispensable plugins I use. I just quickly install jedit, copy over the jars into the main jars folder, and I'm off. Yes, I have to redo my encoding and other global settings, but I'm quite used to it now. Hope that helps. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Scheme question regarding hiding accidentals
I'm typesetting a book of Italian madrigals and have used the accidental-style 'forget' for the project as it deals correctly with 99% of my accidentals. The issue is when I have a chromatically inflected note repeated. It quite naturally wants to reprint the accidental for each note. For this case only, I want to be able to hide the accidental. Ideally I would just attach a character to my note entry (like bes! and bes?, only [perhaps] bes-). I don't know much Scheme, but I am willing to learn. Can somebody point me to documentation on how to interface with the Lilypond code, and perhaps what function(s) I should be looking at to emulate behaviour like bes! and bes?. If there exists a quick and dirty hack to suppress the accidental (the mailing list archives suggest there is not), then I would like that too, so I can at least move forward with this part of my project. Thank you for your time and help! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Augmentation and Diminution
Valentin Villenave wrote: 2008/10/7 Stefan Thomas [EMAIL PROTECTED]: Dear Aaron, maybee this could help You: http://lsr.dsi.unimi.it/LSR/Item?id=390 ... or (better) this one: http://lsr.dsi.unimi.it/LSR/Item?id=305 Thanks so much! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: type1 lilypond fonts in windows
fiëé visuëlle wrote: Am 2008-10-08 um 07:43 schrieb Aaron Dalton: I notice that the type1 fonts in the Lilypond distribution have the .PFB files but no .PFM files. Are those downloadable somewhere? Windows needs both to install them. I want to edit my pdf output in Illustrator but some elements are getting messed up due to font issues. I found an old 2005 post but the site does not have the current fonts. Certain fonts are not available in OTF format. The feta fonts, for example, are only in SVG and type1 format. If there's a way to use the SVG fonts in Windows, I'd appreciate any tips. I can't seem to find anything. Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: type1 lilypond fonts in windows
Aaron Dalton wrote: fiëé visuëlle wrote: Am 2008-10-08 um 07:43 schrieb Aaron Dalton: I notice that the type1 fonts in the Lilypond distribution have the .PFB files but no .PFM files. Are those downloadable somewhere? Windows needs both to install them. I want to edit my pdf output in Illustrator but some elements are getting messed up due to font issues. I found an old 2005 post but the site does not have the current fonts. Certain fonts are not available in OTF format. The feta fonts, for example, are only in SVG and type1 format. If there's a way to use the SVG fonts in Windows, I'd appreciate any tips. I can't seem to find anything. To be clear, I'm looking at the 2.11.57 FreeBSD and the 2.11.61 Windows distributions. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Augmentation and Diminution
Is there a way to tell Lilypond to automatically increase or decrease the note values by a certain ratio? I have a number of transcriptions done at a fixed ratio but in the modern edition some will need their note values doubled. I'm hoping this is as simple as adding some directive at the top of the file. Thanks for your time and help. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Joining Stems
I am typesetting some musical examples for a professor for a book he will be publishing. In this particular example he is trying to show chronology as it pertains to sketch studies. What we have is a 16th-note tuplet 9 notes long. The 7th note used to be one pitch but was later crossed out to be another. What he wants to see is the old note inserted just before the final note and the stems meeting at the same point along the beam. Is there a way to do this within Lilypond? Or will I have to do this using Photoshop or something? Thank you again for your time and assistance. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Repositioning Notes
I have a long tuplet and the last note in that tuplet needs to be shown as both a 32nd-note (part of the tuplet) *and* a quarter note. I found the posts that talk about hiding the note head and hshifting the note, but the problem here is that it warps the tuplet below it. Here's a minimal example: \version 2.10.33 \relative c' { \clef treble_8 \key f \major \time 3/4 r2 { \once \override NoteColumn #'force-hshift = #15 \once \override NoteHead #'transparent = ##t e4 }\\ { \times 8/9 {d,32( e f) g a b cis d e} } \bar || } Is there another way to make this note shift to the end of the measure? Thanks for your help! -- Aaron Dalton http://perlkonig.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repositioning Notes
Thank you, Kieren! That does exactly what I want. If I understand correctly you instantiated separate voices inside the \times (which I didn't know you could do...cool) and then simply removed the flags from the upstem 32nd note while keeping the stem. I didn't know you could do that either :) Am I getting that right? Thank you again for your help! -- Aaron Dalton http://perlkonig.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hidden rests without visible space
Kieren MacMillan wrote: Hi Aaron, Is it possible to create hidden rests that do not create visible space? \override Rest #'X-extent = #'(0 . 0) Thank you, Kieren. I'm afraid that's not doing it for me. Here's a very minimal example: \version 2.10.19 \paper{ ragged-right=##t } allMusic = \relative c'' { c4 d \override Rest #'X-extent = #'(0 . 0) s2 | e4 f g a } \score { \new Staff \allMusic } The \override doesn't seem to make any difference to the output. I'm trying compress as much as possible the space created by that 's2' before the bar line. Thank you again for your help! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hidden rests without visible space
Trevor Daniels wrote: This will reduce the visible space, but any MIDI output will be incorrect: \version 2.10.19 \paper{ ragged-right=##t } allMusic = \relative c'' { c4 d4*3 | e4 f g a } \score { \new Staff \allMusic } Thank you, Trevor and Kieren. It turns out that Trevor's solution worked best for my situation since I don't need any midi output. I really appreciate the help. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Hidden rests without visible space
Is it possible to create hidden rests that do not create visible space? I have used skips to layout a series of variations but there is far too much white space around the barlines separating variations. I am hoping to find a way to still use skip but greatly compress the space it generates. Thanks for your help! -- Aaron Dalton http://perlkonig.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Parenthesizing rests
I've done some archive searching but there does not appear to be any solution. How does one parenthesize rests? I'm preparing a number of transcriptions that will eventually be formally published (with Lilypond credited as the engraver) and need to be able to show editorial rests as well as pitches. I am having the same problems outlined in the list archives. Thanks for your help. -- Aaron Dalton http://perlkonig.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem with \triangle ##f
Mats Bengtsson wrote: Make sure to add a space between the ##f and the }. /Mats And voila! *jots this down in his things to remember about Scheme book* Thanks for your help. -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problem with \triangle ##f
I'm using v.2.10.19 on FreeBSD and am trying to use the \markup{\triangle ##f} command. When I do, however, I get the following error. Renaming input to: `21.ly' /home/aaron/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:45:70: error: syntax error, unexpected $end (apply ly:make-book $defaultpaper $defaultheader toplevel-scores))) This happens even if I run lilypond itself instead of lilypond-book. The odd thing is that \triangle ##t works just fine. I just don't want it filled in :) Thanks for your time. -- Aaron Dalton http://perlkonig.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: producing archival scores
Josiah Boothby wrote: On 4/5/07, Valentin Villenave [EMAIL PROTECTED] wrote: Hello everybody, hello Jason, I would like to add my 2 cents here: though LilyPond syntax evolves indeed very quickly, you'll always be able to find the version of LilyPond which was in use when you first typed your score, on http://lilypond.org/web/install/older-versions or http://download.linuxaudio.org/lilypond/sources/ This is why open-Source gives some guarantees (well, relatively at least) you won't be able to find with any other proprietary software: Just to clarify one small thing: I think that it would be nearly impossible -- or at least extraordinarily difficult -- to compile on a modern distribution of Linux a sufficiently old version of Lilypond so that ancient .ly files can be used directly. The nice thing about the old ly files is that the syntax is usually similar enough that if convert-ly doesn't work, most of the note-entry should be straightforward to reuse, leaving organization and tweaking to be done (for me, that usually takes about half of the time of preparing a score, so that's not so bad). Don't the new distributions *include* all the dependencies? The FreeBSD and Windows packages seem to. I don't have an extra box to experiment with though. In any case, I agree that the note entry syntax doesn't change and that represents (for me anyway) 90% of the work. I will still rely on Lilypond for archival scores. Proprietary software won't cut it (as explained earlier) and MusicXML seems insanely verbose to me. The snippet at http://en.wikipedia.org/wiki/MusicXML is way too long just to get a clef, time signature, and middle C. Cheers! -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: producing archival scores
Jason Merrill wrote: Thanks for the interesting comments so far. I want to refocus the discussion slightly. I didn't mean to get into a discussion about the relative merits of lilypond as an entry tool, exactly, so take as a temporary supposition that I want to enter music in lilypond right now, but that at some future time, someone else wants to modify that music in a program other than lilypond. How can I do something now to make that easiest? There is not now, nor ever will be, some universal music language. MusicXML is an option, but not one everybody will choose. One could ask the exact same question by replacing 'lilypond' with 'MusicXML'. The issue with archival (it seems to me) is a format whose source will always be readable and whose output will always be viewable. Seems to me Lilypond and MusicXML are the only ones that provide both of these. They also seem to me to be the only two options that are non-proprietary so others will not have purchase anything to access your work. Whether you prefer MusicXML or Lilypond is a matter of taste, methinks. Obviously the people on this list are going to have a marked bias towards Lilypond, but that is indeed another question. Josiah makes the point that MusicXML is too verbose. I agree; however, it succeeds at it's stated goal of being a music interchange format in that it is widely supported. Is there another, better music interchange format either available or in development? I could argue that Finale is also a music interchange format that is widely supported. MusicXML is just one more way of encoding music. Any format that uses plain text as source and a non-proprietary compiler I think is a perfectly decent archival option. So far, the best option was suggested by Tom: a tool called PDFtoMusic Pro that converts PDF scores into MusicXML. The pros are that it is available right now, and that it presumably works. Downsides are that it is proprietary and not free, and takes what seems to me a rather indirect route towards solving my particular problem. 1) I have strong reservations about the claims made by this product. I would be very interested in hearing what people's results have been. I cannot imagine that they can do what they say with the accuracy they imply. 2) The fact that it's proprietary to me is more than a downside, but actually kills the option as one for long-term archival. I guess it depends on your goals. It sounds like you're more interested in exchange rather than archival. Any other suggestions? Any comments on the likelihood of being able to compile lilypond into a music interchange format at some point in the future? I see no reason why a ly2musicxml utility could not be done, but I don't know enough about the guts of Lilypond personally. It's an interesting question to be sure. -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Incipit in Modern Editions
I'm doing a modern edition of some 16th-century madrigals and the format requires that each staff have the original clef, mensuration, and first few notes in a little incipit before the modern transcription. I see that Lilypond has all the glyphs I need, but I'm unsure how to go about adding this incipit. Is it even possible? Thanks for your time. -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyric Ties (desperate)
José Luis Cruz wrote: Here is the page for downloading the fonts: http://dejavu.sourceforge.net/wiki/index.php/Download If you have windows, this is the direct linc to the ttf's on a zip: http://prdownloads.sourceforge.net/dejavu/dejavu-ttf-2.16.zip?download I extracted the fonts to the c:\windows\fonts folder (where all the fonts are located), and lilypond were able to use them without touching anything. I don't know if it'll be as easy for you. Thank you, Jose! With this information and some Googling I've finally resolved the issue. For the record, here's what I had to do for the FreeBSD package (and I assume it's similar for the other *nix's). 1) Install the x11-fonts/dejavu port. This should install the fonts somewhere like /usr/X11R6/lib/X11/fonts/dejavu. 2) Open the file LILYPONDBASE/usr/etc/fonts/local.conf and add the following line just after the 'fontconfig' line. (Adjust as necessary for your hierarchy.) dir/usr/X11R6/lib/X11/fonts/dir All your system fonts should now be accessible! Do a 'lilypond -dshow-available-fonts any' to be sure. Below is the updated snippet that now displays the lyric tie as it should: \version 2.10.0 \paper { #(set-default-paper-size letter) #(define fonts (make-pango-font-tree DejaVu Serif DejaVu Sans DejaVu Sans Mono (/ 16 20))) } \relative c'{ \time 4/4 r4 f4 e d | c2 c | } \addlyrics { Buon gior -- no~al mon -- do. } -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyric Ties (desperate)
Aaron Dalton wrote: I am preparing a series of typeset manuscripts for both formal publication and my thesis. I cannot do this until I figure out how to typeset lyric ties (http://huge-url/#Entering-lyrics). The problem, as the documentation states, is that you need a font that correctly encodes U+203F. What the documentation does not tell me is the following: 1) Is there a font included in the Lilypond package that does include this character? 2) If not, where exactly can I obtain such a font (such as the stated DejaVuLGC), or how would I even begin a hunt for such a font? 3) Once found, how do I install this font in the Lilypond hierarchy so that it is detected by the binary? 4) And finally, how to I tell Lilypond to use a particular font for all lyrics in an .ly file? The list archives simply turn up an exchange a long time back where PersonX asked the question, PersonY told him to install DejaVuLGC, and PersonX then said, Thanks! I've tried to contact PersonX and PersonY but have not received responses or bounce messages. I am desperate to get this working. I do *not* want to re-typeset all this music in some lame-trash software like Finale. I am indeed using v2.10.x. I normally use the FreeBSD package but also use it on Windows. (My Cygwin install segfaults though, btw.) I sincerely appreciate any guidance anyone can give me in solving this problem. Many thanks, Here's a snippet to work with. \version 2.10.0 \relative c'{ \time 4/4 r4 f4 e d | c2 c | } \addlyrics { Buon gior -- no~al mon -- do. } -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Ties (desperate)
I am preparing a series of typeset manuscripts for both formal publication and my thesis. I cannot do this until I figure out how to typeset lyric ties (http://huge-url/#Entering-lyrics). The problem, as the documentation states, is that you need a font that correctly encodes U+203F. What the documentation does not tell me is the following: 1) Is there a font included in the Lilypond package that does include this character? 2) If not, where exactly can I obtain such a font (such as the stated DejaVuLGC), or how would I even begin a hunt for such a font? 3) Once found, how do I install this font in the Lilypond hierarchy so that it is detected by the binary? 4) And finally, how to I tell Lilypond to use a particular font for all lyrics in an .ly file? The list archives simply turn up an exchange a long time back where PersonX asked the question, PersonY told him to install DejaVuLGC, and PersonX then said, Thanks! I've tried to contact PersonX and PersonY but have not received responses or bounce messages. I am desperate to get this working. I do *not* want to re-typeset all this music in some lame-trash software like Finale. I am indeed using v2.10.x. I normally use the FreeBSD package but also use it on Windows. (My Cygwin install segfaults though, btw.) I sincerely appreciate any guidance anyone can give me in solving this problem. Many thanks, -- Aaron Dalton University of Calgary [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with Lilypond-book, accidentals, and time signatures
Mats Bengtsson wrote: Quoting Fred Leason [EMAIL PROTECTED]: Aaron: I pasted your snippet into a TeX file and ran lilypond-book (2.11.19.) Output looked good to me. I used pdflatex: lilypond-book InlineFragment.tex --pdf --output=pdflatex lilypond-book (GNU LilyPond) 2.11.19 Reading InlineFragment.tex... Running latex...This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) entering extended mode (/tmp/tmpq8dcqe.tex LaTeX2e 2003/12/01 Babel v3.8d and hyphenation patterns for american, french, german, ngerman, d utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded. snip cd pdflatex open lily-173dcc0941.pdf Well, a more relevant command is pdflatex InlineFragment.tex open InlineFragment.pdf This is actually a good hint for Aaron, namely to use the --pdf flag and pdflatex instead of --psfonts, latex, dvips and ps2pdf. The font files should be the same, but you never know with software. Also, I really hope that Aaron removed all generated lily-* files from any older LilyPond installation before trying to run lilypond-book again with a newer one. The same goes if you earlier have used --psfonts and then want to use --pdf instead. /Mats First let me say thank you. The pdflatex solution did indeed work. Unfortunately, this is not a permanent solution. There are indeed differences (both internally and in regards to output) between pdflatex and the latex-dvips-ps2pdf way of doing things. Being one that uses bibTeX and a few other oddities, I have become quite accustomed to the latex route. Is there a way to correct the --psfonts problem? Thank you again for your time and assistance. I feel much better having this paper finally printed out. Now to find this DejaVuLGC font everybody keeps talking about so I can get my Lyric Ties working! Cheers! -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with Lilypond-book, accidentals, and time signatures
I am trying to incorporate some musical fragments into a brief paper I'm writing. Here is the snippet: \begin[fragment,staffsize=15]{lilypond} \relative c { \key c \major \clef bass \time 4/4 r8 e e e e e e e e e e e e e fis fis } \end{lilypond} Here's the script that compiles it: #!/bin/sh rm -rf lilyscratch lilypond-book --psfonts $1.tex --output lilyscratch cd lilyscratch latex $1 latex $1 dvips -h $1.psfonts -o -Ppdf $1.dvi ps2pdf $1.ps cp $1.pdf somewhere cd .. Problem 1) I don't get a time signature (C, in this case) unless I do: \override Staff.TimeSignature #'style = #'() which gives me 4/4. Problem 2) Note the initial 8th note rest is not rendered. Problem 3) Note the # sign is not printed for the F sharps. I'm running under FreeBSD 5.4-RELEASE. I am using the following versions: - Lilypond 2.10.13 (the FreeBSD package) - pdfeTeX (latex) 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea version 3.5.4 - dvips(k) 5.95a - ps2pdf, version unknown - ghostscript-gnu v2.07-15 (for the latex system, not lilypond) I would really appreciate any advice you could give me. I'm not sure where to start. -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with Lilypond-book, accidentals, and time signatures
Aaron Dalton wrote: Aaron Dalton wrote: I am trying to incorporate some musical fragments into a brief paper I'm writing. Here is the snippet: \begin[fragment,staffsize=15]{lilypond} \relative c { \key c \major \clef bass \time 4/4 r8 e e e e e e e e e e e e e fis fis } \end{lilypond} Here's the script that compiles it: #!/bin/sh rm -rf lilyscratch lilypond-book --psfonts $1.tex --output lilyscratch cd lilyscratch latex $1 latex $1 dvips -h $1.psfonts -o -Ppdf $1.dvi ps2pdf $1.ps cp $1.pdf somewhere cd .. Problem 1) I don't get a time signature (C, in this case) unless I do: \override Staff.TimeSignature #'style = #'() which gives me 4/4. Problem 2) Note the initial 8th note rest is not rendered. Problem 3) Note the # sign is not printed for the F sharps. I'm running under FreeBSD 5.4-RELEASE. I am using the following versions: - Lilypond 2.10.13 (the FreeBSD package) - pdfeTeX (latex) 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea version 3.5.4 - dvips(k) 5.95a - ps2pdf, version unknown - ghostscript-gnu v2.07-15 (for the latex system, not lilypond) I would really appreciate any advice you could give me. I'm not sure where to start. As a follow-up, it appears natural signs render fine, but not sharps. As a further follow-up, flats also render fine. The problem seems to be solely with the rests and the sharp signs. Updating to 2.10.19 did not correct the problem. -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Ties
I'm setting a Renaissance madrigal and am getting a series of compilation errors with regards to lyric ties. programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+1000203F, file /home/aaron/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name returns error continuing, cross fingers Now, the documentation says that I have to make sure I have an appropriate font to render this glyph. The font listed (DejaVuLGC) does not come with the Lilypond FreeBSD package. Is there a packaged font I need to use to font to render this glyph. The font listed (DejaVuLGC) does not come with the Lilypond FreeBSD package. Is there a packaged font I need to use to render these ties? If it's an external font, how do I install that into the FreeBSD Lilypond tree so it's seen? Thank you for your time and assistance! -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Ties
I'm setting a Renaissance madrigal and am getting a series of compilation errors with regards to lyric ties. programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+1000203F, file /home/aaron/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name returns error continuing, cross fingers Now, the documentation says that I have to make sure I have an appropriate font to render this glyph. The font listed (DejaVuLGC) does not come with the Lilypond FreeBSD package. Is there a packaged font I need to use to render these ties? If it's an external font, how do I install that into the FreeBSD Lilypond tree so it's seen? Thank you for your time and assistance! -- Aaron Dalton Super Duper Games http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond version
I'm running FreeBSD5 and I downloaded and installed the FreeBSD installer for v2.10.13-1. After installing misc/compat4x it appears to be running fine. Thanks for the nice new installers! When I run it, though, it is reporting the version ans 2.8.7. Could someone explain why? Thanks for your time! Aaron Dalton [EMAIL PROTECTED] http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Version of lilypond for FreeBSD
What is happening is your daughter's computer is a newer version of FreeBSD and apparently it will not compile on 5.2 systems. You can try to force the issue by editing the file /usr/ports/print/lilypond/Makefile and removing the 3-line section that says BROKEN= Will not compile. and then reinstall the port. I know that I have got lilypond working on my FreeBSD system, but it took alot of manual tweaking. Unfortunately, it appears that the FreeBSD port maintainer that originally imported v2.2.2 has abandoned the port (cannot be contacted) and I simply don't have the expertise necessary to take over. Until somebody does, you won't see v2.5 in the ports tree anytime soon =( I run Windows on another machine and have found the Cygwin process to be easy and painless. You may wish to consider migrating since it seems you don't have time to fiddle. My very recent run-in with convert-ly to transform *my* 2.2.2 documents to 2.5 was very good and you shouldn't have any problems I hope. Best of luck to you, and congratulations on your ordination. Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Issue upgrading from 2.2 to 2.4
Graham Percival wrote: On 12-Mar-05, at 7:09 PM, Aaron Dalton wrote: I run Lilypond under WinXP and Cygwin. I had typeset a number of William Byrd pieces under Lilypond 2.2 and have now upgraded to 2.4. Now my pieces don't compile. The top of my source file is as follows: --BEGIN TOP OF FILE-- \version 2.4.2 Did you update using convert-ly ? It looks like you simply changed the version number on this line. If so, please change this back to 2.2.5 (or whatever), then run convert-ly -e FILENAME.ly The resulting file should compile correctly. I just can't seem to find any reason for this to happen. I assume I have missed some major change to the way 2.4 works. Can anybody out there give me a hand? We no longer use \notes {}. But convert-ly should fix that automatically. Cheers, - Graham I had never seen convert-ly before. After reading the manpage, everything worked just fine. Thank you all so much!! Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Issue upgrading from 2.2 to 2.4
Graham Percival wrote: On 12-Mar-05, at 7:09 PM, Aaron Dalton wrote: I run Lilypond under WinXP and Cygwin. I had typeset a number of William Byrd pieces under Lilypond 2.2 and have now upgraded to 2.4. Now my pieces don't compile. The top of my source file is as follows: --BEGIN TOP OF FILE-- \version 2.4.2 Did you update using convert-ly ? It looks like you simply changed the version number on this line. If so, please change this back to 2.2.5 (or whatever), then run convert-ly -e FILENAME.ly The resulting file should compile correctly. I just can't seem to find any reason for this to happen. I assume I have missed some major change to the way 2.4 works. Can anybody out there give me a hand? We no longer use \notes {}. But convert-ly should fix that automatically. Cheers, - Graham Oh, indeed everything compiles fine and I get my beautiful looking PDF, but I get the following error as well: Error invoking `latex \\nonstopmode \\input 3voices-agnusdei.tex /dev/null 21 '. Return value 256 Everything appears to still work though. Any ideas? Cheers! Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Issue upgrading from 2.2 to 2.4
I run Lilypond under WinXP and Cygwin. I had typeset a number of William Byrd pieces under Lilypond 2.2 and have now upgraded to 2.4. Now my pieces don't compile. The top of my source file is as follows: --BEGIN TOP OF FILE-- \version 2.4.2 \header { title = Mass for Three Voices composer = William Byrd piece = Agnus Dei } supMusic = \notes \relative f' { f2. c4 f8 \melisma g a2 g4 \melismaEnd a2 r4 bes4 a4. g8 f4 f~ f e d \melisma a' \melismaEnd g2 r2 a4 bes4 c4. f,8 bes4 \melisma a4. g8 a f a4 g \melismaEnd f d e g4. d8 f4~ f \melisma e \melismaEnd f2 r4 f4 a c~ c8 g bes2 \melisma a8 g \melismaEnd a1~ a1 r1 r1 r1 r1 r1 r1 r1 r1 r1 r1 r2 a2~ a4 f a2~ a4 \melisma g8 bes a4 g8 f e4 f2 \melismaEnd e4 r2 a2~ a4 f a4. \melisma g8 f4 g8 bes a4 g8 f \melismaEnd e4 f2 \melisma e4 \melismaEnd f2 r2 r4 bes,4 f'4. g8 a4 bes2 a4 g2 f r4 a2 f4 g a bes2 a4 c4. \melisma g8 bes4 \melismaEnd a2 a4. \melisma g16 f \melismaEnd e2 r4 f~ f e g4. d8 f4 \melisma e4. d8 d4~ d cis \melismaEnd d2 r1 r4 a'2 g4 c4. a8 bes4 \melisma a~ a8 g f e f4 d \melismaEnd e a4. f8 g4~ g8 f f2 \melisma e8 d e2 \melismaEnd f~ f1 \bar |. } --END TOP OF FILE-- This results in the following error: test.ly:9:17: error: unknown escaped string: `\notes': supMusic = \notes \relative f' { *but* the file completes compiling with some semblance of readable output. However, once I put the score part in... --BEGIN \SCORE SECTION-- \score { \notes \context Staff = superius \set Staff.instrument = Superius \set Staff.instr = Sup \set Staff.autoBeaming = ##f \clef treble \time 4/4 \key f \major \context Voice = superius \supMusic %superius staff \context Lyrics = superius \lyricsto superius \supWords \context Staff = supAnalysis \clef treble \time 4/4 \key f \major \notes \repeat unfold 53 { s1 } \context Staff = supAnalysisB \clef treble \time 4/4 \key f \major \notes \repeat unfold 53 { s1 } %notes \layout { \context { \Voice \consists Ambitus_engraver } } \midi { \tempo 4 . = 120 } } %score --END \SCORE SECTION-- Then I get a whole bunch of the following error and nothing is generated at all. test.ly:42:7: error: unknown escaped string: `\notes': \notes test.ly:42:6: error: syntax error, unexpected STRING: \note s I just can't seem to find any reason for this to happen. I assume I have missed some major change to the way 2.4 works. Can anybody out there give me a hand? I sincerely appreciate your time and attention. Aaron ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Metronome Markings
Mats Bengtsson wrote: Paul Scott wrote: Aaron Dalton wrote: Try as I might, I cannot get a tempo marking to appear at the beginning of my piece. I use versions 2.2.2 and 2.2.5. I am referring to section 3.7.4 of the documentation. No matter where I put the \tempo 4 = 144 line, I cannot get it to appear on the score. Below is an excerpt of my score. The * are places I have tried to put the \tempo command to no avail. Any assistance would be greatly appreciated. Cheers! Aaron upper = \notes \relative f'' { * f1 } lower = \notes \relative f' { * f1 } It's a bug. It will work in most of the places you tried if you also add: ^\markup{ } at the same place. As Erik has already pointed out, no metronome markings at all are printed in version 2.2.5, but they should work for example with 2.2.2 and with newer versions. I think the bug Paul refers to is not relevant here. Wasn't that related to scores that started with full bar rests? /Mats Thank you all for your help. I was finally able to test it on 2.2.2, and indeed it prints as it should. I must have done something wrong in my initial test case. 2.2.5 seems to be the only version Cygwin ships with. I will have to look up who maintains the Cygwin port and see if an update is in the works. Thanks again! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Metronome Markings
Try as I might, I cannot get a tempo marking to appear at the beginning of my piece. I use versions 2.2.2 and 2.2.5. I am referring to section 3.7.4 of the documentation. No matter where I put the \tempo 4 = 144 line, I cannot get it to appear on the score. Below is an excerpt of my score. The * are places I have tried to put the \tempo command to no avail. Any assistance would be greatly appreciated. Cheers! Aaron upper = \notes \relative f'' { * f1 } lower = \notes \relative f' { * f1 } \score { \notes { * \new PianoStaff \new Staff { \clef treble \time 4/4 \key f \major * \upper } \new Staff { \clef bass \time 4/4 \key f \major * \lower } } \paper { * } \midi { \tempo 4 = 144 } } ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Metronome Markings
Paul Scott wrote: Aaron Dalton wrote: upper = \notes \relative f'' { * f1 } lower = \notes \relative f' { * f1 } It's a bug. It will work in most of the places you tried if you also add: ^\markup{ } at the same place. HTH, Paul Scott Thank you for the help, Paul, but I'm still not having any success. Where exactly should I put the ^\markup command in relation to the \tempo command? I have tried the following: upper = \notes \relative f'' { \tempo^\markup f1 } upper = \notes \relative f'' { \tempo f1^\markup } upper = \notes \relative f'' { f1^\markup{\tempo} } Cheers! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Metronome Markings
Paul Scott wrote: You left out { } (a space). Try: upper = \notes \relative f'' { \tempo 4 = 144 f1^\markup { } } I only tested this on 2.4.2 (without the \notes). This is what I now have in my score. It is still not displaying =/ I am running version 2.2.5 on my Cygwin box, and 2.2.2 on my BSD box. upper = \notes \relative f'' { \tempo 4 = 132 f4^\markup { } c a g8 bes | a4 g8 bes a f c' bes | a4. c8 f4 e8 d | c a bes g a c bes d\break | } Cheers! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Importing titles via lilypond-book
Mats Bengtsson wrote: Exactly what version of 2.2 do you use? There was a bug related to \preLilyPondExample that was fixed in version 2.2.3, I think. The mailing list archives should have a workaround. /Mats I'm using 2.2.2. I'll check the archives. Thanks for the help! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Suppressing Staves
I've done a search for ways to suppress staves in an orchestral excerpt should that staff contain nothing but rests for the duration of the current system. The only thing I have found is a reference to: \translator { \RemoveEmptyStaffContext } for which I can find no documentation anywhere. Is this the command I'm looking for? If so, how does it work? If not, how should I accomplish my design? Thanks as always for your time and assistance. Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Importing titles via lilypond-book
I'm just Mr. 20-Questions today =) I am writing a paper using LaTeX and am inserting \begin/end{lilypond} blocks for my musical examples. Because LaTeX figures cannot span multiple pages, I need to manually caption these excerpts. I would like to do this via: \header { piece = caption } in each block. According to the documentation section 6.2 all I have to do is include : \input titledefs.tex \def\preLilyPondExample{\def\mustmakelilypondtitle{}} in the preamble of my LaTeX (.lytex) document. However, when I compile the document, no titles appear. Here is the process I use: $ lilypond-book --output=out myfile.lytex $ cd out $ latex myfile.tex $ dvips -Ppdf -u +lilypond.map myfile.dvi $ ps2pdf myfile.ps Any help would be greatly appreciated! Aaron P.S. Oh, Lilypond 2.2 being used, btw. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suppressing Staves
Ruud van Silfhout wrote: Hi Aaron, depending on the version of lilypond you are working on (therefor always mention the version of lilypond you are using), put \context { \RemoveEmptyStaffContext } in the \paper block (version 2.4) or in the \layout block Regards, Ruud van Silfhout I am using lilypond-book (version 2.2) and so there is no \paper block in the \begin/end{lilypond} sections. I went ahead and inserted one in the appropriate excerpt: \begin{lilypond} \score { stuff } \paper { \context { \RemoveEmptyStaffContext } } \end{lilypond} but the staves render anyway. Is there an alternate way to issue this command when using lilypond-book? Cheers! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suppressing Staves
Graham Percival wrote: On 20-Nov-04, at 11:45 AM, Aaron Dalton wrote: \begin{lilypond} \score { stuff } \paper { \context { \RemoveEmptyStaffContext } } \end{lilypond} try \score { \notes { stuff} \paper{ blah } } the \paper needs to be inside the \score. Cheers, - Graham Grrr, still no go =/ Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re Spam
Well one compromise would be to moderate non-member postings (Privacy Options - Sender Filters - generic_nonmember_action) I for one would be happy to volunteer time as a moderator. As I have mentioned to lilypond-owner, I am also willing to volunteer time going through the archive MBOX to get rid of the very distracting spam messages. Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Nested StaffGroups
Ruud van Silfhout wrote: Hi Aaron, In the user manual is a section on orchestral scores. Using that I made the following example. Can this be of any help to you? Ruud Thank you very much, Ruud! That cleared up a few misunderstandings I was having about syntax. On that subject, I have never used Scheme in my life. Is the Lilypond syntax closely tied to Scheme syntax? Would I understand better how to write Lilypond scores if I knew Scheme? I'm just finding it difficult to know where to put for example as opposed to { } and other piddly things like that. Is there a section of documentation somewhere that goes over the intimate details of Lilypond syntax? Thanks again for your time and assistance. Cheers! Aaron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Nested StaffGroups
I am running Lilypond 2.2.5 via cygwin on an XP box. I have access to 2.2.3 on my FreeBSD box but I get the same results. I am trying to duplicate a section of a Baroque opera score. I is a single system with 5 staves. The top 3 are Violin1, Violin2, and Viola. This is followed by a staff for the voice and a staff for the continuo. All 5 staves should be connected at the beginning with a single line. The top three staves should be braced, and the the top *2* staves should be further grouped with a bracket. I have included my current .ly file for examination. I believe I have correctly followed the example in section 3.3.8 of the documentation. When I compile this document, I get all 5 staves grouped together with a single brace and all the barlines shared. On a side note, I am very new to Lilypond syntax in general. There *has* to be a way to declare time and key signature for all staves in one place. If I put it after the \score delcaration I get a syntax error and if I put it after the \notes declaration it only affects the first staff. I *greatly* appreciate any help you can offer. Cheers! Aaron - \score { \notes { \context StaffGroup % groups all 5 staves \context StaffGroup % groups the top 3 staves \context StaffGroup % further groups the top 2 staves \new Staff { \clef treble \time 4/4 \key a \major {s1 | s1} } \new Staff { \clef treble \time 4/4 \key a \major {s1 | s1} } % end top 2 staves \new Staff { \clef alto \time 4/4 \key a \major {s1 | s1} } % end top 3 staves \new Staff { \clef treble \time 4/4 \key a \major {s1 | s1} } % new staff ungrouped as per documentation section 3.3.8 \context StaffGroup \new Staff { \clef bass \time 4/4 \key a \major {s1 | s1} } % end continuo % end 5-staff group } } ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
error: can't find `feta20.afm'
Well, I had a perfectly working lilypond installation and then my server freaked out. I have finally got everything reinstalled and I am using the same .profile and lilypond-profile script as before (same versions of Lilypond too, of course) and I now get the following error when trying to parse: $ lilypond assignment4a.ly lilypond (GNU LilyPond) 2.2.2 Running lilypond-bin... Now processing `assignment4a.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Fonts have not been installed properly. Aborting I am running on a FreeBSD box. feta20.afm does indeed exist where it belongs (/usr/local/share/lilypond/2.2.2/fonts/afm/feta20.afm) Below are the pertinent environment variables: GS_LIB=/usr/local/share/lilypond/2.2.2/ps: GS_FONTPATH=.:/usr/local/share/lilypond/2.2.2/fonts/type1:/usr/local/share/texmf-var/fonts/type1:/usr/local/share/texmf-local/fonts/type1:/usr/local/share/texmf/fonts/type1:/usr/local/share/texmf/fonts/type1/urw:/usr/local/share/texmf/fonts/type1/urw/helvetic:/usr/local/share/texmf/fonts/type1/urw/courier:/usr/local/share/texmf/fonts/type1/urw/avantgar:/usr/local/share/texmf/fonts/type1/urw/times:/usr/local/share/texmf/fonts/type1/urw/palatino:/usr/local/share/texmf/fonts/type1/urw/zapfchan:/usr/local/share/texmf/fonts/type1/urw/zapfding:/usr/local/share/texmf/fonts/type1/urw/ncntrsbk:/usr/local/share/texmf/fonts/type1/urw/symbol:/usr/local/share/texmf/fonts/type1/urw/bookman:/usr/local/share/texmf/fonts/type1/bitstrea:/usr/local/share/texmf/fonts/type1/bitstrea/charter:/usr/local/share/texmf/fonts/type1/public:/usr/local/share/texmf/fonts/type1/public/cs:/usr/local/share/texmf/fonts/type1/public/pl:/usr/local/share/texmf/fonts/type1/public/antp:/usr/local/share/texmf/fonts/ type1/public/antt:/usr/local/share/texmf/fonts/type1/public/pxfonts:/usr/local/share/texmf/fonts/type1/public/cc-pl:/usr/local/share/texmf/fonts/type1/public/cmcyr:/usr/local/share/texmf/fonts/type1/public/omega:/usr/local/share/texmf/fonts/type1/public/xypic:/usr/local/share/texmf/fonts/type1/public/eurosym:/usr/local/share/texmf/fonts/type1/public/marvosym:/usr/local/share/texmf/fonts/type1/public/mathpazo:/usr/local/share/texmf/fonts/type1/public/txfonts:/usr/local/share/texmf/fonts/type1/public/qfonts:/usr/local/share/texmf/fonts/type1/public/tt2001:/usr/local/share/texmf/fonts/type1/public/belleek:/usr/local/share/texmf/fonts/type1/hoekwater:/usr/local/share/texmf/fonts/type1/hoekwater/rsfs:/usr/local/share/texmf/fonts/type1/hoekwater/wasy:/usr/local/share/texmf/fonts/type1/hoekwater/context:/usr/local/share/texmf/fonts/type1/hoekwater/mflogo:/usr/local/share/texmf/fonts/type1/hoekwater/stmaryrd:/usr/local/share/texmf/fonts/type1/bluesky:/usr/local/share/texmf/fonts/type 1/bluesky/cm:/usr/local/share/texmf/fonts/type1/bluesky/cmextra:/usr/local/share/texmf/fonts/type1/bluesky/euler:/usr/local/share/texmf/fonts/type1/bluesky/latex:/usr/local/share/texmf/fonts/type1/bluesky/symbols:/usr/local/share/texmf/fonts/type1/bluesky/cyrillic: TEXMF={/usr/local/share/lilypond/2.2.2,{/home/aaron/texmf,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf}} Can anyone out there point me in the right direction? I am pretty familiar with BSD in general, but not with TeX and it's issues. Any help would be *greatly* appreciated. Cheers! Aaron Dalton ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with lilypond-book
I need some help. I've done some archive searching but can't find an answer. I am running Lilypond 2.2.2 and am trying to generate a latex document. I have set the following environment variables: MFINPUTS=/usr/local/share/lilypond/2.2.2/tex: TEXINPUTS=/usr/local/share/lilypond/2.2.2/tex:/usr/local/share/lilypond/2.2.2/ps:/usr/local/share/texmf/tex/latex/base: I do a: $ lilypond-book --output=out --format=latex assignment1.lytex $ cd out latex assignment1.tex and I get the following error: $ latex assignment1.tex This is TeX, Version 3.14159 (Web2C 7.4.5) (./assignment1.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/local/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/local/share/texmf/tex/latex/base/size10.clo)) (./assignment1.aux) (./lily-333453254.tex (/usr/local/share/lilypond/2.2.2/tex/lilyponddefs.tex (/usr/local/share/lilypond/2.2.2/tex/feta20.tex)kpathsea: Running mktextfm feta16 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input feta16 This is METAFONT, Version 2.7182 (Web2C 7.4.5) kpathsea: Running mktexmf feta16 ! I can't find file `feta16'. * ...:=ljfour; mag:=1; nonstopmode; input feta16 Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input feta16 Transcript written on mfput.log. mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input feta16' failed. kpathsea: Appending font creation commands to missfont.log. ! Font \fetasixteen=feta16 not loadable: Metric (TFM) file not found. to be read again \gdef l.137 \gdef \fetafont{\fetasixteen} ? feta16.tex exists fine at /usr/local/share/lilypond/2.2.2/tex but it can't seem to find it. Can anybody help me find the problem? Thank you for your time and assistance. -- Aaron Dalton http://aaron.daltons.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyric Entry
On September 13, 2004 11:12 am, Mats Bengtsson wrote: In most scores, such a melisma (that you sing one syllable to several notes) is typeset with a slur or possibly a beam over the corresponding notes. LilyPond knows about these conventions, but if you want a melisma without a corresponding slur or beam, you can use the \melisma command, described at http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/The-Lyrics -context.html All contexts are typeset vertically in the order they first appear in the score{...}. So, if you want the lyrics below the corresponding stave, just move the \context Lyrics = superius { s1 } below the \context Staff = superius ..., for example. (Then you actually don't even need the dummy \context Lyrics = superius { s1 }, see the mailing list archive for a better explanation). /Mats Thank you for your help! Everything works perfectly now! Cheers! -- Aaron Dalton http://aaron.daltons.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Entry
I am brand new to Lilypond and am having a heck of a time getting lyrics to render properly. I have 2 questions: 1) I want to line up the words Agnus Dei under a certain set of notes. So far the only way I have been able to properly align the syllables De-i is using 3 dashes (see source below) but I only want it to display *one* dash in the center of the melisma. If I enter De -- i or even De -- -- -- i it ignores the melisma. Is there a way to make this only display one dash between De and i? supMusic = \notes \relative f' { f2. c4 f8 g a2 g4 a2 r4 } supWords = \lyrics { A -- gnus De - - - i, } 2) Second question is with position of the lyrics. I have tried really hard to read the documentation and mailling list archives but have been unable to find my answer. I copied and modified the satb.ly template to give myself 3 staves. The problem is, all my lyrics are printing above the staff and I want them below. How do I do this? Below is my actual source code. Thank you so much for your time and patience! \header { title = Mass for Three Voices composer = William Byrd } supMusic = \notes \relative f' { f2. c4 f8 g a2 g4 a2 r4 } supWords = \lyrics { A -- gnus De - - - i, } altusMusic = \notes \relative c' { } altusWords =\lyrics { } bassMusic = \notes \relative c { } bassWords = \lyrics { } \score { \notes \context Lyrics = superius { s1 } \context Staff = superius \set Staff.instrument = Superius \set Staff.instr = Sup \clef treble \time 4/4 \key f \major \context Voice = superius \supMusic %superius staff \context Lyrics = altus { s1 } \context Staff = altus \set Staff.instrument = Altus \set Staff.instr = Alt \clef treble_8 \time 4/4 \key f \major \context Voice = altus \altusMusic %altus staff \context Lyrics = bassus { s1 } \context Staff = bassus \set Staff.instrument = Bassus \set Staff.instr = Bass \clef bass \time 4/4 \key f \major \context Voice = bassus \bassMusic %bassus staff \context Lyrics = superius \lyricsto superius \supWords \context Lyrics = altus \lyricsto altus \altusWords \context Lyrics = bassus \lyricsto bassus \bassWords %notes \paper { \context { \VoiceContext \consists Ambitus_engraver } } \header { piece = Agnus Dei } } %score -- Aaron Dalton http://aaron.daltons.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Custom Noteheads
I've done a little searching in the archives but I can't seem to find any specific information. I am wanting to use Lilypond in a research project I'm doing. I am doing a timepoint analysis of some pieces and the developer of said system uses a series of custom noteheads. I cannot seem to find any place that goes into the specifics of creating one's own notehead engraver and how to integrate it into a working Lilypond installation. Has anybody out there done this sort of thing? Would you be willing to share some wisdom on how it is done? Thank you so much for your time. -- Aaron Dalton http://aaron.daltons.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Schenker Graphs
I am learning Lilypond to create Schenker Graphs for a major project I am currently working on for my University. After reading the documentation, I'm confident that I can accomplish most of what I need using Lilypond. I was wondering if anybody out there has already created such graphs and if they would be willing to share with me some source file examples. If nobody has already created some sort of howto, methinks I shall when I'm all done with this. Thank you for help. -- Aaron Dalton http://aaron.daltons.ca PGPKeyID: 0x29844D7D ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user