Re: GDP: end singleton lists with a period?
> I'm tempted to add periods anyway, now. The texinfo manual clearly > states that we should do this (I only looked at the earlier sections > in that chapter before), and "technical limitations" makes a much > stronger argument than "well, in some languages it seemed > stylistically better to omit it, but in other languages it seemed > stylistically better to include it". Honestly, regardless whether it is stylistically correct or not for a particular language, I prefer having a full stop at the end of an enumeration: It shows that it is complete. Compare this to `foo', `bar,' and ... with `foo,' `bar,' and ... AFAIK, the latter is the `correct' style for written English, but only the former is acceptable in computer sciences IMHO in case you are using plain text, and you are talking about variables and the such, since the comma character may be part of the variable name (as it can happen in Lisp or Scheme, for example). Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: eps font embedding
On Sun, 20 Apr 2008 22:14:28 -0400 "Richard Wattenbarger" <[EMAIL PROTECTED]> wrote: > I have a problem, though: I need to create some eps files with the > fonts embedded in them (I think). The goal is to import the eps file > into Adobe Illustrator. Whenever I try this, however, I get only > stems and no noteheads. Is there something I need to specify in the > ly file or at the command line in order to get the desired result? See AU 4.6.3 Inserting LilyPond output into other programs in the 2.11 docs. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: end singleton lists with a period?
On Mon, 21 Apr 2008 07:31:41 +0200 (CEST) Werner LEMBERG <[EMAIL PROTECTED]> wrote: > > Section 8.6 @ref in Texinfo 4.11 manual says @ref must be followed > > by punctuation because it's a limitation of Info file format, but a > > quick test shows that this limitation has already been eliminated > > in both makeinfo and Info readers (Emacs and info standalone). > > Please contact Karl Berry to be really sure. I'm not aware that this > limitation has been removed. I'm tempted to add periods anyway, now. The texinfo manual clearly states that we should do this (I only looked at the earlier sections in that chapter before), and "technical limitations" makes a much stronger argument than "well, in some languages it seemed stylistically better to omit it, but in other languages it seemed stylistically better to include it". Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: write score like Tchaikovsky
On Mon, 21 Apr 2008 11:12:23 +0800 (CST) hhpmusic <[EMAIL PROTECTED]> wrote: > Even more, I don't add them at the beginning of a > piece, but at the beginning of a certain theme with or without pre > line or page breaking. I know liypond-book can do it, Lilypond itself can do it; just add \markup{ blah blah } \score { ... notes...} \markup{ blah blah } to your file. We are currently working on this part of the docs; please check the 2.11 docs when 2.11.45 is released, or see the current GDP output. > If I use > mutiple \score and insert markupsamong them without page break, Lily > seems to consider it as errors. You may need to restructure your input file, and/or check the exact version of lilypond that you are using, but this is certainly no problem in 2.11. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: end singleton lists with a period?
> Section 8.6 @ref in Texinfo 4.11 manual says @ref must be followed by > punctuation because it's a limitation of Info file format, but a quick > test shows that this limitation has already been eliminated in both > makeinfo and Info readers (Emacs and info standalone). Please contact Karl Berry to be really sure. I'm not aware that this limitation has been removed. Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
write score like Tchaikovsky
Hi, I want to add some verses above the score, like Tchaikovsky did in his The Seasons. Even more, I don't add them at the beginning of a piece, but at the beginning of a certain theme with or without pre line or page breaking. I know liypond-book can do it, but there seems to be no way for me to do his. the Latex is not for Windows, and Miktex website is blocked in China. I don't know whetherthere are other softwares can do it. Texinfo is for Unix and Cygwin, and my screen reader can't support cygwin or Uwin shell, and also, the lcommands I entered will not be responsed. Sometimes I entered markups, but they are limited to b follow a note or rest. If I use mutiple \score and insert markupsamong them without page break, Lily seems to consider it as errors. How can I do? Is there a software for pure Windows to work with Lilypond-book? KInd Regrds Haipeng ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
eps font embedding
I'm relatively new to Lilypond, and I love it! It makes so many things easier than in, say, Sibelius (which I have been using). I have a problem, though: I need to create some eps files with the fonts embedded in them (I think). The goal is to import the eps file into Adobe Illustrator. Whenever I try this, however, I get only stems and no noteheads. Is there something I need to specify in the ly file or at the command line in order to get the desired result? Does this lie within Lilypond's capabilities. I'm using Windows XP Pro and Lilypond 2.10.33. I'll be providing the files to someone who does not have Lilypond on her machine (a Macintosh). Richard Wattenbarger ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to generate notes in a scale
OK, here's how I did it in the end. Is there a better way??? #(define ac:current-key (make-music 'KeyChangeEvent 'tonic (ly:make-pitch -1 0 0) 'pitch-alist (list (cons 0 0) (cons 1 0) (cons 2 0) (cons 3 0) (cons 4 0) (cons 5 0) (cons 6 0 #(define (ac:up note) "Given a NoteEvent, replace its pitch with the next one up in the current scale. Doesn't cope too well with melodic minors" (let* ((pitch (ly:music-property note 'pitch)) (notename (ly:pitch-notename pitch)) (new-notename (if (eq? notename 6) 0 (+ 1 notename))) (alterations (ly:music-property ac:current-key 'pitch-alist)) (new-alteration (cdr (assq new-notename alterations))) (new-octave (if (eq? new-notename 0) (+ 1 (ly:pitch-octave pitch)) (ly:pitch-octave pitch))) ) (set! (ly:music-property note 'pitch) (ly:make-pitch new-octave new-notename new-alteration (ac:down is analogous to ac:up) Whenever I see a KeyChangeEvent in the rest of the program I update ac:current-key. Is there a better way? Does Lilypond keep track of the current key signature for me? -- 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
Re: GDP: end singleton lists with a period?
Le samedi 19 avril 2008 à 14:59 -0700, Graham Percival a écrit : > On Sat, 19 Apr 2008 16:31:05 +0200 > John Mandereau <[EMAIL PROTECTED]> wrote: > > > I'm sorry to give higher priority to technical aspects, but references > > must be followed by punctuation in Info format, so please keep periods > > at the end of all lists ending with a @ref, even singleton lists. > > I'm not at all sorry to give higher priority to technical aspects, > but are you sure about this? I just tried it, and info didn't > complain. Section 8.6 @ref in Texinfo 4.11 manual says @ref must be followed by punctuation because it's a limitation of Info file format, but a quick test shows that this limitation has already been eliminated in both makeinfo and Info readers (Emacs and info standalone). Well, that's good news, you can do the way you want in English. In French and in Spanish, we'll stick with one period at the end of all lists; I'm tempted to do the same thing in English, but my opinion is definitely not valuable when it comes to English grammar :-p. Cheers, John ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Boxed text with rounded corners
On Sun, 20 Apr 2008 16:19:54 +0200 "Valentin Villenave" <[EMAIL PROTECTED]> wrote: > I eventually managed to implement a new command to enclose text within > a rounded box. > > Feel free to have a look at commit > c9cb25dee5d1019b325bbc9da6cf080124bcd0b6; comments appreciated. I think there's a bug in your version of git. For some reason, the commit doesn't include a @lilypond example. And I'm *certain* that you wouldn't forget to include such an example, given that it's one the big hot topics of work on Text these days. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme function for staccato
Dear Reinhold, many thanks for Your very usefull plugin. It works fine! But there is one thing in the below quoted example I don't understand : Why is the second g in the first measure an octave lower? I'm sure, I don't see something, which is quite obvious, but I have no idea. \version "2.11.43" \relative { \addStaccato { c4 c g' g a a g4 r f8 r f8 r e8 r e r d4 r c r } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme function for staccato
Am Sonntag, 20. April 2008 schrieb Stefan Thomas: > Dear Lilypond-users, > I've read the explanation in the manual of version 2.10. about adding > articulation to notes. I thougt, with his I could be able to simply add a > staccato-dots to a group of notes, but unfortunately, it doesn't work as > expected. > Is there a solution available? The thing is that you apply the function to a SequentialMusic (i.e. a sequence of notes inside {...} ), so adding the staccato there has no effect... I suppose the easiest way is to use a music filter on the SequentialMusic, which adds the ArticulationEvent to all EventChord descendents (but only if the EventChord does not contain a rest!). An example is attached. Cheers, Reinhold -- -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ add_staccato_scheme.pdf Description: Adobe PDF document \version "2.11.44" \header { title = "Using scheme to add staccato to a sequence of notes" } % To modify a sequence of notes, it's easiest to use a filter: #(define (addStaccatoFilterFunction event) (let ( (eventname (ly:music-property event 'name)) ) (if (eq? eventname 'EventChord) (let ( (elements (ly:music-property event 'elements)) ) ; don't add staccato to rests! (if (not (eq? (ly:music-property (car elements) 'name) 'RestEvent)) (set! (ly:music-property event 'elements) (cons (make-music 'ArticulationEvent 'articulation-type "staccato") elements )) ) addStaccato = #(define-music-function (parser location music) (ly:music?) (music-filter addStaccatoFilterFunction music) ) \score { << \new Staff \relative { \addStaccato { c4 r4 c g' g a g2 f f 2 r4 c } \bar"|." } >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
scheme function for staccato
Dear Lilypond-users, I've read the explanation in the manual of version 2.10. about adding articulation to notes. I thougt, with his I could be able to simply add a staccato-dots to a group of notes, but unfortunately, it doesn't work as expected. Is there a solution available? Here the short example: addStaccato = #(define-music-function (parser location event-chord) (ly:music?) (let ((result-event-chord (ly:music-deep-copy event-chord))) (set! (ly:music-property result-event-chord 'elements) (cons (make-music 'ArticulationEvent 'articulation-type "staccato") (ly:music-property result-event-chord 'elements))) result-event-chord)) \score { \new Staff \relative { \addStaccato {c4 c g' g a a g2 f f 2 c } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Outdated lilypond-mode for emacs ?
2008/4/20 Emmanuel Charpentier <[EMAIL PROTECTED]>: Greetings, > I am discovering and learning lilypond. I found the lilypond mode for > emacs extremely useful. Perhaps you would be interested in subscribing to the French-speaking LilyPond mailing list as well (I don't remember having seen you there): http://lists.gnu.org/mailman/listinfo/lilypond-user-fr > However, it seems that this mode has not been updated since 2006. > This situation is in sharp contrast with the care given to convert-ly > maintainance ... As far as I can tell reading the Changelog, it has been slightly updated for 2.10. > Could someone a bit more versed in lilypond than I am update this (very > valuable) tool ? And tell me how I can help him ? Perhaps you'd be interested in trying Nicolas Sceaux' astonishing Quick-LilyPond mode for Emacs. I believe he keeps it up-to-date: http://nicolas.sceaux.free.fr/lilypond/lyqi.html You can also see a video demonstration of this mode on http://valentin.villenave.info/spip.php?article62 (yes this is kind of a self-advertisment) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: align postscript markup to the right of a notehead
2008/4/20 padovani <[EMAIL PROTECTED]>: > Is there a way to align a postscript markup to the right of a notehead? There probably is, but I don't know how (it would be easier with a \mark). The simplest solution would be something like: \override TextScript #'X-offset = #1.0 > It could be a scheme function or something like that. It would make the > begin of a line ("n n moveto") closer to the notehead. I'm not sure I understand what you're looking for. Do you want to put the markup /vertically/ aligned with the NoteHead? Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Outdated lilypond-mode for emacs ?
Dear list, I am discovering and learning lilypond. I found the lilypond mode for emacs extremely useful. However, it seems that this mode has not been updated since 2006. Somewhere in the beginning of lilypond-mode.el, one can read : (defconst LilyPond-version "2.5.20" "`LilyPond-mode' version number.") Since then, the lilypond sysntax seems to have evolved quite a bit. [EMAIL PROTECTED]:~/Partoches/EssaisLilyPond$ lilypond --version GNU LilyPond 2.10.25 In consequence, some of the correct lilypond 2.10.25 syntax is flagged as in error by lilypond.el (while compiling correctly and giving, to my untrained eyes, the expected result). This situation is in sharp contrast with the care given to convert-ly maintainance ... Could someone a bit more versed in lilypond than I am update this (very valuable) tool ? And tell me how I can help him ? Sincerely, Emmanuel Charpentier ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
align postscript markup to the right of a notehead
Is there a way to align a postscript markup to the right of a notehead? It could be a scheme function or something like that. It would make the begin of a line ("n n moveto") closer to the notehead. thanks for any help. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Boxed text with rounded corners
Greetings everyone, I eventually managed to implement a new command to enclose text within a rounded box. Feel free to have a look at commit c9cb25dee5d1019b325bbc9da6cf080124bcd0b6; comments appreciated. The shape of the corners can be changed using a #'corner-radius property that I had to make up. Otherwise, it works like \box, by looking at 'thickness, 'padding and 'font-size. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Does lilypond-book look for LaTeX \includes?
> Is this even allowed in plain LaTeX? Having a \documentclass[] > after an \include? Normally, all commands which don't produce output are allowed before \documentclass (provided they are defined before this command). Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user