]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
c4e3332f132addb0033e685c5cfc57a6f83678ad
[lilypond.git] / Documentation / changes.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
4
5 @include macros.itexi
6
7 @ifhtml
8 @macro inputfileref{DIR,NAME}
9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
10 @end macro
11 @macro usermanref{NAME}
12 @inforef{\NAME\,,../user/lilypond/lilypond}@c
13 @end macro
14 @end ifhtml
15
16 @ifnothtml
17 @macro inputfileref{DIR,NAME}
18 @file{\DIR\/\NAME\}@c
19 @end macro
20 @macro usermanref{NAME}
21 See user manual, \NAME\
22 @end macro
23 @end ifnothtml
24
25 @macro textanchor{NAME}
26 @html
27 <a name="\NAME\"></a>
28 @end html
29 @end macro
30
31
32 @documentencoding utf-8
33 @documentlanguage en
34 @afourpaper
35
36 @finalout
37
38 @node Top
39 @top New features in 2.16 since 2.14
40
41 @allowcodebreaks false
42
43 @itemize
44
45 @ignore
46
47 HINTS
48
49 * add new items at the top
50
51 * only show verbatim input for syntax/input changes
52
53 * try to be as brief possible in those cases
54
55 * don't try to provide real-world examples, they often get too big,
56 which scares away people.
57
58 * Write complete sentences.
59
60 * only show user-visible changes.
61
62 @end ignore
63 @item
64 Music, event, and scheme functions can now be defined with optional
65 arguments before mandatory arguments.
66
67 @item
68 There is a new @code{define-event-function} command in analogy to
69 @code{define-music-function} that can be used for defining music
70 functions acting as events without requiring a direction specifier
71 (@code{-}, @code{^}, or @code{_}) placed before them.
72 @lilypond[quote,verbatim,raggedright]
73 dyn=#(define-event-function (parser location arg) (markup?)
74          (make-dynamic-script arg))
75 \relative c' { c\dyn pfsss }
76 @end lilypond
77
78 @item
79 There is a new @code{define-scheme-function} command in analogy to
80 @code{define-music-function} that can be used to define functions
81 evaluating to Scheme expressions while accepting arguments in Lilypond
82 syntax.
83
84 @item
85 The construct @code{#@{ @dots{} #@}} can now be used not just for
86 constructing sequential music lists, but also for single music events,
87 void music expressions, post events, markups (mostly freeing users from
88 having to use the @code{markup} macro), markup lists, number
89 expressions, context definitions and modifications, and a few other
90 things.  If it encloses nothing or only a single music event, it no
91 longer returns a sequential music list but rather a void music
92 expression or just the music event itself, respectively.
93
94 @item
95 New command-line option @option{--loglevel=@var{level}} to control how much output
96 LilyPond creates. Possible values are ERROR, WARN, BASIC_PROGRESS, PROGRESS, DEBUG.
97
98 @item
99 @code{\set \once} now correctly resets the property value to the previous value.
100 @lilypond[fragment,quote,relative=2]
101   \set fingeringOrientations = #'(left)
102   <e-1>4
103   \once \set fingeringOrientations = #'(right)
104   <e-1>
105   <e-1>-"left"
106 @end lilypond
107
108
109 @item
110 The alignment of dynamic spanners (hairpins, text crescendo, etc.) is now
111 automatically broken if a different direction is explicitly given.
112 @lilypond[fragment,quote,relative=2]
113 c4_\< c c^\> c c1_\p
114 @end lilypond
115
116
117 @item
118 Appoggiaturas and acciaccaturas now also work inside a slur, not only inside
119 a phrasing slur. Also, a function @code{\slashedGrace} was added that does
120 does not use a slur from the acciaccatura note.
121 @lilypond[fragment,quote,relative=2]
122 c4( \appoggiatura e8 d4 \acciaccatura e8 d4 \slashedGrace e8 c4)
123 @end lilypond
124
125
126 @item
127 To suppress the line on a crescendo text spanner (and other similar spanners),
128 LilyPond now fully supports the @code{#'style = #'none} property.
129 @lilypond[fragment,quote,relative=2]
130 \override DynamicTextSpanner #'style = #'none
131 c4\cresc c c g, c'\p
132 @end lilypond
133
134 @item
135 LilyPond.app now supports MacOS X 10.7, thanks Christian Hitz!
136
137 @item
138 Glissandi can now span multiple lines.
139
140 @end itemize
141
142 @ifhtml
143 For older news, go to
144 @uref{http://lilypond.org/doc/v2.14/Documentation/changes/},
145 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
146 or @uref{../,go back} to the Documentation index.
147
148
149 @end ifhtml
150
151 @bye