15 Nov 2007 14:59
Re: Proposed patch to modify #'style of line objects
Mats Bengtsson <mats.bengtsson <at> ee.kth.se>
2007-11-15 13:59:42 GMT
2007-11-15 13:59:42 GMT
I have now added a convert-ly rule which issues a warning. Also, the
manual should
be updated, by the following patch. Should I apply it to GIT or should
it rather
be done in the GDP copy?
diff --git a/Documentation/user/text.itely b/Documentation/user/text.itely
index 6e8cfc8..b835844 100644
--- a/Documentation/user/text.itely
+++ b/Documentation/user/text.itely
<at> <at> -195,7 +195,7 <at> <at> c2\startTextSpan b c\stopTextSpan a
To print a solid line, use
<at> example
-\override TextSpanner #'dash-fraction = #'()
+\override TextSpanner #'style = #'line
<at> end example
<at> <at> -757,7 +757,7 <at> <at> to tune them.
<at> lilypond[relative=2,ragged-right,verbatim,fragment]
d2 \glissando d'2
-\once \override Glissando #'dash-fraction = #0.5
+\override Glissando #'style = #'dashed-line
d,2 \glissando d'2
\override Glissando #'style = #'dotted-line
d,2 \glissando d'2
/Mats
Graham Percival wrote:
> Would it be easy to create a convert-ly rule for this? (I can't
> remember what the old syntax was)
>
> Cheers,
> - Graham
>
> Mats Bengtsson wrote:
>> Since I haven't heard any objections, I have now commited the patch
>> to GIT, so that style = #'line always means solid line.
>>
>> /Mats
>>
>> Graham Percival wrote:
>>> Mats Bengtsson wrote:
>>>> I realize that this might break some existing code and have tried
>>>> to fix it
>>>> in the regression test files I could find (the example
>>>> line-arrows.ly in LSR
>>>> has to be updated correspondingly).
>>>
>>> LSR is still on 2.10.12, so this can't be fixed until it upgrades.
>>> (and that won't be until a 2.12 beta version, at the earliest)
>>>
>>>> Also, the current behavior is mentioned
>>>> at one place in the manual, which should be updated in GDP.
>>>
>>> Easily done, once 2.11.35 (or .36) is out.
>>>
>>> Cheers,
>>> - Graham
>>
>
>
> _______________________________________________
> lilypond-devel mailing list
> lilypond-devel <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
--
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: mats.bengtsson <at> ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=============================================
RSS Feed