]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.tely
New page breaking function: ly:minimal-breaking, which first computes
[lilypond.git] / Documentation / topdocs / NEWS.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename NEWS.info
3 @settitle NEWS
4
5 @ifhtml
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
8 @end macro
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/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 @macro textanchor{NAME}
24 @html
25 <a name="\NAME\"></a>
26 @end html
27 @end macro
28
29
30 @documentencoding utf-8
31 @documentlanguage en
32
33 @finalout
34
35 @ifnottex
36 @node Top
37 @top
38 @end ifnottex
39 @unnumbered New features in 2.11 since 2.10
40
41 @ifhtml
42 This document is also available in @uref{NEWS.pdf,PDF}. It's part of
43 the @uref{../,LilyPond Documentation} 
44 @end ifhtml
45
46
47
48
49 @itemize @bullet
50
51 @ignore
52
53 HINTS
54
55 * only show verbatim input for syntax/input changes
56
57 * try to be as brief possible in those cases
58
59 * don't try to provide real-world examples, they often get too big,
60 which scares away people.
61
62 * Write complete sentences.
63
64 * only show user-visible changes. 
65
66 @end ignore
67
68 @item
69 A new page breaking function, @code{ly:minimal-breaking}, is dedicated
70 to books with many pages or a lot of texts.
71
72 @item
73 A table of contents is included using @code{\markuplines \table-of-contents}.
74 Elements are added to it using the @code{\tocItem} command.
75
76 @item
77 Text spreading over several pages is entered using the
78 @code{\markuplines} keyword. Builtin markup list commands, such as
79 @code{\justified-lines} or @code{\wordwrap-lines} may be used, and new
80 ones created using the @code{define-markup-list-command} Scheme macro.
81
82 @item
83 Particular points of a book may be marked with the @code{\label}
84 command. Then, the page where these points are placed can be refered to
85 using the @code{\page-ref} markup command.
86
87 @item
88 Page breaking and page turning commands (@code{\pageBreak},
89 @code{\noPageBreak}, etc) can be used at top-level, between scores and
90 top-level markups.
91
92 @item
93 The following options are now changed as a @code{-d} sub-option:
94 @code{--backend}, @code{--safe}, @code{--preview} and
95 @code{--no-pages} (which became @code{-dno-print-pages}).  The @code{-b}
96 option does not exist any more.
97
98 @item
99 Improved testing procedure now catch changes in CPU and memory
100 performance, page layout, MIDI results and warnings.  This helps to
101 reduce the number of regression errors during development, resulting
102 in more stable releases.
103
104 See @uref{INSTALL.html#testing} for more information.
105 @item
106 Nested properties, such as @code{details} in @code{Slur}, can be
107 reverted as well.  The syntax for this is
108
109 @example
110 \revert Slur #'(details closeness-factor)
111 @end example
112
113 @item
114 All line spanners are more flexible now in the configuration of their
115 end points.  This includes glissando, voice followers, text crescendos
116 and other text spanners.
117
118 @c  with ragged-right we can't see the gliss.
119 @lilypond[]
120 \relative c'' {
121   \override Glissando #'bound-details #'right #'text = \markup { \hcenter \bold down }
122   \override Glissando #'bound-details #'right #'Y = #-4
123   \override Glissando #'bound-details #'right #'padding = #0.0
124   \override Glissando #'bound-details #'left #'arrow = ##t
125   \override Glissando #'bound-details #'left #'padding = #3.0
126   \override Glissando #'style = #'trill
127   
128   c1 \glissando c'
129 }
130 @end lilypond
131
132 This feature was sponsored by Trevor Bača.
133
134  
135 @item
136 The environment variable LILYPONDPREFIX has been renamed to
137 LILYPOND_DATADIR.
138
139 @item
140 Notes or rests, such as a typical end note, that fill an entire
141 measure are preceded by some more space.
142
143 @lilypond[ragged-right]
144 \relative c' {
145   \time 4/4
146   s1
147   c2. c4
148   \time 3/4
149   c2.
150 }
151 @end lilypond
152
153 @item All @code{\score}s in a lilypond-book fragment are now inserted
154 into the document. Also, toplevel markups don't result in an entire
155 page.
156
157 @item Alterations (such as a sharp and flat) may now be arbitrary
158 fractions. This allows some forms of microtonal music.  For example,
159 Turkish makam music uses 1/9th tone alterations.
160
161 @lilypondfile{makam.ly}
162
163
164
165 @item Tie directions may be set with @code{^~} and @code{_~}
166
167 @item Tablature now supports harmonics and slides,
168
169 @lilypond[fragment,ragged-right,relative=1]
170 \new TabVoice
171 {
172     <c g'\harmonic> d\2\glissando e\2
173 }
174 @end lilypond
175
176 This feature was sponsored by Mike Amundsen
177
178 @item Horizontal spacing now follows object outlines more
179 accurately. This allows tighter horizontal spacing.
180
181 @lilypond[fragment,ragged-right]
182 {
183   \stemUp c''4...*1/2
184   ceses'!
185 }
186 @end lilypond
187
188
189 @item Objects that belong outside of the staff are
190 now positioned automatically to avoid collisions.
191
192 @lilypond[fragment,ragged-right,relative=1]
193   c''
194   \once \override TextScript #'self-alignment-X = #CENTER
195   a,^"this doesn't collide with the c"
196   b^"this goes above the previous markup"
197   a8_"this goes below the dynamic"
198   a\f
199 @end lilypond
200
201 @item Staves are spaced vertically using a skyline algorithm. This helps to avoid
202 uneven vertical spacing.
203
204 @lilypond[ragged-right]
205
206 %% todo: fix 'landscape PDF.
207 #(set-default-paper-size "a6" )
208 \header {
209   tagline = ##f
210 }
211
212 \book {
213   \score {
214     {
215       a,,1 | a'4 b' c'' d'' \break
216       \repeat unfold 2 {a' b' c'' d''} | b''''1
217     }
218   }
219 }
220 @end lilypond
221
222 @end itemize
223
224
225
226 @ifhtml
227 For older news, go to
228 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
229 or @uref{../,go back} to the Documentation index.
230
231
232 @end ifhtml
233
234 @bye