]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.tely
* Documentation/topdocs/NEWS.tely (Top): Mention markup text feature.
[lilypond.git] / Documentation / topdocs / NEWS.tely
1 \input texinfo @c -*-texinfo-*-
2 @setfilename NEWS.info
3 @settitle NEWS
4
5 @ifhtml
6 @macro inputfileref{DIR,NAME}
7 @uref{../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
8 @end macro
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../../user/out-www/lilypond/lilypond}@c
11 @end macro
12 @end ifhtml
13
14 @ifnothtml
15 @macro inputfileref{DIR,NAME}
16 @file{\DIR\/\NAME\}@c
17 @end macro
18 @macro usermanref{NAME}
19 See user manual, \NAME\
20 @end macro
21 @end ifnothtml
22
23
24
25 @node Top, , , 
26 @top
27 @unnumbered New features in 2.5 since 2.4
28
29
30 @itemize @bullet
31
32 @item
33 Markup texts can be appended to a @code{\score} block or toplevel
34 music expression, for example,
35
36 @lilypond[verbatim,relative=1,raggedright]
37 \relative { c' d e }
38 \markup { first text }
39 \markup { second text }
40 @end lilypond
41
42 See @inputfileref{input/regression,score-text.ly}.
43
44
45 @item
46 @TeX{}'s @code{kpathsea} library is loaded dynamically, so installing
47 LilyPond does not require installing @TeX{} anymore.
48
49 @item
50 Point and click editing is now supported in the PS/PDF backend as
51 well.
52 See
53 @ifhtml
54 @uref{../../user/out-www/lilypond/Point-and-click.html,Point and click}
55 @end ifhtml
56 @ifnothtml
57 the section Point and click in he user manual. 
58 @end ifnothtml
59
60 @item
61 White mensural ligatures now conform more closely to Renaissance
62 usage.
63
64
65 @item
66 With the new @code{tieWaitForNote} property, arpeggios may be written
67 out using ties, for example,
68
69 @lilypond[fragment,verbatim,relative=1,raggedright]
70 \set tieWaitForNote = ##t
71 \grace { c16[~ e~ g]~ } <c, e g>4   
72 @end lilypond
73
74 Thanks to Steve Doonan for funding development of this feature.
75
76 @item
77 Individual objects may be assigned colors, for example,
78
79 @lilypond[fragment,relative=1,verbatim,raggedright] 
80         \override NoteHead #'color = #red
81         c4
82 @end lilypond 
83
84 @item
85 The PostScript backend is now used by default.  This backend requires
86 less machinery to run, and gives more consistent results.
87
88
89 GhostScript 8.x is required for PDF output.  Earlier versions may hang
90 while converting PostScript to PDF. 
91
92 @item
93 Separator slashes may be inserted between systems in a score. For an
94 example, see @inputfileref{input/regression,system-separator.ly}:
95
96 @item
97 Locations of errors in the input are now calculated more precisely.
98
99 @item
100 LilyPond now uses Pango and FontConfig for selecting and rendering
101 UTF-8 input in non-@TeX{} backends. A font may be selected by using a
102 FontConfig name,
103
104 @example
105 \override TextScript #'font-name = #"Serif"
106 @end example
107
108
109 @noindent
110 or using the classic font selection mechanism
111
112 @example
113 \override TextScript #'font-family = #'roman
114 \override TextScript #'font-series = #'bold
115 @end example
116
117 Any Type1 and TrueType font recognized by FontConfig is available in
118 LilyPond as well.
119
120 @item
121 Metrics of blocks of text can be retrieved from (La)@TeX{} directly,
122 using the @code{-f texstr} output backend. This provides exact metrics
123 for texts, including kerning and accents.
124
125 @item
126 LilyPond now uses FreeType read the Feta font as an OpenType
127 font. This is cleaner design and more robust.  A recent version of
128 FontForge (11122004 or newer) and Freetype is required.
129
130 As a result, the SVG backend is now a fully functional backend.
131
132 @item
133 A new script, @code{\espressivo} has been added, for a combination of
134 crescendo and decrescendo on a single note.
135
136 @item
137 In markups, expressions stacked with @code{\column},
138 @code{\center-align}, etc, are not grouped with @code{< ... >} anymore,
139 but with @code{@{ ... @}}, eg:
140 @example
141 \markup \column @{
142   \line @{ first line @}
143   \line @{ second line @}
144 @}
145 @end example
146
147 @item
148 LilyPond will now avoid line breaks that cause long texts to stick
149 outside of the page staff.
150
151 @item
152 Grace notes following a main note, used to be entered by letting the
153 grace notes follow a skip in a parallel expression, for example,
154
155 @verbatim
156   << { d1 }
157      { s2 \grace { c16[ d] } } >>
158   c4
159 @end verbatim
160
161 @noindent
162 This can now be shortened by doing
163
164 @example
165 \afterGrace @{ d1 @} @{ c16[ d] @} 
166 @end example 
167
168 @item
169 Pagebreaks can now be forced or forbidden after title blocks. This is
170 achieved by setting @code{breakbefore} in the @code{\header} block to
171 true or false.
172
173 @item
174 Shaped note heads. This feature has been sponsored by Jonathan Walther,
175
176 @lilypond[relative=1,fragment,verbatim,raggedright]
177   \set shapeNoteStyles = ##(do re mi fa #f la ti)
178   c d e f g a b c d e f g a b c
179 @end lilypond
180
181 @item
182 Layout for titles, page header and footer can now be entered as
183 @code{\markup} commands.
184
185 @item Positioning of slurs can now be adjusted manually
186
187 @item Grace notes are correctly quoted and formatted when using cue notes.
188
189 @item Cue notes can now be created with
190
191 @example
192 \cueDuring #@var{voice-name} #@var{direction} @{ @var{music} @}
193 @end example
194
195 @noindent
196 This will set stem directions and put the cue notes in the @code{cue}
197 @code{Voice}
198
199
200 @item Stemlets, short stems over beamed rests, have been added.
201
202 @lilypond[relative=1,verbatim,fragment,raggedright]
203 \override Stem #'stemlet-length = #0.75
204 c8[ r8 c16 r16 c8]
205 @end lilypond
206
207 @end itemize
208
209
210 For older news, go to
211 @uref{http://lilypond.org/doc/v2.4/Documentation/topdocs/out-www/NEWS.html}.
212