Re: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-08 Thread Valentin Villenave
2008/2/3, Paul Scott [EMAIL PROTECTED]:

 Sorry!  I don't know enough to know what is broken/changed.  I was
 hoping for a fix so I didn't have to hand mark the part.

This is actually one of the snippets that I had to tag as
version-specific. So, we're aware that it is potentially a tricky
snippet to update, but this will have to wait until we upgrade the
LSR.

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-08 Thread Paul Scott

Valentin Villenave wrote:

2008/2/3, Paul Scott [EMAIL PROTECTED]:

  

Sorry!  I don't know enough to know what is broken/changed.  I was
hoping for a fix so I didn't have to hand mark the part.



This is actually one of the snippets that I had to tag as
version-specific. So, we're aware that it is potentially a tricky
snippet to update, but this will have to wait until we upgrade the
LSR.
  
I've been very busy getting out other parts for various groups.  I will 
post a solution as soon as I can.


Thanks,

Paul



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-04 Thread Risto Vääräniemi
Dear Paul,

On 04/02/2008, Paul Scott wrote:
 Can someone tell me how to fix this?

Sorry, I can't. I have a workaround, though. :-) I had to find a way
to make a pitched trill and came up with this. However, the solution
is not ideal. If you change the size of the trill mark, you have to
find new values for the stencil-offset.

The mail thread:
http://lists.gnu.org/archive/html/lilypond-user/2007-10/msg00124.html

-Risto


\version 2.11.37

trstyle =
{
\override TextSpanner   #'style = #'trill
\override TextSpanner   #'edge-height = #'(0 . 1)
}

trflatstartI =
{
\trstyle
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
\override TextSpanner #'bound-details #'left #'stencil-offset =
#'(-0.3 . 0.15)
\override TextSpanner #'bound-details #'left #'text =
\markup{\musicglyph #scripts.trill
\raise #1.0 \smaller \flat}
}

trflatstartII =
{
\trstyle
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
\override TextSpanner #'bound-details #'left #'stencil-offset =
#'(-0.6 . 0.85)
\override TextSpanner #'bound-details #'left #'text =
\markup{ \column{\tiny\smaller\smaller\smaller{\flat}
{\musicglyph #scripts.trill}}}
}

\relative c'
{
f2.. \startTrillSpan f8 \stopTrillSpan |
\trflatstartI f2..^\startTextSpan f8 \stopTextSpan |
\trflatstartII f2..^\startTextSpan f8 \stopTextSpan |
}
%%


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Paul Scott

Graham Percival wrote:

There are a number of such examples.  If you alter the snippet to
work with 2.11.38 and send it to me, the 2.11 version will appear
in the 2.11 docs.
  
Sorry!  I don't know enough to know what is broken/changed.  I was 
hoping for a fix so I didn't have to hand mark the part.


Thanks,

Paul



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Paul Scott

Graham Percival wrote:

There are a number of such examples.  If you alter the snippet to
work with 2.11.38 and send it to me, the 2.11 version will appear
in the 2.11 docs.
  

Sorry!  I don't know enough to know what is broken/changed.  I was
hoping for a fix so I didn't have to hand mark the part.

Thanks,

Paul




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Paul Scott

Can someone tell me how to fix this?

TIA,

Paul


Paul Scott wrote:
This example from the current LSR doesn't seem to work for 2.11.38.  
No sharp appears.


Adding accidentals to a trillspanner

\relative c'' {
\override TrillSpanner #'edge-text = #(cons (markup #:line 
(#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.65 
#:sharp)) )

b1\startTrillSpan b\stopTrillSpan

\override TrillSpanner #'edge-text = #(cons (markup #:line 
(#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.5 
#:flat)) )

c\startTrillSpan c\stopTrillSpan

}

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


Re: Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Graham Percival
Paul,

- run the example through convert-ly.  It will probably warn you
  about the text spanners.
- look at NEWS.  It tells you that setting text spanners has
  changed.
- look at the doc section about text spanners.  It tells you the
  new syntax.
- with this knowledge, modify the snippet accordingly.

If you want to run a devel version, you need to be familiar with
these steps.

- Graham

On Sun, 03 Feb 2008 17:25:48 -0700
Paul Scott [EMAIL PROTECTED] wrote:

 Can someone tell me how to fix this?
 
 TIA,
 
 Paul
 
 
 Paul Scott wrote:
  This example from the current LSR doesn't seem to work for
  2.11.38. No sharp appears.
 
  Adding accidentals to a trillspanner
 
  \relative c'' {
  \override TrillSpanner #'edge-text = #(cons (markup #:line 
  (#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.65 
  #:sharp)) )
  
  b1\startTrillSpan b\stopTrillSpan
  
  \override TrillSpanner #'edge-text = #(cons (markup #:line 
  (#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.5 
  #:flat)) )
  
  c\startTrillSpan c\stopTrillSpan
  }
 
  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: Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Paul Scott

Graham Percival wrote:

On Sun, 03 Feb 2008 22:05:31 -0700
Paul Scott [EMAIL PROTECTED] wrote:

  

Graham Percival wrote:


- run the example through convert-ly.  It will probably warn you
  about the text spanners.
  
  

The LSR code didn't have a version that I could see.  I tried
starting with several 2.11.x versions.  s.11.11 finally gave:



LSR is version 2.10.12.  That info is somewhere on the website.

  

Applying conversion: 2.11.13, Not smart enough to convert edge-text
settings for TextSpanner.Use

\override TextSpanner #'bound-details #'right #'text =
right-text \override TextSpanner #'bound-details #'left #'text =
left-text 
  
That's not enough information for me and the converted code still has 
the original problem.



Of course the converted code still has the problem!  That's what
not smart enough to convert means!

  

- look at the doc section about text spanners.  It tells you the
  new syntax.
  
  

Where?  The internals doc for edge-text is too generic.



Umm, the first example?  It shows you how to use #'bound-details.
  

I don't see how to use that to get a flat, sharp or natural to appear.


  

I am somewhat familiar with each of these steps but not enough to
solve this problem.



You're trying to use a special tweak from an old version in an UNSTABLE
version of lilypond.  Unfortunately you need to get more familiar with
these steps if you want to convert special tweaks.
  

Are you saying

1. that you have answered my question above?

2. I have more to learn to understand this?

3. ?

Paul




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Graham Percival
On Sun, 03 Feb 2008 22:05:31 -0700
Paul Scott [EMAIL PROTECTED] wrote:

 Graham Percival wrote:
  - run the example through convert-ly.  It will probably warn you
about the text spanners.

 The LSR code didn't have a version that I could see.  I tried
 starting with several 2.11.x versions.  s.11.11 finally gave:

LSR is version 2.10.12.  That info is somewhere on the website.

  Applying conversion: 2.11.13, Not smart enough to convert edge-text
  settings for TextSpanner.Use
 
  \override TextSpanner #'bound-details #'right #'text =
  right-text \override TextSpanner #'bound-details #'left #'text =
  left-text 
 That's not enough information for me and the converted code still has 
 the original problem.

Of course the converted code still has the problem!  That's what
not smart enough to convert means!

  - look at the doc section about text spanners.  It tells you the
new syntax.

 Where?  The internals doc for edge-text is too generic.

Umm, the first example?  It shows you how to use #'bound-details.


 I am somewhat familiar with each of these steps but not enough to
 solve this problem.

You're trying to use a special tweak from an old version in an UNSTABLE
version of lilypond.  Unfortunately you need to get more familiar with
these steps if you want to convert special tweaks.
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution for: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-03 Thread Graham Percival
On Sun, 03 Feb 2008 22:55:21 -0700
Paul Scott [EMAIL PROTECTED] wrote:

  Umm, the first example?  It shows you how to use #'bound-details.

 I don't see how to use that to get a flat, sharp or natural to appear.

The same way you normaly get a flat, sharp, or a natural to appear
in markup.

  You're trying to use a special tweak from an old version in an
  UNSTABLE version of lilypond.  Unfortunately you need to get more
  familiar with these steps if you want to convert special tweaks.

 Are you saying
 
 1. that you have answered my question above?
 
 2. I have more to learn to understand this?
 
 3. ?

#2 and #3.  This problem arose -- I think; I haven't actually
looked at the problem -- because the syntax for text spanners
changed between 2.10 and 2.11.  I gave you the general steps on
how to solve the problem.

If you want to do fancy stuff in lilypond, you need to learn about
how it works.  LM 3-4 in the 2.11.38 docs gives a great
introduction to this.

If you want to do translate fancy stuff from one version of
lilypond into fancy stuff in another version of lilypond, you need
to learn even more about how lilypond works.  See the News page
for more info about this.

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


2.11.38 LSR Adding accidentals to a trillspanner

2008-02-02 Thread Paul Scott
This example from the current LSR doesn't seem to work for 2.11.38.  No 
sharp appears.


Adding accidentals to a trillspanner

\relative c'' {
	\override TrillSpanner #'edge-text = 
	#(cons (markup #:line (#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.65 #:sharp)) )


b1\startTrillSpan b\stopTrillSpan

	\override TrillSpanner #'edge-text = 
	#(cons (markup #:line (#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.5 #:flat)) )


c\startTrillSpan c\stopTrillSpan
}

Paul Scott





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.11.38 LSR Adding accidentals to a trillspanner

2008-02-02 Thread Graham Percival
There are a number of such examples.  If you alter the snippet to
work with 2.11.38 and send it to me, the 2.11 version will appear
in the 2.11 docs.

Cheers,
- Graham


On Sat, 02 Feb 2008 16:11:22 -0700
Paul Scott [EMAIL PROTECTED] wrote:

 This example from the current LSR doesn't seem to work for 2.11.38.
 No sharp appears.
 
 Adding accidentals to a trillspanner
 
 \relative c'' {
   \override TrillSpanner #'edge-text = 
   #(cons (markup #:line (#:halign -0.5 #:musicglyph
   #scripts.trill #:teeny #:raise 0.65 #:sharp)) )
   
   b1\startTrillSpan b\stopTrillSpan
   
   \override TrillSpanner #'edge-text = 
   #(cons (markup #:line (#:halign -0.5 #:musicglyph
   #scripts.trill #:teeny #:raise 0.5 #:flat)) )
   
   c\startTrillSpan c\stopTrillSpan
 }
 
 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