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