]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
Merge branch 'master' into translation
[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.18 since 2.16
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
64 @item
65 Introducing two new markup-commands; @code{\draw-dashed-line} and
66 @code{\draw-dotted-line}.
67
68 @noindent
69 The dashed-line extends to the whole length given by @var{dest}, if
70 @code{full-length} is set to @code{#t} (this is the default) without any
71 space at the beginning or end.  @code{off} will then be altered to fit.
72 To insist on the given (or default) values of @code{on}, @code{off} use
73 @code{\override #'(full-length . #f)}.  Manual settings for @code{on},
74 @code{off} and @code{phase} are possible.
75
76 @noindent
77 The dotted-line always extends to the whole length given by @var{dest},
78 without any space at the beginning or end.  Manual settings for
79 @code{off} are possible to get larger or smaller space between the dots.
80 The given (or default) value of @code{off} will be altered to fit the
81 line-length.
82
83 @lilypond[verbatim,quote]
84 \markup {
85   \draw-dashed-line #'(5.1 . 2.3)
86   \override #'(on . 0.3)
87   \override #'(off . 0.5)
88   \draw-dashed-line #'(5.1 . 2.3)
89   \draw-dotted-line #'(5.1 . 2.3)
90   \override #'(thickness . 2)
91   \override #'(off . 0.2)
92   \draw-dotted-line #'(5.1 . 2.3)
93 }
94 @end lilypond
95
96 @item
97 Starting with version@tie{}2.17.10, error messages or the
98 @code{textedit} @acronym{URI} used for point-and-click
99 functionality specify column numbers starting with@tie{}1 rather
100 than@tie{}0.  The byte offset (also part of @code{textedit}
101 @acronym{URI}s) still starts at@tie{}0.
102
103 @item
104 The @code{\clef} command supports optional octavation:
105 @lilypond[verbatim,quote,relative=1]
106 \clef "treble_(8)"
107 c2 c
108 \clef "bass^[15]"
109 c2 c
110 @end lilypond
111
112 @item
113 The LilyPond syntax of dot-separated words @code{Voice.Accidental}
114 has been made interchangeable with @code{#'(Voice Accidental)}, a
115 Scheme list of symbols.  As one result, code like
116 @example
117 \override Voice.TextSpanner #'(bound-details left text) = "rit."
118 @end example
119 is now equivalent to
120 @example
121 \override Voice.TextSpanner bound-details.left.text = "rit."
122 @end example
123 or even
124 @example
125 \override #'(Voice TextSpanner) bound-details.left.text = "rit."
126 @end example
127
128 @item
129 Grob and grob property path no longer need to be specified as two
130 separate arguments to commands like @samp{\override} and
131 @code{\revert}, allowing for the syntax
132 @example
133 \override Voice.TextSpanner.bound-details.left.text = "rit."
134 @end example
135 Since complementary music functions like @samp{\overrideProperty}
136 cannot support forms with and without separating space at the same
137 time, using a single dotted path is now the preferred form.
138 Specifying grob path and grob property path separately, currently
139 still supported with @samp{\override} and @samp{\revert} for
140 compatibility reasons, is deprecated.
141
142 @item
143 Due to words now being accepted as symbol function arguments, the
144 interfaces of @samp{\accidentalStyle}, @samp{\alterBroken},
145 @samp{\footnote} and @samp{\tweak} had to be redesigned where
146 optional symbol arguments were involved.  Please check the
147 respective music function documentation for details.
148
149 @item
150 Several commands now accept symbol lists (conveniently entered as
151 dot-separated words) for various kinds of arguments.  These
152 include @samp{\accidentalStyle}, @samp{\alterBroken},
153 @samp{\footnote}, @samp{\hide}, @samp{\omit},
154 @samp{\overrideProperty}, @samp{\shape}, and @samp{\tweak}.
155
156 @item
157 The bar line user interface has changed. Bar glyphs now resemble the
158 appearance of the bar line, so a left repeat sign has to be coded
159 as @code{.|:}. The command @code{\defineBarLine} provides an easy way
160 to define additional bar line styles.
161
162 @item
163 Accidentals in the key signature may be printed in octaves other
164 than their traditional positions, or in multiple octaves.
165 @lilypond[quote,relative=0]
166 \override Staff.KeySignature #'flat-positions = #'((-5 . 5))
167 \override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
168 \clef bass \key es\major es g bes d
169 \clef treble \bar "||" \key es\major es g bes d
170 \override Staff.KeySignature #'sharp-positions = #'(2)
171 \bar "||" \key d\major b fis b2
172 @end lilypond
173
174 @end itemize
175
176 @ifhtml
177 For older news, go to
178 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
179 @uref{http://lilypond.org/doc/v2.14/Documentation/changes/},
180 or @uref{../,go back} to the Documentation index.
181
182
183 @end ifhtml
184
185 @bye