]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.texi
scale brace fonts to design sizes.
[lilypond.git] / Documentation / topdocs / NEWS.texi
1 \input texinfo @c -*-texinfo-*-
2 @setfilename NEWS.info
3 @settitle NEWS
4
5 @node Top, , , 
6 @top
7 @unnumbered New features in 2.5 since 2.4
8
9 @itemize @bullet
10
11 @item
12 Locations of errors in the input are now calculated more precisely.
13
14 @item
15 LilyPond now uses Pango and FontConfig for selecting and rendering
16 internationalized text in non-@TeX{} backends. A font may be selected
17 by using a FontConfig name,
18
19 @example
20 \override TextScript #'font-name = #"Serif"
21 @end example
22
23
24 @noindent
25 or using the classic font selection mechanism
26
27 @example
28 \override TextScript #'font-family = #'roman
29 \override TextScript #'font-series = #'bold
30 @end example
31
32 @noindent
33 Input strings encoded in UTF-8 are then rendered through Pango.
34
35 @item
36 Metrics of blocks of text can be retrieved from (La)@TeX{} directly,
37 using the @code{-f texstr} output backend. This provides exact metrics
38 for texts, including kerning and accents.
39
40 @item
41 LilyPond now uses FreeType read the Feta font as an OpenType
42 font. This is cleaner design and more robust.  A recent version of
43 FontForge (11122004 or newer) and Freetype is required.
44
45 As a result, the SVG backend is now a fully functional backend.
46
47 @item
48 A new script, @code{\espressivo} has been added, for a combination of
49 crescendo and decrescendo on a single note.
50
51 @item
52 In markups, expressions stacked with @code{\column},
53 @code{\center-align}, etc, are not grouped with @code{< ... >} anymore,
54 but with @code{@{ ... @}}, eg:
55 @example
56 \markup \column @{
57   \line @{ first line @}
58   \line @{ second line @}
59 @}
60 @end example
61
62 @item
63 LilyPond will now avoid line breaks that cause long texts to stick
64 outside of the page staff.
65
66 @item
67 Grace notes following a main note, used to be entered by letting the
68 grace notes follow a skip in a parallel expression, for example,
69
70 @verbatim
71   << { d1 }
72      { s2 \grace { c16[ d] } } >>
73   c4
74 @end verbatim
75
76 @noindent
77 This can now be shortened by doing
78
79 @example
80 \afterGrace @{ d1 @} @{ c16[ d] @} 
81 @end example 
82
83 @item
84 Pagebreaks can now be forced or forbidden after title blocks. This is
85 achieved by setting @code{breakbefore} in the @code{\header} block to
86 true or false.
87
88 @item
89 Shaped note heads. This feature has been sponsored by Jonathan Walther.
90
91 @item
92 Layout for titles, page header and footer can now be entered as
93 @code{\markup} commands.
94
95 @item Positioning of slurs can now be adjusted manually
96
97 @item Grace notes are correctly quoted and formatted when using cue notes.
98
99 @item Cue notes can now be created with
100
101 @example
102 \cueDuring #@var{voice-name} #@var{direction} @{ @var{music} @}
103 @end example
104
105 @noindent
106 This will set stem directions and put the cue notes in the @code{cue}
107 @code{Voice}
108
109 @item Stemlets, short stems over beamed rests, have been added.
110
111 @end itemize
112
113
114 @unnumbered New features in 2.4 since 2.2
115
116 @itemize @bullet
117
118 @item Parts that use @code{\quote} can now be transposed.
119
120 @item LilyPond does not try to produce output for files that
121 have a parse error.
122
123 @item @code{lilypond-book} will now remove any output  files that
124 contain failed music snippets.
125
126 @item The mode changing commands  (@code{\chords}, @code{\lyrics}, etc.)
127 have been renamed to @code{\chordmode}, @code{\lyricmode}, etc. The
128 command @code{\chords} is an abbreviation for
129
130 @example
131   \new ChordNames \chordmode ... 
132 @end example
133
134 @noindent
135 @code{\drums}, @code{\lyrics}, @code{\chords}, @code{\figures}
136 function similarly.
137
138 @item The types of events quoted with @code{\quote}  can  now be tuned
139 with @code{quotedEventTypes}. By default, only notes and rests end up
140 in quotes.
141
142 @item  LilyPond will try to keep
143 staves at the same distances across a page, but it will stretch
144 distances to prevent collisions. This results in a more even
145 appearance of the page.
146
147 @item Key signature cancellations are now printed before the bar line,
148 and their appearance has been improved.
149
150 @item Different voices that all use  @code{\quote} can now refer to
151 each other.
152
153
154 @item The automatic staff changer, which is invoked with
155 @code{\autochange}, now creates the @code{up} and @code{down} staff
156 automatically, and uses bass clef for the bottom staff.
157
158 @item There is now support for putting two slurs on chords, both above
159 and below. This is switched on with the @code{doubleSlurs} property.
160
161 @item Running trills now have their own spanner and event,
162
163 @example
164   c1\startTrillSpan c4\stopTrillSpan 
165 @end example
166
167 @item There is a new markup command @code{\postscript} that takes a
168 string that is dumped as verbatim PostScript in the output.
169
170 @item The melody  for a @code{\lyricsto} text can be changed during a
171 melody by setting the @code{associatedVoice} property.
172
173 @item The @code{\lyricsto} keyword now automatically switches on
174 lyrics mode.
175
176 @item The LilyPond binary  now supports output options
177 @code{--dvi} @code{--png} @code{--ps} @code{--pdf} and
178 @code{--preview}.  The old wrapper script for La@TeX{} has been
179 renamed to @code{lilypond-latex}.
180
181 @item Support for ambitus has been rewritten. The Ambitus object is now
182 a grouping object, composed of @code{AmbitusLine},
183 @code{AmbitusAccidental} and @code{AmbitusNoteHead}. These objects may
184 be tuned similar to accidentals and note heads.
185
186 @item Ledger lines are now shortened when the spacing is tight. This
187 prevents ledger lines from colliding with each other.
188
189 @item Slur formatting has been rewritten. The new slur code
190 works similar to the Beam formatter: scores are assigned for all
191 esthetic components of a slur. A large number of combinations for
192 begin and end points is then tried out.  Slurs will now also take into
193 account collisions with staff lines, scripts (like staccato and
194 accent) and accidentals.
195
196
197 @item In the LilyPond  emacs mode, entering @code{|} will  display the
198   current beat within the measure.
199
200 @item Colliding notes are now correctly aligned relative to notes in other staves.
201
202 @item An experimental GNOME output backend is available for developers.
203 It depends on several unreleased packages such as gnome-guile TLA and
204 Pango CVS.  The output interface coverage is sparse, but it already
205 does support point-and-click on the GNOME Canvas.  See also
206 @file{scm/output-gnome.scm}.
207
208 @item Context definitions are now stored in identifiers that match the
209 context name, in other words, to modify a @code{Staff} context, the
210 following code may be used.
211
212 @example
213 \context @{
214   \Staff
215   .. 
216 @}
217 @end example
218
219 @item
220 The @code{\paper} block has been renamed to @code{\layout}.  A new
221 @code{\paper} block has been introduced to hold settings for paper
222 size and output scaling.  Further options include @code{raggedbottom}
223 (if set, systems are not vertically filled to reach the bottom of the
224 page), and @code{raggedlastbottom}.
225
226
227 @item Support for fret diagrams  has been contributed by Carl
228 D. Sorensen. @file{input/test/fret-diagram.ly} contains an example.
229  
230 @item The @code{--safe-mode} has been revisited: GUILE evaluation
231 is done in the R5RS safe module, with only the basic @code{ly:}
232 interface available and malicious @TeX{} code is stopped.  However, to
233 be reasonably safe, you are advised to use the PostScript backend
234 rather than the @TeX{} backend anyway; and if possible use an UML
235 sandbox to run gs or latex.
236
237 @item Music syntax can now be extended seamlessly. As an example,
238 here is the new implementation @code{\applymusic},
239
240 @example
241   applymusic = #(ly:make-music-function
242      (list procedure? ly:music?) ; signature
243      (lambda (where func music)  ; the function
244        (func music)))
245 @end example
246
247 @item @code{\apply} has been renamed to @code{\applymusic}.
248
249 @item Music can be used as a markup.
250 When inserting a @code{score} block as part of a @code{\markup}, it
251 produces a rendered markup of the music.  An example is in
252 @file{input/test/markup-score.ly}.
253
254 @item LilyPond expressions can be embedded into Scheme. The syntax for
255 this is @code{#@{ ... #@}}. Within such a block, Scheme forms can be
256 introduced using a @code{$} character (@code{$$} results in a single
257 `$' character).  These forms are then inserted in the pattern.
258
259 @example
260 #(define (textoffset dx dy)
261    (ly:export
262      #@{ \override Voice.TextScript #'extra-offset = #(cons $dx $dy) #@}))
263
264 @{
265   c'^"normal text"
266   %% The following embedded scheme call is the same as
267   %% \override Voice.TextScript #'extra-offset = #(cons 2 -3)
268   #(textoffset 2 -3)
269   c'^"text with offset" 
270 @}
271 @end example
272
273 @item A music list at toplevel is interpreted as implicit @code{\score}
274 a @code{\score} block at toplevel is interpreted as an implicit
275 @code{\book} and @code{\notemode} mode is the default lexer mode.  The
276 result is that
277
278 @example
279 \header @{ title = "The Title" @}
280 @{ a b c @}
281 @end example
282
283 is interpreted as
284
285 @example
286 \header @{ title = "The Title" @}
287 \book @{
288   \score @{
289     \notemode @{ a b c @}
290   @}
291 @}    
292 @end example
293
294 This is handled by the function defined in
295 @code{toplevel-music-handler}.  Similarly, @code{\score} and
296 @code{\book} are handled by @code{toplevel-score-handler} and a
297 @code{toplevel-book-handler}.  By changing these variables, different
298 results can be obtained.
299
300 @item Mode changing commands,
301 such as @code{\chordmode} and @code{\figuremode} must now be directly
302 followed by delimiters. The following example demonstrates the new
303 behavior,
304
305 @verbatim
306   \figuremode \context Figures { .. } % wrong
307   \context Figures \figuremode { .. } % right
308 @end verbatim 
309
310
311 @item The starting pitch for @code{relative} music is optional for music lists.
312 The default value is middle C.
313
314 @item Combining lyrics with music can be done with @code{\addlyrics}
315
316 @example
317     \relative @{
318         \clef bass
319         d2 d c4 bes a2 \break
320     @}
321     \addlyrics @{
322         My first Li -- ly song,
323     @}
324     \addlyrics @{
325         Not much can go wrong!
326     @}
327 @end example
328
329 Syntactically, @code{\addlyrics} is an infix operator. It is a
330 shortcut for a combination of @code{\new Lyrics}, @code{\lyricmode}
331 and @code{\lyricsto}.
332
333 @item The parser is encapsulated in a Scheme function
334 @code{ly:parse-file}, so the following fragment processes two files
335
336 @verbatim
337 #(ly:parse-file "another.ly")
338 \score { \notes { c4 }}
339 @end verbatim
340
341 @item The @code{font-encoding} property can now be used to select
342 differently encoded fonts. The previous default setting
343 @code{TeX-text} has been replaced by latin1. LilyPond requires the
344 @uref{http://www.lilypond.org/download/fonts/,ec-fonts-mftraced}
345 package installed to function properly.
346
347 @item The encoding of a file can be switched with
348 @code{\encoding}. The strings for markup texts are translated
349 automatically.
350
351 @item The toplevel block @code{\book} introduces page layout.
352 A @code{\book} groups @code{\score} blocks into one page layout
353 entity. For example, two scores are combined in one book with   
354
355 @example
356 \book @{
357      \score @{ ... @}
358      \score @{ ... @}
359 @}
360 @end example
361
362
363 @item
364 Titling and page breaks are handled by LilyPond.  Page breaks may be
365 inserted manually with
366
367 @example
368   \pageBreak
369 @end example
370
371 @item
372 Invoking @code{lilypond} runs the actual binary, which not use
373 La@TeX{} for titling or page layout.  If you need La@TeX{} code in
374 titles, you can use the @code{lilypond-book} program. The former
375 @code{lilypond} script has been retained as @code{lilypond-latex}.
376
377 @item There is now less of a noticeable ``hook'' at the end of a long slur.
378
379 @item The meaning of the @code{|} in the input can be redefined, by
380  assigning a music expression to @code{pipeSymbol}.
381  
382 @end itemize
383
384
385
386 @c ****************************************************************
387
388 @unnumbered New features in 2.2 since 2.0
389
390 @itemize @bullet
391
392 @item Setting @code{raggedlast = ##t} in the @code{\paper} block
393 causes the last line to be set flush-left instead of justified. 
394
395 @item The @code{Timing_engraver} now sets the @code{Timing} alias on
396 its containing context automatically.
397
398 @item The code for font selection has been rewritten. In addition to
399 existing font selection properties, the property @code{font-encoding}
400 has been added, which makes the switch between normal @code{text} and
401 other encodings like @code{braces}, @code{music} and @code{math}.
402
403 @item The pmx2ly script has been removed from the distribution.
404
405 @item Pedal brackets will now run to the last bar of a piece if they are not
406 explicitly ended.
407
408 @item Context definitions now use the word @code{\context} instead of @code{\translator}.
409
410 @item Property functions may be used as an argument to @code{set!},
411 for example
412
413 @example
414   (set! (ly:grob-property grob 'beam) ... )
415 @end example
416
417 @item In anticipation of Emacs 21.4 or 22.1, the info documentation contains
418 images.
419
420 @item Cue notes can be quoted directly from the parts that
421 contain them. This will take into account transposition of source and target
422 instrument. For example,
423
424 @verbatim
425 \addquote clarinet \notes\relative c' {
426   \transposition bes
427   fis4 fis fis fis
428 }
429
430 \score {
431     \notes \relative c'' {
432         c8 d8 \quote 2 oboe es8 gis  
433     }
434 }
435 @end verbatim
436
437 @item The transposition of an instrument can be specified using the
438 @code{\transposition} command.  An
439 E-flat alto saxophone is specified as 
440
441 @example
442   \transposition es'
443 @end example 
444
445 @item The naming of exported Scheme functions now follows Scheme conventions.
446 Changes be applied to Scheme files with 
447
448 @example
449         convert-ly -e -n --from=2.1.24 --to=2.1.26 *.scm 
450 @end example
451
452
453 @item Notes can  be excluded from auto-beaming, by  marking them with
454 @code{\noBeam}
455 @example
456   c8 c \noBeam c c 
457 @end example
458
459 @noindent
460 will print two separate eighth notes, and two beamed notes.
461
462 @item  Translators and contexts have been split. The result of this
463 internal cleanup is that @code{Score} no longer is the top context;
464 @code{Score} is contained in the @code{Global} context. Consequently,
465 it is possible to tweak @code{Score} as follows:
466
467 @example
468   \context Score \with @{
469     @dots{}
470   @}
471 @end example
472
473 @item The number of staff lines  in Tablature notation is now
474 automatically deduced from the @code{stringTunings} property.
475
476 @item The program reference has been cleaned up and revised.
477
478 @item The syntax for setting properties has been simplified:
479 the following table lists the differences:
480
481 @example
482       (old)                           (new)
483
484 \property A.B = #C                \set A.B = #C
485 \property A.B \unset              \unset A.B
486 \property A.B \set #C = #D        \override A.B #C = #D 
487 \property A.B \override #C = #D   (removed)
488 \property A.B \revert #C          \revert A.B #C
489 @end example
490
491 Furthermore, if @code{A} is left out, the bottommost context is used
492 by default.  In other words, it is no longer necessary to explicitly
493 mention @code{Voice}, @code{Lyrics} or @code{ChordNames}. 
494
495 Old:
496
497 @example
498    \property Voice.autoBeaming = ##f
499    \property Staff.TimeSignature \set #'style = #'C
500 @end example
501
502 New:
503
504 @example
505    \set autoBeaming = ##f
506    \override Staff.TimeSignature #'style = #'C
507 @end example
508
509
510 @item Tweaks  made with @code{\override} and @code{\revert} no longer
511 hide tweaks at higher context levels.
512
513 @item Melismata in lyrics are also properly handled  in the MIDI output.
514
515 @item The lilypond-book script has been rewritten.
516 It is shorter, cleaner and faster.  The special construct
517 @code{mbinclude} has been removed, plain @code{@@include} or
518 @code{\input} can be used now.
519
520 It now supports running convert-ly on the lilypond snippets,
521 @example
522     lilypond-book --filter='convert-ly --from=2.0.0' my-book.tely
523 @end example
524
525 @item The @code{LyricsVoice} context has been removed. Lyrics should only
526 be constructed in @code{Lyrics}.
527
528 @item The @code{Thread} context has been removed. Note heads and rests
529 are now constructed at @code{Voice} level.
530
531 @item  Harmonic notes can now be entered as
532
533 @example
534    <c' g''\harmonic>
535 @end example
536
537 @item Drum notation is now supported  as a regular feature:
538 percussion may be entered in @code{\drums} mode, and printed or
539 performed in a @code{DrumStaff} context:
540
541 @example
542   \score @{
543     \drums \new DrumStaff @{ hihat4 cowbell8 @}
544   @}
545 @end example
546
547 @item The automatic staff changer was internally rewritten. As a
548 result, the syntax has been simplified as well:
549
550 @example
551   \autochange @var{the-music}
552 @end example
553
554 @item The ergonomic syntax of @code{\markup} now has an equivalent in
555 Scheme. The @code{markup*} macro creates such objects; the following
556 two markup commands are equivalent:
557 @example
558  f4^#(markup* #:raise 0.2 #:bold "hi")
559  f4^\markup @{ \raise #0.2 \bold hi  @}
560 @end example
561
562 @item Voice names, for vocal lines, have been added. They are similar
563 to instrument names.   They can be set by defining @code{vocalName}
564 and @code{vocNam}.
565
566 @item Safe mode has been reinstated for lilypond.
567 When lilypond is invoked with @code{--safe-mode}, @TeX{} and
568 PostScript file output is disallowed, and lilypond-bin is invoked with
569 @code{--safe-mode}, the user's Guile expressions are evaluated in a
570 safe environment and file inclusion is not allowed.
571
572 Warning: this does not protect against denial-of-service attacks using
573 Guile, @TeX{} or PostScript.
574
575 (This feature is still experimental.)
576
577 @item There is now a Scheme macro for defining markup
578 commands. Special mark-up commands can be defined in user-files too.
579
580 @item Many fixes for dimension scaling have been made,
581 resulting in correct results for scores that mix staves in different
582 sizes.
583
584 @item Improved robustness when  layout properties are accidentally removed.  
585
586 @item A  more cleanly constructed part combiner has been installed.
587 It is more robust and less buggy. The part-combiner can be used with
588 @example
589   \partcombine @var{mus1} @var{mus2}
590 @end example
591
592 @noindent
593 See @file{input/regression/new-part-combine.ly} for an example.
594
595 @item Formatting of rehearsal marks has been improved. The @code{\mark}
596 command now only does automatic incrementing for marks specified as
597 integer. For example, @code{\mark #1} will print an A in the default
598 style.  See @file{input/regression/rehearsal-mark-letter.ly},
599 @file{input/regression/rehearsal-mark-number.ly}.
600
601 @item Formatting of ottava brackets has been much improved.
602
603 @item Objects in the output can now be documented: the following fragment
604  boxes the note head, and adds the text ``heads or tails?'' three
605 spaces below the box.
606
607 @example
608        \context Voice \applyoutput #(add-balloon-text
609                                      'NoteHead "heads, or tails?"
610                                      '(0 . -3))
611
612       
613        c8
614 @end example
615
616
617 @item Default staff sizes are now scalable. There are two new mechanisms for
618 setting staff sizes. Both are demonstrated in this fragment:
619
620 @example
621   #(set-global-staff-size 15)
622   \paper @{
623     #(paper-set-staff-size (* 15 pt))
624   @}   
625 @end example
626
627
628 @noindent
629 Both have the same effect on the global layout of a piece. Similarly,
630 the paper size may be changed as follows
631
632 @example
633   #(set-default-paper-size "a4")
634   \paper @{
635     #(set-paper-size "a4")
636   @}
637 @end example 
638
639
640 @item Warnings for bar check errors are more cleverly printed.  This
641 makes @code{barCheckSynchronize} superfluous, so it is now switched
642 off by default.
643
644 Warning: this will cause problems in scores that use bar checks to
645 shorten measures.
646
647 @item The black note head was made a little rounder, which causes a less
648  frantic graphic impression.
649
650 @item
651 A more concise syntax for checking octaves was introduced. A note may
652 be followed by @code{=}@var{quotes} which indicates what its absolute
653 octave should be.  In the following example, 
654
655 @example
656   \relative c'' @{ c='' b=' d,='' @}        
657 @end example
658
659 @noindent
660 the d will generate a warning, because a d'' is
661 expected, but a d' is found.
662 @c @code adds ` ', very confusing.
663
664 @item There is a new mechanism for putting lyrics to melodies.
665 With this mechanism, @code{Lyrics} lines can be put melodies
666 individually, allowing for different melismatic sections in every
667 @code{Lyrics}. See @file{input/regression/lyric-combine-new.ly}.
668
669 @item Bar lines may now be dotted.
670
671
672 @item The documentation now has links to a wiki, where everyone can
673 add personal comments to the manual.
674
675 @item Contexts may now be changed locally for an isolated music
676 expression. For example,
677   
678 @example
679   \new Voice \with @{
680      \consists "Pitch_squash_engraver"
681   @} @{
682     c'4
683   @}
684 @end example
685
686 @item The syntax for changing staffs has changed. The keyword
687 @code{\change} should now be used, e.g.
688
689 @example
690   \change Staff = up
691 @end example 
692
693 @item Features of spanner contexts, like @code{Staff}, can now be changed
694   using @code{\set}, eg.
695
696 @example
697   \new Staff @{
698        \override Staff.StaffSymbol #'line-count = #4
699        c'4
700   @} 
701 @end example
702
703 @noindent
704 puts a quarter note C on a staff with 4 lines.  
705
706
707 @item Multi measure rests are now truly centered between the
708 clefs/barlines of the staff, their position is independent of symbols
709 on the other staffs.
710
711 @item Collision resolution for dots in chords has been improved greatly. 
712
713 @item
714 Spacing following barlines was improved for widely stretched lines.
715
716 @item
717 Lyric hyphens and extenders now conform to standard typesetting
718 practice.
719
720 @item
721 Lyrics are now aligned under note heads conforming to engraving
722 standards. The responsible code has been rewritten, and is drastically
723 simpler from the previous version. To aid this rewrite, the syntactic
724 function of the extender line ( __ ) has been changed: it is now
725 attached to the lyric syllable.
726
727 @item
728 When redefining a context, the associated identifier is also
729 updated. For example, after reading 
730
731 @example
732  \translator @{
733         \ScoreContext
734         autoBeaming = ##f
735  @}
736 @end example
737
738 @noindent
739 the definition of @code{ScoreContext} is updated to include the changed
740 setting.
741
742
743 @item
744 The weight of the stafflines is now heavier at smaller staff sizes.
745 The font has been modified to match this look: at smaller sizes, the
746 font is heavier and the note heads are more rounded.
747
748 @item Processing scores is now done while parsing the file. New
749 Scheme functions give more flexibility: for example, it is now possible
750 interpret a score, collecting synchronized musical events in a list, and
751 manipulate that information using inline Scheme. For an example, see
752 @file{input/no-notation/recording.ly}.
753
754 @item Font sizes can now truly be scaled continuously: the  @code{font-size}
755 is similar to the old @code{font-relative-size}, but may be set to
756 fractional values; the closest design size will be scaled to achieve
757 the desired size. As a side-effect, there are now no longer
758 limitations in using smaller fonts (eg. grace notes) at small staff
759 sizes.
760
761 @item Stem tips are now also engraved with rounded corners.
762
763 @item
764 The placement of accidentals on chords and ledgered notes is improved.
765
766 @end itemize
767
768
769 @unnumbered New features in 2.0 since 1.8
770
771 @itemize
772
773 @item
774 Crescendos can now be drawn dotted or dashed.
775
776 @item
777 Quarter tones are now supported. They are entered by suffixing
778 @code{ih} for a half-sharp and @code{eh} for a half-flat. Hence, the
779 following is an ascending list of pitches:
780
781 @example
782   ceses ceseh ces ceh c cih cis cisih cisis
783 @end example
784
785 @item
786 The following constructs have been removed from the syntax:
787
788 @example
789   \duration #SCHEME-DURATION
790   \pitch #SCHEME-PITCH
791   \outputproperty @var{func} @var{symbol} = @var{value}
792 @end example
793
794 For @code{\outputproperty}, the following may be substituted:
795
796 @example
797    \applyoutput #(outputproperty-compatibility @var{func}
798                   @var{symbol} @var{value}) 
799 @end example 
800
801 @item
802 Clefs may now be transposed arbitrarily, for example
803
804 @example
805   \clef "G_8"
806   \clef "G_15"
807   \clef "G_9"
808 @end example
809
810
811 @item
812 The syntax for chords and simultaneous music have changed.
813 Chords are entered as
814
815 @example
816    <@var{pitches}>
817 @end example
818
819 while simultaneous music is entered as
820
821 @example
822    <<@var{..music list..}>>
823 @end example
824
825 In effect, the meanings of both have been swapped relative to their 1.8
826 definition.  The syntax for lists in @code{\markup} has changed
827 alongside, but figured bass mode was not  changed, i.e.:
828
829 @example
830   \markup @{ \center <@var{..list of markups..}> @}
831   \figure @{ <@var{figures}> @}
832 @end example
833
834 As chords the more often used than simultaneous music, this change will
835 save keystrokes.
836
837 @item
838 Each music expression can now be tagged, to make different printed
839 versions from the same music expression.  In the following example,
840 we see two versions of a piece of music, one for the full score, and
841 one with cue notes for the instrumental part:
842
843 @example
844 << \tag #'part <<
845      @{ c4 f2 g4 @}      % in the part, we have cue-notes  
846      \\ R1 >>
847   \tag #'score R1  % in the score: only a rest
848 >>
849 @end example
850  
851 The same can be applied to articulations, texts, etc.: they are
852 made by prepending
853
854 @example
855         -\tag #@var{your-tags} 
856 @end example
857
858 to an articulation, for example, 
859
860 @example
861         c4-\tag #'with-fingerings -4 -\tag #'with-strings \6
862 @end example
863
864 This defines a note, which has a conditional fingering and a
865 string-number indication.
866
867 @item
868 The settings for chord-fingering are more flexible. You can specify a
869 list where fingerings may be placed, eg.
870
871 @example
872         \property Voice.fingeringOrientations = #'(left down)
873 @end example
874
875 This will put the fingering for the lowest note below the chord, and the
876 rest to the left.
877
878 @item
879 The script previously known as @code{ly2dvi} has been renamed to
880 @code{lilypond}. The binary itself is now installed as
881 @code{lilypond-bin}.
882
883 @item
884 Markup text (ie. general text formatting) may now be used for lyrics too. 
885
886 @item
887 Two new commands for grace notes have been added, @code{\acciaccatura}
888 and @code{\appoggiatura},
889
890 @example
891   \appoggiatura f8 e4
892   \acciaccatura g8 f4
893 @end example
894
895 Both reflect the traditional meanings of acciaccatura and appogiatura,
896 and both insert insert a slur from the first grace note to the main
897 note.
898
899 @item 
900 Layout options for grace notes are now stored in a context property,
901 and may now be set separately from musical content.
902
903 @item
904 The @code{\new} command will create a context with a unique
905 name automatically. Hence, for multi-staff scores, it is no longer
906 necessary to invent arbitrary context names. For example, a two-staff
907 score may be created by
908
909 @example
910   \simultaneous @{
911     \new Staff @{ @var{notes for 1st staff} @}
912     \new Staff @{ @var{notes for 2nd staff} @}
913   @}
914 @end example
915
916
917
918 @item
919 Octave checks make octave errors easier to correct.
920 The syntax is 
921
922 @example
923   \octave @var{pitch}
924 @end example
925
926 This checks that @var{pitch} (without octave) yields @var{pitch} (with
927 octave) in \relative mode. If not, a warning is printed, and the
928 octave is corrected.
929
930 @item
931 All articulations must now be entered postfix. For example,
932
933 @example
934         c8[( d8]) 
935 @end example
936
937 @noindent
938 is a pair of beamed slurred eighth notes.
939
940 @item
941 The definition of @code{\relative} has been simplified.  Octaves are
942 now always propagated in the order that music is entered. In the
943 following example,  
944
945 @example
946   PRE
947   \repeat "unfold" 3  BODY \alternative @{ ALT1 ALT2 @}
948   POST
949 @end example
950
951 @noindent
952 the octave of BODY is based on PRE, the starting octave of ALT1 on
953 BODY, the starting octave of ALT2 on ALT1, and the starting octave of
954 POST on ALT2.
955
956 The same mechanism is used for all other music expressions, except the
957 chord. Backwards compatibility is retained through a special program option,
958 which is set through 
959
960 @example
961   #(ly:set-option 'old-relative)
962 @end example
963
964 @item
965 Windows users can double click a @code{.ly} file to process and view
966 it automagically through the new @code{lily-wins} frontend.
967
968 @end itemize
969
970
971
972
973 @unnumbered New features in 1.8 since 1.6
974
975 @itemize
976
977 @item 
978 The chord entry code has been completely rewritten. It is now
979 cleaner and more flexible.
980
981 @item 
982 A new syntax has been added for text entry.  This syntax is more
983 friendly than the old mechanism, and it is implemented in a more
984 robust and modular way. For more information, refer to the section on
985 "Text markup" in the notation manual.
986
987 @item 
988 The integration of the input language and Scheme has been made deeper:
989 you can now use LilyPond identifiers in Scheme, and use Scheme
990 expressions instead of LilyPond identifiers.
991
992 @item 
993 The internal representation of music has been cleaned up completely
994 and converted to Scheme data structures.  The representation may be
995 exported as XML.
996
997 @item 
998 A new uniform postfix syntax for articulation has been introduced.
999 A beamed slurred pair of eighth notes can be entered as
1000
1001 @example
1002         c8-[-( d8-]-) 
1003 @end example
1004
1005 In version 2.0, postfix syntax will be the only syntax
1006 available, and the dashes will become optional.
1007
1008 This will simplify the language: all articulations can be entered as
1009 postfix, in any order.
1010
1011 @item 
1012 A new syntax has been added for chords:
1013
1014
1015 @example
1016         << PITCHES >>
1017 @end example 
1018
1019 It is not necessary to update files to this syntax, but it will be for
1020 using LilyPond version 2.0.  In version 2.0, this syntax will be
1021 changed to
1022
1023 @example
1024         < PITCHES >
1025 @end example
1026
1027 for chords, and
1028
1029 @example
1030         \simultaneous @{ .. @} 
1031 @end example
1032
1033 for simultaneous music.
1034
1035 To convert your files from <PITCHES> to <<PITCHES>>, use the script
1036 included in @file{buildscripts/convert-new-chords.py}.
1037
1038 This change was introduced for the following reasons
1039
1040 @itemize @bullet
1041 @item
1042 It solves the "start score with chord" problem, where you have to
1043   state \context Voice explicitly when a chord was the start of a
1044   Staff or Score.
1045 @item
1046 With the new syntax, it is possible to distinguish between
1047   articulations (or fingerings) which are for a single chord note,
1048   and which are for the entire chord. This allows for per-note
1049   fingerings, and is more logical on the whole.
1050 @end itemize
1051
1052 @item 
1053 User code may now be executed during interpreting.  The syntax for
1054 this code is
1055
1056 @example
1057         \applycontext #SCHEME-FUNCTION
1058 @end example
1059
1060 @item 
1061 User code may now be executed on arbitrary grobs during interpreting.
1062 The syntax for this feature is
1063
1064 @example
1065         \applyoutput #SCHEME-FUNCTION
1066 @end example
1067
1068 @noindent
1069 SCHEME-FUNCTION takes a single argument, and is called for every grob
1070 that is created in the current context.
1071
1072 @item 
1073 New algorithms for chord-name formatting have been installed. They
1074 can be tuned and have ergonomic syntax for entering exceptions.
1075
1076 @item 
1077 Texts may now be put on multimeasure rests, e.g.
1078
1079 @example
1080         R1*20^\markup @{ "GP" @}
1081 @end example
1082
1083 @item
1084 Ancient notation now prints ligatures in Gregorian square neumes
1085 notation, roughly following the typographical style of the Liber
1086 hymnarius of Solesmes, published in 1983.  Ligatures are still printed
1087 without the proper line breaking and horizontal spacing.
1088
1089 @item 
1090 Glissandi can now be printed using the zigzag style.
1091
1092 @item 
1093 LilyPond can now print clusters. The syntax is
1094
1095 @example
1096         \apply #notes-to-clusters @{ NOTE NOTE .. @}
1097 @end example
1098
1099 @item
1100 For irregular meters, beat grouping marks can be printed. The
1101 syntax for this is
1102
1103 @example
1104         #(set-time-signature 7 8 '(3 2 2))
1105 @end example
1106
1107
1108 @item 
1109 Nested horizontal brackets for music analysis can now be printed:
1110
1111 @example
1112         NOTE-\startGroup
1113                 ..
1114         NOTE-\stopGroup
1115 @end example
1116
1117
1118 @item  Ottava brackets are now fully supported as a feature.  The syntax
1119 is
1120
1121 @example
1122         #(set-octavation 1)
1123 @end example
1124
1125
1126 @item  Metronome markings are printed when a \tempo command is processed.
1127
1128
1129
1130 @item Fingerings can be put on chords horizontally.
1131
1132
1133
1134 @item  The appearance of various glyphs has been fine-tuned.
1135
1136
1137
1138 @item  Different types of percent style repeats may now be nested.
1139
1140
1141
1142 @item  The emacs support has been extended.
1143
1144
1145 @item 
1146 The manual has been completely revised and extended.
1147
1148 @end itemize
1149
1150 @unnumbered New features in 1.6 since 1.4
1151
1152
1153 @itemize @bullet
1154
1155 @item
1156 Support for figured bass and tablature.
1157
1158 @item
1159 Completely rewritten beam formatting: provides much better output
1160 now.
1161
1162
1163 @item
1164 Completely revised and improved music font.
1165
1166
1167 @item
1168 Completely rewritten MIDI import support.
1169
1170 @item
1171 Completely rewritten grace note support. Practically speaking this
1172 means that grace notes can be slurred to normal normal notes.
1173
1174
1175 @item
1176 Improved accidental handling and formatting: styles for producing
1177 cautionaries may vary, and complex collisions between accidentals of a
1178 chord are handled much better.
1179
1180 @item
1181 Better spacing: both globally and locally. This includes subtle
1182 details like optical stem spacing.
1183
1184 @item
1185 More support for ancient notation: mensural ligatures, ambitus
1186 (pitch range) of voices, more shapes, etc.
1187
1188 @item
1189 More support for piano notation: bracket pedals, directed arpeggios,
1190 arpeggio brackets.
1191
1192 @item
1193 Easier music polyphonic music entry.
1194
1195 @item
1196 More extensibility, many speedups and bugfixes
1197
1198 @item
1199 The manual has been thoroughly revised.
1200
1201 @item
1202 Development is now hosted at http://savannah.gnu.org, and sources
1203 can be downloaded through anonymous CVS.
1204
1205 @item
1206 Support for windows: LilyPond is part of the cygwin distribution,
1207 which comes with a user-friendly installer.
1208
1209 @end itemize