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