Re: bar numbers at beginning of bar - partial solution
Paul Scott wrote: Mats Bengtsson wrote: I don't understand what you mean, can you provide an example? Thanks for answering, Mats. With the following code the bar number displaces the notes in each bar to the right. If I remove the two self-alignment-X overrides the bar number does not displace any music. Ok. If I apply some padding and increase the outside-staff-priority I can solve the initial displacement of the music. In some cases the padding would have to be a lot. I have changed the outside-staff-priority below to as much as 400. It would seem that a high outside-staff-priority would solve this without needing the padding. When I can I will post an example that seems to show that outside-staff-priority works sometimes but padding is needed at other times. Paul \version 2.12.1 numberEveryBar = { \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1) \override Score.BarNumber #'outside-staff-priority = #1 \override Score.BarNumber #'font-size = #-2 \override Score.BarNumber #'self-alignment-X = #-1 } barNumberDown = { \override Score.BarNumber #'direction = #DOWN \override Score.BarNumber #'outside-staff-priority = #1 \override Score.BarNumber #'font-size = #-2 \override Score.BarNumber #'self-alignment-X = #-1 } \relative c'' { \numberEveryBar \barNumberDown \repeat unfold 52 c2 \set Score.currentBarNumber = #100 \repeat unfold 48 c4 } /Mats Paul Scott wrote: Hi, 12.2.1 When numbering all bars the default bar numbers seem to be at the end of the previous bar which is confusing to the reader. When I use \override Score.BarNumber #'self-alignment-X = #-1 to try to make these less confusing to the reader *sometimes* the music above the bar numbers is moved to the right which looks ugly. Is there another way to move the bar numbers without moving the music? Thanks, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: An IRC Channel on Freenode
Op maandag 22-05-2006 om 10:10 uur [tijdzone -0400], schreef Simon Plante: Hi Simon, channel: #lilypond server: irc.freenode.net port: 6667 Good idea. With some delay, some of us have found it :-) (If I see that the channel is going good, I'll start to distribute some Ops.) Haven't seen you there for months. Please do. Greetings, Jan. -- Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics spacing problem - overlapping syllables
On Wed, Jan 28, 2009 at 11:03:13PM +0100, Mats Bengtsson wrote: Bertalan Fodor (LilyPondTool) wrote: Now taking a second look, I don't think it's a bug, only a limitation of the lyrics engraving procedure: it doesn't take notes into acount, only resolves lyrics overlapping (when two syllables would overlap.) Well, if the limitation leads to undesired output, then why not call it a bug? He's probably using the Offical Bug-LilyPond Terminology (tm), which states that problems which require extra code are missing features, whereas problems in existing code are bugs. (where 5-line fixes are still considered no extra code. Or something like that) It's taken years for this to catch on, so don't complain about it now! :) Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ly to SVG
I got this to work with: lilypond -dbackend=svg filename.ly However, the output is currently considerably buggier than 2.10.33 and the sed -Ef fix which was posted on this list a while ago doesn't work. I'll investigate if I can improve the solution as I use SVG output quite a lot. Cheers, Vivian. Op Jan 25, 2009, om 12:03 PM heeft M Watts het volgende geschreven: Givaldo de Cidra wrote: Hi,. In version 2.10 I used the command line - convert ly to svg: $ lilypond -b svg file.ly But with the new version 2.12 I couldn't to convert. Someone can help me? Change the -b to -f. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [ANN] LilyPondTool-2.12-r2 released
Hajo Dezelski wrote: Hello, here comes chaos production again. I just wanted to be sure, made a clean install of jedit, included the new lily files etc.: And IT WORKS. I have made 2 dozens of corrections, compilations and views and the system was stable. Congrats. Allow me one suggestion: Could you line out the file structure of the configuration. I got mine mixed up when I installed your Lilypondtool.zip and made the installation of the new jedit. So it looks like: documents../.jedit/ programes/jedit(new) programes/lilypond/... programes/lilypondTool/jedit(old) Should I install the new versions of jedit into the lilypondTool folder? There are two folders. One is called application folder (should be programes/jedit) Other is settings folder (documents../.jedit) Plugins should be installed into the settings folder. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: bar numbers at beginning of bar - partial solution
Paul The notes in the bar are displaced to avoid a collision of the stem of the first note with the bar number. A potential solution is to use 'outside-staff-priority with the priority of the bar number greater than the stem. By default the 'outside-staff-priority is not set for the Stem object, but even when set this doesn't work. Maybe the Stem object does not honour the 'outside-staff-priority value, as it has already moved itself horizontally to avoid the collision before the skyline code is invoked. (You would also need to move engravers to make the 'outside-staff-priority comparison between bar numbers and stems work - see Learning Manual 4.4.3 for details - but this doesn't help anyway and would give rise to other problems.) So the best solution is to lower the bar number by setting the value of the 'staff-padding of the bar number object sufficiently high to clear most of the stems, and tweaking the value for any bar number for which the default gives a poor result. HTH Trevor - Original Message - From: Paul Scott psl...@ultrasw.com To: lilypond-user lilypond-user@gnu.org Sent: Thursday, January 29, 2009 8:06 AM Subject: Re: bar numbers at beginning of bar - partial solution Paul Scott wrote: Mats Bengtsson wrote: I don't understand what you mean, can you provide an example? Thanks for answering, Mats. With the following code the bar number displaces the notes in each bar to the right. If I remove the two self-alignment-X overrides the bar number does not displace any music. Ok. If I apply some padding and increase the outside-staff-priority I can solve the initial displacement of the music. In some cases the padding would have to be a lot. I have changed the outside-staff-priority below to as much as 400. It would seem that a high outside-staff-priority would solve this without needing the padding. When I can I will post an example that seems to show that outside-staff-priority works sometimes but padding is needed at other times. Paul \version 2.12.1 numberEveryBar = { \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1) \override Score.BarNumber #'outside-staff-priority = #1 \override Score.BarNumber #'font-size = #-2 \override Score.BarNumber #'self-alignment-X = #-1 } barNumberDown = { \override Score.BarNumber #'direction = #DOWN \override Score.BarNumber #'outside-staff-priority = #1 \override Score.BarNumber #'font-size = #-2 \override Score.BarNumber #'self-alignment-X = #-1 } \relative c'' { \numberEveryBar \barNumberDown \repeat unfold 52 c2 \set Score.currentBarNumber = #100 \repeat unfold 48 c4 } /Mats Paul Scott wrote: Hi, 12.2.1 When numbering all bars the default bar numbers seem to be at the end of the previous bar which is confusing to the reader. When I use \override Score.BarNumber #'self-alignment-X = #-1 to try to make these less confusing to the reader *sometimes* the music above the bar numbers is moved to the right which looks ugly. Is there another way to move the bar numbers without moving the music? Thanks, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why a \score inside \markup doesn't allow breaks?
Hi again, Has no-one else encountered this issue? BR, Risto 2009/1/21 Risto Vääräniemi risva...@gmail.com: I was wondering why a \score inside \markup doesn't allow breaks. If I insert a \break everything after it is ignored. If I want to have a multi-line piece inside a \markup I have to put multiple \scores in a column. Is there another way? -Risto start \version 2.12.1 \markup { \score { {c'1 c' c' c' \break c' c' c' c'} \layout {} } } END ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ly to SVG
Coincidentally, I fooled around with this for the first time last night. The problems I encountered specifically: 1. lilypond -dbackend=svg results in an incomplete svg rendering. When I open the file in Inkscape, everything is there except the staff lines (from a minimal trial with only a single staff and some notes--no editorial marks or text were attempted) 2. lilypond -fsvg doesn't work at all like it is suggested it will in the Program Usage. By comparison, lilypond -fpng works flawlessly. I'll be watching this thread. If anyone wants me to try/test things to verify/duplicate results, I'll be happy to do that. Dave Vivian Barty-Taylor wrote: I got this to work with: lilypond -dbackend=svg filename.ly However, the output is currently considerably buggier than 2.10.33 and the sed -Ef fix which was posted on this list a while ago doesn't work. I'll investigate if I can improve the solution as I use SVG output quite a lot. Cheers, Vivian. Op Jan 25, 2009, om 12:03 PM heeft M Watts het volgende geschreven: Givaldo de Cidra wrote: Hi,. In version 2.10 I used the command line - convert ly to svg: $ lilypond -b svg file.ly But with the new version 2.12 I couldn't to convert. Someone can help me? Change the -b to -f. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why a \score inside \markup doesn't allow breaks?
Risto Vääräniemi wrote: Hi again, Has no-one else encountered this issue? BR, Risto 2009/1/21 Risto Vääräniemi risva...@gmail.com: I was wondering why a \score inside \markup doesn't allow breaks. If I insert a \break everything after it is ignored. If I want to have a multi-line piece inside a \markup I have to put multiple \scores in a column. Is there another way? -Risto start \version 2.12.1 \markup { \score { {c'1 c' c' c' \break c' c' c' c'} \layout {} } } END Hmm, I can see how this could be annoying -- I guess \markup's ability to include a \score was originally intended for short phrases and alternative readings etc., although the docs provide an example of some length. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Music#Music I've tried: -- \version 2.12.1 \markup { \score { \new Voice \with { \remove Forbid_line_break_engraver } % intended for allowing \breaks at 'wrong' places in the bar { c'1 c' c' c' \break c' c' c' c' } \layout {} } } -- and -- \version 2.12.1 \markup { \score { \new Staff {c'1 c' c' c' { s1 \break } c' c' c' c'} \layout {} } } - Terminal output insists that Lily's Calculating line breaks... but everything after \break is ignored in both cases. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why a \score inside \markup doesn't allow breaks?
2009/1/29 M Watts zwy648...@gmail.com: Hmm, I can see how this could be annoying -- I guess \markup's ability to include a \score was originally intended for short phrases and alternative readings etc., although the docs provide an example of some length. Yeah. That's probably the original intention. However, I had to write a two page song (luckily no longer than that), which had a column of text (lyrics) on the left side and the music on the right side. It was quite a PITA to split the music into several \score blocks. :-( That made me wonder if there had been an easier way. -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics spacing problem - overlapping syllables
Yes, I knew that warning and inserting the spacing item padding was the first thing which I tried. However, without any success - the insertion of the line \once \override Score.SeparationItem #'padding = #3 into the music is ignored by the spacing engine. Using still the same example as above, the code here replaces only the variable notyOKriste: notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8 d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd \once \override Score.SeparationItem #'padding = #3 d4. \bar || } I am rather new to Lilypond and therefore I always try to think first that the error is on my side - perhaps I am inserting the separationitem code into wrong place...? However, the syllable alignment which overlaps the neighboring note problem is most probably a bug: since the code of the lyric spacing is already present in Lilypond, and since it does not produce the desired output, I still think this issue qualifies as a bug in the strict sense of the word. I tried also the trick with the null markup on the last note of the melisma with the melisma ending just the note before as suggested by Mats, but this code does not work on my setup. During the compilation, the Lilypond stops at the line Analysing... and produces nothing (but still giving no error). -- View this message in context: http://www.nabble.com/Lyrics-spacing-problem---overlapping-syllables-tp21665565p21726627.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme - notes as variables
Andrew Wilson wrote: On Wed, Jan 28, 2009 at 12:35:16PM +, Rob Canning wrote: i have been doing this kind of thing before using a combination of puredata and sed but that was really ugly and the regular expressions were getting out of control! i would really appreciate any help learning how to do this using scheme It seems to me that what you want can be achieved with a very small amount of perl: === #!/usr/bin/perl sub InsertNotes { my ($num, $form, @notes) = @_; my ($output, @temp); while (@notes) { (@temp[0..$num-1], @notes) = @notes; $output .= sprintf $form, (@temp); } return $output; } my @list = qwa b c d a b c d a f cis d aes b c d g b c d a bes c dis c c c d a e c d a b c d; my $format = %s''4\\pp r16 %s'4\\accent %s''1 %s'''4 r8 %s''4\\mf \\accent %s8 \\staccato\n; print InsertNotes(6, $format, @list); = You can probably do it with scheme, but why would you want to. Both @list and $form (and the number of %s to replace) can all be read from files insterad of hard coded. This is also trivial. andrew thanks andrew! yes indeed this does what i want - i in the middle of trying to figure out how it works so i can modify it - adding a second variable fed by a second list etc. i was trying to do it using scheme just because i thought learning to do this kind of thing in scheme would help me with other aspects of lilypond in general - perl looks neat though the swiss army chainsaw of languages i heard it refered to as :)- maybe scheme is the wrong tool for the job? anyone? many thanks for your help rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why can't I post here using email
M Watts wrote: Jonathan Kulp wrote: I use Thunderbird and post to the list all the time without problems. Me too -- it just works. I take it the OP's problem is solved, because his message got through! maybe this is a stupid question but are you replying to all? on the mail you sent me it didnt look as if it was cc'd to the list cheers rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics spacing problem - overlapping syllables
You could also try to put invisible but non breaking spaces as a syllable, aligned to the left: Bert Jiri Zurek (Prague) wrote: Yes, I knew that warning and inserting the spacing item padding was the first thing which I tried. However, without any success - the insertion of the line \once \override Score.SeparationItem #'padding = #3 into the music is ignored by the spacing engine. Using still the same example as above, the code here replaces only the variable notyOKriste: notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8 d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd \once \override Score.SeparationItem #'padding = #3 d4. \bar || } I am rather new to Lilypond and therefore I always try to think first that the error is on my side - perhaps I am inserting the separationitem code into wrong place...? However, the syllable alignment which overlaps the neighboring note problem is most probably a bug: since the code of the lyric spacing is already present in Lilypond, and since it does not produce the desired output, I still think this issue qualifies as a bug in the strict sense of the word. I tried also the trick with the null markup on the last note of the melisma with the melisma ending just the note before as suggested by Mats, but this code does not work on my setup. During the compilation, the Lilypond stops at the line Analysing... and produces nothing (but still giving no error). ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why a \score inside \markup doesn't allow breaks?
Hi Risto: Yeah. That's probably the original intention. However, I had to write a two page song (luckily no longer than that), which had a column of text (lyrics) on the left side and the music on the right side. It was quite a PITA to split the music into several \score blocks. :-( That made me wonder if there had been an easier way. When I had that same issue (in a recent play-with-music I wrote), I simply set the line-width to half a page, and used \markup for the text/lyrics. You can hang the \markup off anything you want — I used the InstrumentName of an un-named StaffGroup. Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: bar numbers at beginning of bar - partial solution
Hi Paul, Thanks for answering, Mats. With the following code the bar number displaces the notes in each bar to the right. If I remove the two self-alignment-X overrides the bar number does not displace any music. \layout { \context { \Score \override BarNumber #'X-extent = #'(0 . 0) } } Now just solve the collision appropriately (with padding or whatever). Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why a \score inside \markup doesn't allow breaks?
If you take a look at the implementation of the \score markup function, you'll notice that it just picks out the first system of the score and ignores the rest. A skilled Scheme programmer should be able to easily implement a version of \score that actually typesets all the systems. /Mats M Watts wrote: Risto Vääräniemi wrote: Hi again, Has no-one else encountered this issue? BR, Risto 2009/1/21 Risto Vääräniemi risva...@gmail.com: I was wondering why a \score inside \markup doesn't allow breaks. If I insert a \break everything after it is ignored. If I want to have a multi-line piece inside a \markup I have to put multiple \scores in a column. Is there another way? -Risto start \version 2.12.1 \markup { \score { {c'1 c' c' c' \break c' c' c' c'} \layout {} } } END Hmm, I can see how this could be annoying -- I guess \markup's ability to include a \score was originally intended for short phrases and alternative readings etc., although the docs provide an example of some length. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Music#Music I've tried: -- \version 2.12.1 \markup { \score { \new Voice \with { \remove Forbid_line_break_engraver } % intended for allowing \breaks at 'wrong' places in the bar { c'1 c' c' c' \break c' c' c' c' } \layout {} } } -- and -- \version 2.12.1 \markup { \score { \new Staff {c'1 c' c' c' { s1 \break } c' c' c' c'} \layout {} } } - Terminal output insists that Lily's Calculating line breaks... but everything after \break is ignored in both cases. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics spacing problem - overlapping syllables
Bertalan Fodor (LilyPondTool) wrote: You could also try to put invisible but non breaking spaces as a syllable, aligned to the left: That's more or less what I proposed in my earlier reply to this thread. Take a look at it again. /Mats Bert Jiri Zurek (Prague) wrote: Yes, I knew that warning and inserting the spacing item padding was the first thing which I tried. However, without any success - the insertion of the line \once \override Score.SeparationItem #'padding = #3 into the music is ignored by the spacing engine. Using still the same example as above, the code here replaces only the variable notyOKriste: notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8 d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd \once \override Score.SeparationItem #'padding = #3 d4. \bar || } I am rather new to Lilypond and therefore I always try to think first that the error is on my side - perhaps I am inserting the separationitem code into wrong place...? However, the syllable alignment which overlaps the neighboring note problem is most probably a bug: since the code of the lyric spacing is already present in Lilypond, and since it does not produce the desired output, I still think this issue qualifies as a bug in the strict sense of the word. I tried also the trick with the null markup on the last note of the melisma with the melisma ending just the note before as suggested by Mats, but this code does not work on my setup. During the compilation, the Lilypond stops at the line Analysing... and produces nothing (but still giving no error). ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: stacked markup with parenthesis
Hi Jean-Alexis, I finally came up with this solution: i use brackets. My scores starts to look like Jazz ones ;). Comments or ideas to draw parentheses instead are welcome! Riffing on Mark Polesky's parentheses (which he calls quick, dirty, cumbersome, inelegant and inaccurate. Not my usual style to be sure.), I came up with the attached. Mark: Thanks for the tip. I will see if I can make it slow, clean, nimble, elegant and accurate… someday. =) Jean-Alexis: I hope this helps. In the long term, it would be *amazing* if we could come up with a parenthesizing tool which took into account the X- and Y-extent of the object, and self-scaled. That way, we could create the generic \parenthesize function (e.g., for chords, time and key signatures, accidentals, etc.) that we've been wanting for a while. Regards, Kieren. \version 2.12 \include english.ly leftPar = \markup { \postscript #(let ((width 0.75) (height 4) (edge-thickness 0.1) (center-thickness 0.2)) (ly:format /w ~a def /h ~a def /t0 ~a def /t1 ~a def /x1 t1 t0 sub def /y1 1 3 div h mul def /y2 2 3 div h mul def currentpoint translate t0 setlinewidth 1 setlinecap 1 setlinejoin w 0 moveto 0 y1 0 y2 w h curveto x1 y2 x1 y1 w 0 curveto gsave fill grestore stroke width height edge-thickness center-thickness)) } rightPar = \markup { \postscript #(let ((width 0.75) (height 4) (edge-thickness 0.1) (center-thickness 0.2)) (ly:format /w ~a def /h ~a def /t0 ~a def /t1 ~a def /x1 w t1 t0 sub sub def /y1 1 3 div h mul def /y2 2 3 div h mul def currentpoint translate t0 setlinewidth 1 setlinecap 1 setlinejoin 0 0 moveto w y1 w y2 0 h curveto x1 y2 x1 y1 0 0 curveto gsave fill grestore stroke width height edge-thickness center-thickness)) } exc = { c e g bf ds' af'- \markup \concat { 7 \leftPar \hspace #1.2 \fontsize #-3 \override #'(direction . 1) \dir-column { \concat { \fontsize #-2 \raise #0.6 \sharp \hspace #0.2 9 } \concat { \fontsize #-1 \raise #0.3 \flat 13 } } \rightPar } } chExceptions = #( append ( sequential-music-to-chord-exceptions exc #t) ignatzekExceptions) \score { \new ChordNames { c e g bf ds' af' } \new Staff { c e g bf ds' af' } \layout { \context { \Score chordNameExceptions = #chExceptions } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: postscript parentheses
Hi Mark: Awesome — thanks! See other thread for first usage (despite inelegance). Best, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: define-markup-function problem
Hi Carl, So we have the following, which all work: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (#:column (stringA stringB) #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (cons stringA stringB #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (make-column-markup (list stringA stringB) Which is better code, and why? Thanks, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Tagline in all pages
How can i place the tagline and copyright in all pages? Ezequiel Sierra ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why can't I post here using email
Yes, I am sending to the list. I resent the mail to you when I realised that it was only addressed to you. The copy addressed to the list never showed up. 2009/1/29 Rob Canning robcann...@eircom.net: M Watts wrote: Jonathan Kulp wrote: I use Thunderbird and post to the list all the time without problems. Me too -- it just works. I take it the OP's problem is solved, because his message got through! maybe this is a stupid question but are you replying to all? on the mail you sent me it didnt look as if it was cc'd to the list cheers rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tagline in all pages
Hi Ezequiel, How can i place the tagline and copyright in all pages? Define a footer. (See the documentation for how to do that.) Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why can't I post here using email
Andrew Wilson wrote: Yes, I am sending to the list. I resent the mail to you when I realised that it was only addressed to you. The copy addressed to the list never showed up. This message says it came from Gmail. Does this mean it's working right for you now? Jon -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: define-markup-function problem
On 1/29/09 7:12 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi Carl, So we have the following, which all work: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (#:column (stringA stringB) #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (cons stringA stringB #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (make-column-markup (list stringA stringB) Which is better code, and why? I prefer #3. My reasons? I don't like option 1, because this is a scheme function. The use of #:column as a scheme function is not standard -- it's mixing LilyPond and scheme. Also, in scheme, you can't do (stringA stringB). So somehow the #:column is triggering a macro that turns what would be illegal scheme into legal scheme. I haven't spent the time to follow through exactly how. I like option 2 better than option 1, but I still don't like it because the documentation says that column needs a list of strings, and you have a pair of strings not a list of strings. Again, the #:column is doing something that modifies the scheme, and I can't follow it. It doesn't match with the documentation, and I don't know how to change it if it stops working (like you mentioned in your case of adding and removing parentheses until it started working. Option 3 is all standard scheme, and follows the documentation exactly. It's very easy for me to understand why and how it works, and easy for me to modify and apply in different situations. Probably if I had my way, I'd eliminate the #:column syntactic sugar, because I think it introduces more problems than it solves. If I'm working in scheme, I should be working in scheme. But that's just my opinion. HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why can't I post here using email
M Watts zwy648rct at gmail.com writes: Jonathan Kulp wrote: I use Thunderbird and post to the list all the time without problems. I've tried using mutt and gmail. Me too -- it just works. I take it the OP's problem is solved, because his message got through! The message got through because I used the web interface to gmane.comp.gnu.lilypond.general. Mails sent direct to the list are not getting delivered. andrew ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compilation Errors on MAC OS X 10.4.11
Thank you for your prompt replies. I'm downloading the 2.12.2-1 version now. Simon On Thu, 29 Jan 2009 07:22:04 +1100, Brett Duncan bdd1...@bigpond.net.au said: Carl D. Sorensen wrote: This is an error that exists in 2.12.1. See the list bug-lilyp...@gnu.org for the fix that is needed. 2.12.2 has the fix, and is available for download. Please try 2.12.2. Thanks, Carl 2.12.2 fixes the problem with font-file-as-ps-string, but the Pango warnings about table 28333 persist. As there doesn't appear to be any problems with the output, the warnings are just an minor annoyance, but no one likes to see warnings. Brett ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why can't I post here using email
Andrew Wilson wrote: M Watts zwy648rct at gmail.com writes: Jonathan Kulp wrote: I use Thunderbird and post to the list all the time without problems. I've tried using mutt and gmail. Me too -- it just works. I take it the OP's problem is solved, because his message got through! The message got through because I used the web interface to gmane.comp.gnu.lilypond.general. Mails sent direct to the list are not getting delivered. andrew Now this message came from GMANE (the web interface) but your last one came from Gmail. Then when I hover over your name I see a rivendale.net address. Your emails won't get sent to the list unless they come from the same address you used to sign up. Maybe this is the problem? I've accidentally tried to send messages from my work address before and gotten bounced. Jon -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: define-markup-function problem
Hi Carl, Option 3 is all standard scheme, and follows the documentation exactly. It's very easy for me to understand why and how it works, and easy for me to modify and apply in different situations. […] If I'm working in scheme, I should be working in scheme. Thanks! I'll use #3 — and your recommendation re: Scheme-in-Scheme — from now on. Best, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: define-markup-function problem
Le 29 janv. 09 à 16:29, Carl D. Sorensen a écrit : On 1/29/09 7:12 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi Carl, So we have the following, which all work: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (#:column (stringA stringB) #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (cons stringA stringB #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (make-column-markup (list stringA stringB) Which is better code, and why? I prefer #3. My reasons? I don't like option 1, because this is a scheme function. The use of #:column as a scheme function is not standard -- it's mixing LilyPond and scheme. Also, in scheme, you can't do (stringA stringB). So somehow the #:column is triggering a macro that turns what would be illegal scheme into legal scheme. I haven't spent the time to follow through exactly how. No. `markup' here is a macro. Think about it as a compiler. It takes some data, and generate some code. If you want to see what it exactly does, use macroexpand. #(format #t ~%~s~% (macroexpand '(markup a #:column (b c == (make-line-markup (list (make-simple-markup a) (make-column-markup (list (make-simple-markup b) (make-simple-markup c) What it means is that when you write (markup #:column (a b)) it's exactly as if you would have written: (make-line-markup (list (make-simple-markup a) (make-column-markup (list (make-simple-markup b) (make-simple-markup c) Actually `markup' defines a mini-language for building markup expression in Scheme. It aims at mimicking the \markup syntax. In my opinion, you should use none of the three versions here. The first should be: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (stringA stringB The second should be thrown away. The third should be: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (make-column-markup (list stringA stringB There are some cases where the `markup' macro cannot be used, for instance: #(define (function-that-returns-markups) (list a b c)) #(define-markup-command (foo layout props) () (make-markup-command #:column (function-that-returns-markups))) There, `markup' is limited in that you cannot write: (markup #:column (function-that-returns-markups)) as it would think that `function-that-returns-markups' is a markup, as stringA and stringB in: (markup #:column (stringA stringB)) Also, when you have only one markup command call, using the make-- markup function is quick enough. But in other cases, I don't see why you recommend not using the `markup' macro: at least, reading it is easier as it is close to \markup syntax. See how verbose is the expansion (that you propose to use) compared to the original `markup' expression... Nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme - notes as variables
Hello Rob, Rob Canning wrote: i was trying to do it using scheme just because i thought learning to do this kind of thing in scheme would help me with other aspects of lilypond in general - perl looks neat though the swiss army chainsaw of languages i heard it refered to as :)- Using simple regexp substitution with Perl, Python or whichever scripting language you like is quite fragile, because regular expressions alone are not enough to parse LilyPond input format. maybe scheme is the wrong tool for the job? Currently Scheme is the only way to do it cleanly. Best would be implementing lambda calculus in ly language itself; I hope it's possible with writing a few music functions in Scheme. People at the GRAME in Lyon have already thought about lambda calculus usage in music notation, their articles is a good starting point for implementing these ideas in LilyPond. I don't have time to do this myself before March, though. Best, John ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tagline in all pages
Ezequiel Sierra wrote: How can i place the tagline and copyright in all pages? Mostly taken from LSR snippet 366 by John Mandereau: - \version 2.12.1 \paper { oddFooterMarkup = \markup { \with-url #http://lilypond.org/web/; \fill-line{ \center-column { \line { This piece copyright #(ly:export (ly:wide-char-utf-8 #x00A9)) MMIX by me } \line { This score has been wonderfully engraved thanks to the awesome LilyPond #(ly:export (lilypond-version)) #(ly:export (ly:wide-char-utf-8 #x2014)) http://lilypond.org; } } } } } { c d e f \pageBreak c d e f \pageBreak c d e f \pageBreak } -- If you don't define an evenFooterMarkup, the oddFooterMarkup is used on all pages. If you save your files with UTF-8 encoding, you can paste the copyright symbol straight in there. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Turning off shape notes
I'm using shape notes in some music I'm writing. There is one part of the music that needs to be notated as spoken. However, when I apply the override code as given in the documentation, I only get shape notes. Is there some command that I have to put in to turn shape notes off? Here's my code: \relative c' { \clef treble \key a \major \time 6/8 \autoBeamOff \aikenHeads a4 b8 cis4 a8 gis8 gis a b4. \bar \break b4 cis8 d4 b8 a a b cis4. \bar \break cis4 d8 e4 cis8 d d e fis8 \bar \break \override NoteHead #'style = #'cross a8 a a4. a4. a4. r4. \revert NoteHead #'style \bar .|. } Carl Peterson ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Persian accidentals
Is there any way to print the koron (60cents flat) and sori (40 cent sharp)? I've defined these pitch alterations by modifying makam.ly but they should really be printed according to the Persian notation. koron = upside down flat, with a triangular body like | sori = like sharp but with the two horizontal lines angled to form a '' sign. Any suggestions appreciated, I'm prepared to do some hacking if required. Kees ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: define-markup-function problem
On 1/29/09 1:56 PM, Nicolas Sceaux nicolas.sce...@free.fr wrote: Le 29 janv. 09 à 16:29, Carl D. Sorensen a écrit : On 1/29/09 7:12 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi Carl, So we have the following, which all work: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (#:column (stringA stringB) #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (cons stringA stringB #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup (make-column-markup (list stringA stringB) Which is better code, and why? I prefer #3. My reasons? I don't like option 1, because this is a scheme function. The use of #:column as a scheme function is not standard -- it's mixing LilyPond and scheme. Also, in scheme, you can't do (stringA stringB). So somehow the #:column is triggering a macro that turns what would be illegal scheme into legal scheme. I haven't spent the time to follow through exactly how. No. I definitely agree with you. `markup' here is a macro. Think about it as a compiler. It takes some data, and generate some code. If you want to see what it exactly does, use macroexpand. #(format #t ~%~s~% (macroexpand '(markup a #:column (b c == (make-line-markup (list (make-simple-markup a) (make-column-markup (list (make-simple-markup b) (make-simple-markup c) What it means is that when you write (markup #:column (a b)) it's exactly as if you would have written: (make-line-markup (list (make-simple-markup a) (make-column-markup (list (make-simple-markup b) (make-simple-markup c) Actually `markup' defines a mini-language for building markup expression in Scheme. It aims at mimicking the \markup syntax. In my opinion, you should use none of the three versions here. Thanks for getting it to better syntax. Neither Kieren nor I have the understanding you have. I appreciate your help. The first should be: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (markup #:column (stringA stringB The second should be thrown away. The third should be: #(define-markup-command (test layout props stringA stringB) (string? string?) (interpret-markup layout props (make-column-markup (list stringA stringB If I understand correctly, the two acceptable versions are identical once the macro expansion happens. That is, (markup #:column (stringA stringB)) will expand to (make-column-markup (list (make-simple-markup stringA) (make-simple-markup stringB))) As will (make-column-markup (list stringA stringB)) Is that right? There are some cases where the `markup' macro cannot be used, for instance: #(define (function-that-returns-markups) (list a b c)) #(define-markup-command (foo layout props) () (make-markup-command #:column (function-that-returns-markups))) There, `markup' is limited in that you cannot write: (markup #:column (function-that-returns-markups)) as it would think that `function-that-returns-markups' is a markup, as stringA and stringB in: (markup #:column (stringA stringB)) Also, when you have only one markup command call, using the make-- markup function is quick enough. But in other cases, I don't see why you recommend not using the `markup' macro: at least, reading it is easier as it is close to \markup syntax. See how verbose is the expansion (that you propose to use) compared to the original `markup' expression... Primarily because of the confusion I have about when I can use it and when not. But I probably spoke too hastily. Thanks for the clarification; it will go in my NR6 revision file! Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: postscript parentheses
Kieren MacMillan kieren_macmillan at sympatico.ca writes: Hello all, Is anyone PS-savvy enough to tell me how to draw scalable (independently in X and Y) parentheses using \postscript? Thanks, Kieren. There is a bezier-sandwich stencil that is used for slurs and for barre indicators in fret diagrams. The documentation on it is not particularly good, but there's a half-decent explanation of the order of the control points needed for the bezier-sandwich in scm/fret-diagrams.scm. HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Bass Clef Lyrics Above Staff
How can i place the lyrics in the top the bass clef up instead of the bottom because i have a choir staff ZeeK ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Persian accidentals
Kees van den Doel wrote: Is there any way to print the koron (60cents flat) and sori (40 cent sharp)? I've defined these pitch alterations by modifying makam.ly but they should really be printed according to the Persian notation. koron = upside down flat, with a triangular body like | sori = like sharp but with the two horizontal lines angled to form a '' sign. Any suggestions appreciated, I'm prepared to do some hacking if required. Maybe design a custom glyph in Inkscape, save as a postscript, then connect it to the results of your hacking so far. There are a few threads about this type of thing, such as the one starting here: http://lists.gnu.org/archive/html/lilypond-user/2008-02/msg00510.html The file ly/arabic.ly might help too, which arose from users with similar needs to yours. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fermata on bar line
Hi: How do I put a fermata on the bar line instead on top of a note? Tim Yang ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turning off shape notes
Carl Peterson wrote: I'm using shape notes in some music I'm writing. There is one part of the music that needs to be notated as spoken. However, when I apply the override code as given in the documentation, I only get shape notes. Is there some command that I have to put in to turn shape notes off? Here's my code: \relative c' { \clef treble \key a \major \time 6/8 \autoBeamOff \aikenHeads a4 b8 cis4 a8 gis8 gis a b4. \bar \break b4 cis8 d4 b8 a a b cis4. \bar \break cis4 d8 e4 cis8 d d e fis8 \bar \break \override NoteHead #'style = #'cross a8 a a4. a4. a4. r4. \revert NoteHead #'style \bar .|. } As \aikenHeads is a shortcut for a lengthy \set shapeNoteStyles command, you can use \set shapeNoteStyles = #'#(default) to get things back to normal. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fermata on bar line
Tim Yang wrote: Hi: How do I put a fermata on the bar line instead on top of a note? I think what's generally done is to put a fermata inside a \mark which will place it directly over the barline. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Fermata on bar line
\bar || \mark\markup{\musicglyph #scripts.ufermata} Change the bar type to the one you need. Nick -Original Message- From: lilypond-user-bounces+nick.payne=internode.on@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On Behalf Of Tim Yang Sent: Friday, 30 January 2009 6:07 PM To: lilypond-user@gnu.org Subject: Fermata on bar line Hi: How do I put a fermata on the bar line instead on top of a note? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user