]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
Issue 2172: Get line and column numbers right.
[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 Starting with version@tie{}2.17.10, error messages or the
66 @code{textedit} @acronym{URI} used for point-and-click
67 functionality specify column numbers starting with@tie{}1 rather
68 than@tie{}0.  The byte offset (also part of @code{textedit}
69 @acronym{URI}s) still starts at@tie{}0.
70
71 @item
72 The @code{\clef} command supports optional octavation:
73 @lilypond[verbatim,quote,relative=1]
74 \clef "treble_(8)"
75 c2 c
76 \clef "bass^[15]"
77 c2 c
78 @end lilypond
79
80 @item
81 The LilyPond syntax of dot-separated words @code{Voice.Accidental}
82 has been made interchangeable with @code{#'(Voice Accidental)}, a
83 Scheme list of symbols.  As one result, code like
84 @example
85 \override Voice.TextSpanner #'(bound-details left text) = "rit."
86 @end example
87 is now equivalent to
88 @example
89 \override Voice.TextSpanner bound-details.left.text = "rit."
90 @end example
91 or even
92 @example
93 \override #'(Voice TextSpanner) bound-details.left.text = "rit."
94 @end example
95
96 @item
97 Grob and grob property path no longer need to be specified as two
98 separate arguments to commands like @samp{\override} and
99 @code{\revert}, allowing for the syntax
100 @example
101 \override Voice.TextSpanner.bound-details.left.text = "rit."
102 @end example
103 Since complementary music functions like @samp{\overrideProperty}
104 cannot support forms with and without separating space at the same
105 time, using a single dotted path is now the preferred form.
106 Specifying grob path and grob property path separately, currently
107 still supported with @samp{\override} and @samp{\revert} for
108 compatibility reasons, is deprecated.
109
110 @item
111 Due to words now being accepted as symbol function arguments, the
112 interfaces of @samp{\accidentalStyle}, @samp{\alterBroken},
113 @samp{\footnote} and @samp{\tweak} had to be redesigned where
114 optional symbol arguments were involved.  Please check the
115 respective music function documentation for details.
116
117 @item
118 Several commands now accept symbol lists (conveniently entered as
119 dot-separated words) for various kinds of arguments.  These
120 include @samp{\accidentalStyle}, @samp{\alterBroken},
121 @samp{\footnote}, @samp{\hide}, @samp{\omit},
122 @samp{\overrideProperty}, @samp{\shape}, and @samp{\tweak}.
123
124 @item
125 The bar line user interface has changed. Bar glyphs now resemble the
126 appearance of the bar line, so a left repeat sign has to be coded
127 as @code{.|:}. The command @code{\defineBarLine} provides an easy way
128 to define additional bar line styles.
129
130 @item
131 Accidentals in the key signature may be printed in octaves other
132 than their traditional positions, or in multiple octaves.
133 @lilypond[quote,relative=0]
134 \override Staff.KeySignature #'flat-positions = #'((-5 . 5))
135 \override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
136 \clef bass \key es\major es g bes d
137 \clef treble \bar "||" \key es\major es g bes d
138 \override Staff.KeySignature #'sharp-positions = #'(2)
139 \bar "||" \key d\major b fis b2
140 @end lilypond
141
142 @end itemize
143
144 @ifhtml
145 For older news, go to
146 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
147 @uref{http://lilypond.org/doc/v2.14/Documentation/changes/},
148 or @uref{../,go back} to the Documentation index.
149
150
151 @end ifhtml
152
153 @bye