Erlend Aasland | 1 Jun 2006 01:12
Picon

Re: Fix for accidental-modern-cautionary.ly bug

I'm pretty shure that this patch is correct, so unless you complain I'll apply it to 2.9 and 2.8.

On 5/31/06, Erlend Aasland < erlenda <at> gmail.com> wrote:
Hi Han-Wen

I believe this patch will fix the accidental-modern-cautionary.ly bug ( http://lilypond.org/bugs/v2.8/lily-130122389.ly ). Shall I commit?


Regards,
  Erlend


_______________________________________________
lilypond-devel mailing list
lilypond-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Erlend Aasland | 1 Jun 2006 01:21
Picon

Re: New lyrics trick available in 2.9.6

Hi,

On 5/29/06, Erik Sandberg <mandolaerik <at> gmail.com> wrote:
The new alternative trick, which IMHO is cleaner, is to align lyrics to a
devnull context:

This is a neat trick, but it fails when the target voice contains ties:
voice = {
       \tag #'music { c''2 }
       \tag #'lyrics { c''4. ~ c''8 }
       d''2
}
lyr = \lyricmode { foo -- bar }
<<
 \new Staff \keepWithTag #'music \voice
 \new Devnull="foo" \keepWithTag #'lyrics \voice
 \new Lyrics \lyricsto "foo" \lyr
 \new Staff { c'8 c' c' c' c' c' c' c'}
>>

... or am I missing something?


Regards,
  Erlend Aasland
_______________________________________________
lilypond-devel mailing list
lilypond-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Han-Wen Nienhuys | 1 Jun 2006 01:32
Favicon

Re: make web fails

Erik Sandberg schreef:
> On Tuesday 30 May 2006 11:00, Han-Wen Nienhuys wrote:
>> Erik Sandberg schreef:
>>> Hi,
>>>
>>> Operand stack:
>>>    Times-Roman   Font   Times-Roman   10740839   Times-Roman  
>>> --nostringval-- Times-Roman   NimbusRomNo9L-Regu   Courier  
>>> NimbusMonL-Regu
>> try setting GS_FONTPATH too, to a directory containing Times-Roman or
>> Nimbus.
> 
> Hi,
> 
> What's usually the file names of those fonts? I could only find 
> NimbusRomNo9L-Regu, which didn't help.
> 

I have one in

/usr/share/fonts/default/Type1/n021003l.pfb

--

-- 

Han-Wen Nienhuys - hanwen <at> lilypond.org - http://www.xs4all.nl/~hanwen

LilyPond Software Design
  -- Code for Music Notation
http://www.lilypond-design.com
Erlend Aasland | 1 Jun 2006 01:33
Picon

Re: New lyrics trick available in 2.9.6

Never mind, I solved it by using \new Devnull { \new Voice="foo" \keepWithTag #'lyrics \voice }


Erlend

On 6/1/06, Erlend Aasland <erlenda <at> gmail.com> wrote:
Hi,

On 5/29/06, Erik Sandberg < mandolaerik <at> gmail.com> wrote:
The new alternative trick, which IMHO is cleaner, is to align lyrics to a
devnull context:

This is a neat trick, but it fails when the target voice contains ties:

voice = {
       \tag #'music { c''2 }
       \tag #'lyrics { c''4. ~ c''8 }
       d''2
}
lyr = \lyricmode { foo -- bar }

<<
 \new Staff \keepWithTag #'music \voice
 \new Devnull="foo" \keepWithTag #'lyrics \voice
 \new Lyrics \lyricsto "foo" \lyr
 \new Staff { c'8 c' c' c' c' c' c' c'}
>>

... or am I missing something?


Regards,
  Erlend Aasland

_______________________________________________
lilypond-devel mailing list
lilypond-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Erlend Aasland | 1 Jun 2006 01:41
Picon

Re: New lyrics trick available in 2.9.6

Hmm, no that didn't solve it at all... anyway, I'm too tired to debug this now... So, this Devnull trick still doesn't work when the target voice contains ties.

Regards,
  Erlend

On 6/1/06, Erlend Aasland <erlenda <at> gmail.com> wrote:
Never mind, I solved it by using \new Devnull { \new Voice="foo" \keepWithTag #'lyrics \voice }


Erlend


On 6/1/06, Erlend Aasland <erlenda <at> gmail.com> wrote:
Hi,

On 5/29/06, Erik Sandberg < mandolaerik <at> gmail.com> wrote:
The new alternative trick, which IMHO is cleaner, is to align lyrics to a
devnull context:

This is a neat trick, but it fails when the target voice contains ties:

voice = {
       \tag #'music { c''2 }
       \tag #'lyrics { c''4. ~ c''8 }
       d''2
}
lyr = \lyricmode { foo -- bar }

<<
 \new Staff \keepWithTag #'music \voice
 \new Devnull="foo" \keepWithTag #'lyrics \voice
 \new Lyrics \lyricsto "foo" \lyr
 \new Staff { c'8 c' c' c' c' c' c' c'}
>>

... or am I missing something?


Regards,
  Erlend Aasland


_______________________________________________
lilypond-devel mailing list
lilypond-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Graham Percival | 1 Jun 2006 09:16
Picon

Re: doc addition: lilypond-book and ties/slurs/... continuing past the end of fragment


On 31-May-06, at 9:15 AM, Vaclav Smilauer wrote:

> I suggest adding the following to "13.2 Integrating LaTeX and music", 
> as

Thanks, added!  I didn't include the example graphic, due to technical 
difficulties in generating the image inside the texinfo manual.  
However, I think it's clear enough even without the graphic.

Cheers,
- Graham
Graham Percival | 1 Jun 2006 10:16
Picon

Re: ZIP encapsulated patch Re: Problems with spanish update


On 31-May-06, at 1:54 AM, Francisco Vila wrote:

> OK. I hope this resolves the problem. Attached is a zip compressed
> file that encapsulates two patches. One is the original patch I
> sent. The other is from my local copy against current CVS.

Thanks, this worked fine!  Thanks also for your perseverance in sending 
multiple patches.

Cheers,
- Graham
Kieren MacMillan | 1 Jun 2006 16:15
Picon
Favicon

trying to make a music function

Hello, all!

I'm jumping in feet first, and would love a lifeguard to keep an eye  
on me...  =)

As a first project, I'm trying to create a function to add a dynamic 
+text to a note event. From the docs, I realised that \displayMusic  
is my friend, so:

%% CODE BEGINS
\version "2.9.6"
ppSempre = #(make-dynamic-script (markup #:line(#:dynamic "pp"  
#:hspace -0.3 #:normal-text #:italic "sempre" )))
\relative c'
{
	\displayMusic c4\ppSempre
}
%% CODE ENDS

which gives

%% OUTPUT BEGINS
(make-music
   'EventChord
   'elements
   (list (make-music
           'NoteEvent
           'duration
           (ly:make-duration 2 0 1 1)
           'pitch
           (ly:make-pitch -1 0 0))
         (make-music
           'AbsoluteDynamicEvent
           'text
           (markup
             #:line
             (#:line
              (#:dynamic
               "pp"
               #:hspace
               -0.3
               #:normal-text
               (#:italic "sempre")))))))
%% OUTPUT ENDS

So then I copied [most of] the output and wrapped it thusly:

%% CODE BEGINS
\version "2.9.6"

dwt =
	#(define-music-function (parser location dyn text event-chord)  
(string? string? ly:music?)
			(let ((result-event-chord (ly:music-deep-copy event-chord)))
				(set! (ly:music-property result-event-chord 'elements)
					(list (make-music
           'NoteEvent
           'duration
           (ly:make-duration 2 0 1 1)
           'pitch
           (ly:make-pitch -1 0 0))
         (make-music
           'AbsoluteDynamicEvent
           'text
           (markup
             #:line
             (#:line
              (#:dynamic
               "pp"
               #:hspace
               -0.3
               #:normal-text
               (#:italic "sempre")))))))

				result-event-chord))

\relative c'
{
	\dwt #'"f" #'"test" { c4 }
}
%% CODE ENDS

But I get

%% ERROR BEGINS
programming error: Spanner `DynamicLineSpanner' is not fully  
contained in parent spanner `VerticalAxisGroup'.
programming error: no broken bound
programming error: no broken bound
%% ERROR ENDS

and the output has only the note and duration (correctly) with no  
dynamic.

Any hints/corrections/suggestions would be appreciated.

Thanks,
Kieren.
Kieren MacMillan | 1 Jun 2006 16:21
Picon
Favicon

single quotes in docs (esp. functions, variables, etc.)

Hello, all:

1. Just reminding people that cutting and pasting code from the (PDF)  
docs might not always work as expected. In particular, many of the  
examples contain single typographer's quotes (’), where Lilypond  
would be expecting single straight quotes (') -- be sure to  
substitute these out before attempting to typeset/compile your file!

2. Graham: is there any way that the <code> (or <verbatim> or  
whatever) sections in the docs could be stylesheeted so that all  
curly quotes are straightened automatically?

Thanks,
Kieren.
Sven Axelsson | 1 Jun 2006 16:32
Picon

Re: single quotes in docs (esp. functions, variables, etc.)

On 01/06/06, Kieren MacMillan <kieren_macmillan <at> sympatico.ca> wrote:
> Hello, all:
>
> 1. Just reminding people that cutting and pasting code from the (PDF)
> docs might not always work as expected. In particular, many of the
> examples contain single typographer's quotes ('), where Lilypond
> would be expecting single straight quotes (') -- be sure to
> substitute these out before attempting to typeset/compile your file!
>
> 2. Graham: is there any way that the <code> (or <verbatim> or
> whatever) sections in the docs could be stylesheeted so that all
> curly quotes are straightened automatically?

That has been fixed, at least in the 2.9 documentation as far as I can
see. Or are there any particular places in the documentation where
code samples still use the wrong single quotes?

--

-- 
Sven Axelsson

Gmane