]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/index.texi (Top): cleanup.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 18 Jul 2003 23:56:00 +0000 (23:56 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 18 Jul 2003 23:56:00 +0000 (23:56 +0000)
* Documentation/user/introduction.itely (Introduction): rewrite
introduction,
(Music notation and  engraving): about notation.

ChangeLog
Documentation/index.texi
Documentation/user/GNUmakefile
Documentation/user/introduction.itely
VERSION
lily/score.cc
mf/feta-toevallig.mf

index c241a26512f8d132e92ee714f4c3fb50ce7f5fe0..b17c13f6a1810de47b4ad02575f44d9a278f84b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-07-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * Documentation/index.texi (Top): cleanup.
+
+       * Documentation/user/introduction.itely (Introduction): rewrite
+       introduction, 
+       (Music notation and  engraving): about notation.
+
 2003-07-18  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
        * ly/engraver-init.ly (LyricsVoiceContext): add padding for
index dab705f4aec83859584a791843815eb4cbfc217f..37eb3d6992b76884d42a506816c87307c10e13f9 100644 (file)
 @itemize @bullet 
 @item Lily is @uref{DEDICATION.html,dedicated to our friends.}  
 @item
-It is released under the @uref{http://www.gnu.org/copyleft/gpl.html, GNU GPL}.
-@end itemize
-
-@html
-<a name="newbies">
-@end html
-
-
-@c Flat lists of links are not so handy
-@c the links themselves (basename of filename) do not make for
-@c intuitive clicking.
-
+It is released under the @uref{http://www.gnu.org/copyleft/gpl.html,
+GNU GPL}.
 
-@unnumberedsubsec Information for new users
-
-@c Hmm, this looks a bit better; maybe for users/developers too?
-
-@quotation
-
-@unnumberedsubsubsec Installation
-
-@itemize @bullet
-@item The @uref{../topdocs/out-www/README.html, README} contains general information.
-@item   How to @uref{../topdocs/out-www/INSTALL.html, install on Unix}
-@item How to install @uref{../windows/out-www/installing.html, on
-Windows}.  (Or just @uref{http://cygwin.com/setup.exe, Install Lily Now}).
+@item The website is at @uref{http://lilypond.org}
 @end itemize
 
-@c also for users...
-@unnumberedsubsubsec Support
-
-@itemize @bullet
-@item @uref{../../index.html,Front Page}: What is LilyPond?
-@item  Subscribe to the
-@uref{../topdocs/out-www/README.html#mailing-lists,mailing lists}
-@end itemize
-
-@unnumberedsubsubsec Documents
-
-@c direct links into first steps and running lily?
-@itemize @bullet
-@item @uref{../user/out-www/lilypond/Tutorial.html,Learn} how to use LilyPond.
-@item
- @uref{../../input/template/out-www/collated-files.html, Templates}, for
-different music styles.  Add notes, and done!
-@end itemize
-
-@end quotation
-
-@html
-<a name="users">
-@end html
 
 @unnumberedsubsec Information for users
 
@@ -81,13 +35,18 @@ different music styles.  Add notes, and done!
 manual}, (also in @uref{../user/out-www/lilypond.ps.gz,PostScript} and
 @uref{../user/out-www/lilypond.pdf,PDF}).
 
+The user manual contains a
+@uref{../user/out-www/lilypond/Tutorial.html,tutorial} which you
+should consult to learn LilyPond.
+
+
 @item
 The user @uref{../user/out-www/lilypond.html, manual in one big page},
 for easy searching, or look it up in the
 @uref{../user/out-www/lilypond/Index.html,index}.
 
- @item
- A  @uref{../user/out-www/music-glossary.html,glossary}  of musical
+@item
+A  @uref{../user/out-www/music-glossary.html,glossary}  of musical
 terms, including translations.  (also in
 @uref{../user/out-www/music-glossary.ps.gz,PostScript} and
 @uref{../user/out-www/music-glossary.pdf,PDF}).  Read this if you're not
@@ -99,6 +58,10 @@ familiar with English terms for notation.
 you want to fine-tune output, you need the information in this
 document.
 
+@item
+ @uref{../../input/template/out-www/collated-files.html, Templates}, for
+different music styles.  Add notes, and done!
+
 @item
  @uref{../../input/template/out-www/collated-files.html, Templates}, for
 different music styles. Add notes, and done!
@@ -108,31 +71,12 @@ different music styles. Add notes, and done!
 output shown.  Also available in
 @uref{../../input/test/out-www/test.ps.gz,PostScript} and
 @uref{../../input/test/out-www/test.pdf,PDF} formats.
-@end itemize
-
-
-
-@html
-<a name="developers">
-@end html
-
-@unnumberedsubsec Information for developers
-
-@c Han-Wen's site?
-@c Jan's site?
 
-@itemize @bullet
-@item The @uref{ChangeLog.html, ChangeLog} lists things recently done.
-@item The
 @uref{../../input/regression/out-www/collated-files.html,Regression Tests}
 are lot of snippets that test all basic features.  Also available in
 @uref{../../input/regression/out-www/regression.ps.gz,PostScript} and
 @uref{../../input/regression/out-www/regression.pdf,PDF} formats.
-@item
-@uref{http://www2.iro.umontreal.ca/~pinard/po/registry.cgi?domain=lilypond">Translations,Lilypond
-Textual Domain
-} in the Translation Project.
-@item Compiling for @uref{../windows/out-www/compiling.html,Windows/Cygwin}.
+
 @end itemize
 
 
@@ -206,44 +150,4 @@ Searchable archives are available from
 @end itemize
 
 
-@unnumberedsubsec Background information
-
-
-@html
-<a name="background">
-@end html
-
-@itemize @bullet
-@item @uref{../topdocs/out-www/AUTHORS.html, Authors} documents who did
-what on LilyPond.
-@item @uref{../out-www/NEWS.txt,NEWS} summary of changes for 1.4
-@item @uref{../misc/out-www/CHANGES-1.4.html, CHANGES-1.4} Change logs
-from 1.4 up to 1.5
-@item @uref{../misc/out-www/CHANGES-1.3.html, CHANGES-1.3} Change logs from 1.3 up to 1.4 
-@item @uref{../misc/out-www/CHANGES-1.2.html, CHANGES-1.2} Change logs from 1.2 up to 1.3 
-@item @uref{../misc/out-www/CHANGES-1.1.html, CHANGES-1.1} Change logs from 1.1 up to
-1.2 
-@item @uref{../misc/out-www/CHANGES-1.0.html, CHANGES-1.0} Change logs from 1.0 up to 1.1 
-@item @uref{../misc/out-www/CHANGES-0.1.html, CHANGES-0.1} Change logs from 0.1 up to 1.0 
-@item @uref{../misc/out-www/CHANGES-0.0.html, CHANGES-0.0} Change logs from 0.0 up to 0.1
-@item @uref{../misc/out-www/NEWS-1.4.html, NEWS-1.4} summary of changes from 1.2 till 1.4
-
-@item @uref{../misc/out-www/NEWS-1.2.html, NEWS-1.2} summary of changes from 1.0 till 1.2
-
-@item @uref{../misc/out-www/ANNOUNCE-1.2.html, ANNOUNCE-1.2} Announcement of 1.2 (includes summary of changes)
-@item @uref{../misc/out-www/ANNOUNCE-1.0.html, ANNOUNCE-1.0} Announcement of 1.0 (includes summary of
-changes)
-@item @uref{../misc/out-www/ANNOUNCE-0.1.html, ANNOUNCE-0.1} Announcement of 0.1 (includes summary of
-changes)
-@item @uref{../misc/out-www/AIMS.html, AIMS} Why LilyPond?
-@item @uref{../misc/out-www/interview.html, interview} Answers to the Brave GNU world standard questions.
-@item @uref{../windows/out-www/lily-wins.html, lily-wins} musings on the
-Windows installer
-@end itemize
-
-These pages were entirely created from a @strong{development version}
-of the LilyPond package.  The version of this webpage is printed at the
-bottom.
-
-
 @bye
index f490aaf931582006e31ebe4d17586e87d466713e..ef3372213a11b87b5d567a4414713a2c417073d9 100644 (file)
@@ -9,7 +9,11 @@ LATEX_FILES =$(wildcard *.latex)
 DVI_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.dvi))
 
 EXTRA_DIST_FILES= $(LATEX_FILES) $(IMAGES)
-# IMAGES=$(wildcard *-suite1-line.*)
+IMAGES=$(wildcard *.png)
+
+OUT_EPS_IMAGES=$(addprefix $(outdir)/,$(IMAGES:.png=.eps))
+OUT_PNG_IMAGES=$(addprefix $(outdir)/,$(IMAGES))
+
 HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))
 
 PS_FILES = $(DVI_FILES:.dvi=.ps)
@@ -34,9 +38,6 @@ include $(depth)/make/stepmake.make
 # lilypond.tely uses mbinclude
 TEXINFO_SOURCES := $(filter-out lilypond.tely, $(TEXINFO_SOURCES))
 
-outimages:
-       true
-#      cp $(IMAGES) $(outdir)
 
 dvi: $(DVI_FILES)
 
@@ -65,7 +66,7 @@ extra-local-help:
 
 # Generic rule using % twice not possible?
 # $(outdir)/%/%.html: $(outdir)/%.texi
-$(outdir)/lilypond/lilypond.html: $(outdir)/lilypond.texi outimages
+$(outdir)/lilypond/lilypond.html: $(outdir)/lilypond.texi 
        mkdir -p $(dir $@)
        $(MAKEINFO) --output=$(outdir)/lilypond --html $<
        -cp -f $(outdir)/*.{png,ly} $(outdir)/lilypond
@@ -81,6 +82,14 @@ $(outdir)/lilypond-internals/lilypond-internals.html: $(outdir)/lilypond-interna
 
 ifeq ($(SPLITTING_MAKEINFO),yes)
 
+$(outdir)/lilypond.dvi: $(OUT_EPS_IMAGES) $(OUT_PNG_IMAGES)
+
+$(outdir)/%.png: %.png
+       cp $< $@
+
+$(outdir)/%.eps: %.png
+       convert $< $@
+
 DEEP_HTML_FILES = $(outdir)/lilypond/lilypond.html $(outdir)/lilypond-internals/lilypond-internals.html
 
 else
index 055782ae97aafeb905d3df04b89c1c5d5c9b7308..19616e85b23820bda4247a50afa949a7f5f3b637 100644 (file)
 @chapter Introduction
 
 There are a lot of programs that let you print sheet music with a
-computer. Unfortunately, most of them do not do good job.  If you
-regularly from both recent and old music, you can probably agree with
-us on that.  Most computer printouts have a bland, mechanical look,
-and are unpleasant to play from.  Musicians are usually more absorbed
-with performing the music than with studying its looks, so they
-usually cannot pinpoint what exactly is so disconcerting about
-computer prints.
-
-However, it only takes a little attention to see for yourself what is
-what the differences are. The procedure is easy. Find two editions of
-the same piece, an old edition a reputable publishing house, and one
-which is formatted with a computer. If you are unsure, both can be
-told apart easily. Traditional hand-work has slight variations in
-symbol placements, while computer programs repeat all their errors in
-placement with iron rigidity. To illustrate this, we show two scanned
-fragments of the same piece, the first Cello Suite by Johann Sebastian
-Bach. The top one was hand made (published in 1950 by
-B@"{a}renreiter), while the bottom one was computer made (published in
-2000 by Henle).
-
-@ignore
-@iftex
-@image{baer-suite1-line,15cm}
-
-@image{henle-suite1-line,15.3cm}
-@end iftex
-
-@ifhtml
-@html
-<img src="baer-suite1-line.png"> 
-<p>
-<img src="henle-suite1-line.png">
-<p>
-@end html
-@end ifhtml
-@end ignore
-
-
-The fragments come from different editions, so there are some
-editorial differences regarding the slurs. However, we want to compare
-the typography of both.  We can see that the Henle edition looks
-mechanical. This is caused by lack of variation in the spacing: the
-note heads in both systems are on the same horizontal positions, as is
-the bar line. A second difference is in the blackness of the page: the
-B@"{a}renreiter has a stronger look, simply because it uses a heavier
-font, and thicker staff lines. In the printed editions, the Henle
-version is 7 mm wider (approximately 4 %). Often, this difference is
-larger: computer scores tend to be spaced very widely, thus putting
-less information on a page, on average. Besides these global
-characteristics, software also make errors in the details.  Beams
-should normally completely cover staff lines. In this case, the
-programmers have tried to do so, but forgot to take into account the
-thickness of the staff lines. The result is that the endings of all
-sloped beams are wedge-formed. The effect is subtle, it may not show
-up in this reproduction due to limits of the resolution, but it is
-certainly noticeable in the original.
-
-Looking at such detail to the formatting of a score certainly is
-nitpicky.  However, all these details serve a purpose, and that is to
-help the musician perform better: variation in spacing give each line
-a unique, which helps you remember where you are when you look
-away. Boldly print notes stand out more clearly when viewed from a
-distance. Tightly spaced scores take up less pages, which reduces the
-frequency of page turns. Correctly formatted beams and slurs indicate
-the direction of music, and without distracting the reader with
-unnecessary clusters of ink. Clearly, good music typography is
-desirable.
-
-What is wrong with other computer printed scores?
-
-What is engraving?
-
-Music notation  vs. Engraving. (vs. composing)
-
-Why do you care about engraving?
-
-Why would I care about engraving?
-
-You say your program is special; you must be trying to sell it?
-
-Freedom
-
-Preserving/reinventing the art of engraving 
-
-Typography in LilyPond.
-
-Input format.  Issue is overrated.
-
-
-
-
-************
-
-
-LilyPond is a program to print sheet music.  If you have used notation
-programs before, then the way to use this program might be surprising
-at first sight: in order to print music you have to enter musical
-codes in a file.  Then you run the program on the file, and the music
-is produced without any further intervention.  For example, something
-like this:
-
-
-@lilypond[fragment,verbatim, relative 1, intertext="produces this:
-
-"]
-\key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
-@end lilypond
-
-@cindex encoding music
-
-Encoding music using letters and digits may appear strange,
-intimidating or even clumsy at first. Nevertheless, when you take the
-effort to learn the codes and the program you will find that it is
-easier than it seems.  Entering music can be done quickly, and you
-never have to remember how you made the program do something
-complicated: it is all in the input code, and you only have to read
-the file to see how it works. Moreover, you are rewarded with very
-nicely looking output.
-
-In this chapter, we will explain the reasoning behind this unusual
-design, and how this approach affects you as a user.
-
+computer. Unfortunately, most of them do not do good job.  Most
+computer printouts have a bland, mechanical look, and are unpleasant
+to play from.  If you agree with us on that, than you will like
+LilyPond: we have tried to capture the original look of hand-engraved
+music in a program: we have tuned our algorithms, font-designs, and
+program settings to make the output match that of the old editions
+that we love to see and love to play from.
 
 
 @menu
-* Music engraving::             
+* Music notation and  engraving::  
 * Computerized typography::     
 * Music representation::        
 * Example applications::        
 * About this manual::           
 @end menu
 
-@node Music engraving
-@section Music engraving
+@node Music notation and  engraving
+@section Music notation and engraving
 
 
 
 @cindex engraving
 @cindex typography
 
-Making sheet music may seem trivial at first (``you print 5 lines, and
-then put in the notes at different heights''),
-
-
-Hier over notatie.
-
-@emph{music engraving}, i.e. professional music typography, is in
-another ballpark.  The term `music engraving' derives from the
-traditional process of music printing.  Only a few decades ago, sheet
-music was made by cutting and stamping the music into zinc or pewter
-plates, mirrored. The plate would be inked, and the depressions caused
-by the cutting and stamping would hold ink.  An image was formed by
-pressing paper to the plate. Stamping and cutting was completely done
-by hand. Making corrections was cumbersome, so engraving had to be
-done correctly in one go. As you can imagine this was a highly
-specialized skill, much more so than the traditional process of
-printing books.
+Making sheet music may seem trivial, ``you print 5 lines, and then put
+in the notes at different heights'', but as one learns more of it, the
+opposite turns out to be true. There are two problems when making
+sheet music. First, one has to master music notation: the science of
+knowing which symbols to use when what. Second, one has to master
+music engraving: the art of placing symbols such that they look
+elegant.
+
+Music notation was first started in the medieval centuries. In this
+time, monks started to write down hints that indicated how their
+sacred music was sung. These hints (neumes), gradually evolved, and at
+some point became the note heads.  Lines were added to the neumes, to
+indicate a reference pitch, which later became the staff.  Over many
+centuries, improvements and extensions were added. For example, the
+first notation did not have an explicit notion of rhythm, and
+polyphonic music only came into existence in the XXX. The graphic
+language of notation is still under development; the innovations of
+contemporary music require still newer and more complex notations. A
+system of notation encompasses such a wide scope of music inherently
+is complex: there are many rules, and for every rule there are
+exceptional situations where they do not apply.
+
+The term music engraving derives from the traditional process of
+music printing.  Only a few decades ago, sheet music was made by
+cutting and stamping the music into zinc or pewter plates,
+mirrored. The plate would be inked, and the depressions caused by the
+cutting and stamping would hold ink.  An image was formed by pressing
+paper to the plate. The stamping and cutting was completely done by
+hand. Making corrections was cumbersome, so engraving had to be done
+correctly in one go. As you can imagine this was a highly specialized
+skill, much more so than the traditional process of printing books.
 @cindex craftsmanship
 @cindex master
 In the traditional German craftsmanship six years of full-time
@@ -172,63 +71,62 @@ engraver.  Even today, with the use of high-speed computers and
 advanced software, music requires lots of manual fine tuning before it
 is acceptable for publication.
 
-When we wanted to write a computer program to create music typography,
-we encountered the first problem: there were no sets of musical
-symbols available: either they were not available freely, or they did
-not look well to our taste. Not let down, we decided to try font
-design ourselves. We created a font of musical symbols, relying on
-nice printouts of hand-engraved music.  The experience helped develop
-a typographical taste, and it made us appreciate subtle design
-details. Without that experience, we would not have realized the
-shortcomings of the fonts were that we admired at first.
+Sheet music is performance material, hence everything is done to aid
+the musician in letting him perform better.  Music often is far away
+from its reader---it might be on a music stand. To make it clearly
+readable, traditionally printed sheet music always uses bold symbols,
+on heavy staff lines, and is printed on large sheets of paper.  This
+``strong'' look is also present in the horizontal spacing.  To
+minimize the number of page breaks, (hand-engraved) sheet music is
+spaced very tightly. Yet, by a careful distribution of white space,
+the feeling of balance is retained, and clutters of black are avoided.
+
+We have used these observations in designing LilyPond.  The images
+below shows the flat symbol. On the left, a scan from a Henle edition,
+which was made by a computer, and in the center is the flat from a
+B@"{a}renreiter edition of the same music. The symbols have noticeable
+differences: the left image is much lighter, the staff lines are
+thinner, and the glyph has straight layout with sharp corners. We have
+designed our flat symbol after this one, among others, and have tuned
+it to harmonize with the thickness of our staff lines.
 
+@iftex
+@multitable @columnfractions  .4 .3 .3
+@item 
+@image{henle-flat-bw,4cm}
+@tab
+@image{baer-flat-bw,4cm}
+@tab
+@image{lily-flat-bw,4cm}
+@end multitable
+@end iftex
 
-@lilypond[noindent]
-#(define magfact 3.0)
-\score {  \notes { as'2 r4 }
-          \paper {
-                 raggedright = ##t
-              \translator {
-                  \ScoreContext
-                  AccidentalPlacement \override #'right-padding = #3.0
-                  StaffSymbol \override #'transparent =   ##t
-                  Clef \override #'transparent = ##t
-                  TimeSignature \override #'transparent = ##t
-                  Accidental \override #'font-magnification = #magfact
-                  Rest \override #'font-magnification = #magfact
-                  NoteHead \override #'font-magnification = #magfact
-                  Stem \override #'transparent = ##t
-                  } } }
-@end lilypond
 
-@cindex musical symbols
-@cindex font
-@cindex blackness
-@cindex balance
+@ifhtml
+@html
 
+<a href=henle-flat-bw.png>
+<img src=henle-flat-bw.png>
+</a>
 
-The figure above shows a few notable glyphs.  For example, the
-vertical stem of the flat symbol should be brushed slightly,
-i.e. becoming wider at the top. the half-notehead is not elliptic but
-slightly diamond shaped.  Fine endings, such as the one on the bottom
-of the quarter rest, should not end in sharp points, but rather in
-rounded shapes.  Taken together, the blackness of the font must be
-carefully tuned together with the thickness of lines, beams and slurs
-to give a strong yet balanced overall impression.
+<a href=baer-flat-bw.png><img width=300 src=baer-flat-bw.png></a>
 
-Producing a strong and balanced look is the real challenge of music
-engraving. It is a recurring theme with many variations.  In spacing,
-strength and balance are in layout that is `heavy' enough---without
-big gaps of space--- and without big clusters of black.  The
-distribution of space should reflect the character of the music.
+<a src=lily-flat-bw.png>
+<img src=lily-flat-bw.png>
+<a/>
+@end html
+@end ifhtml
 
-Spacing is an example of a subtlety of formatting music. The distances
-between notes should reflect the durations between notes, but adhering
-with mathematical precision to the duration will lead to a poor
-result. Shown here is an example of a motive, printed twice. It is
-printed using exact mathematical spacing, and with some
-corrections. Can you spot which fragment is which?
+@cindex musical symbols
+@cindex font
+@cindex blackness
+@cindex balance
 
+In spacing, the distribution of space should reflect the durations
+between notes.  However, adhering with mathematical precision to the
+duration will lead to a poor result. Shown here is an example of a
+motive, printed twice. It is printed using exact mathematical spacing,
+and with some corrections. Can you spot which fragment is which?
 
 @cindex optical spacing
 @lilypond[noindent]
@@ -237,6 +135,7 @@ corrections. Can you spot which fragment is which?
         = #0.6
       c'4 e''4 e'4 b'4 |
        \stemDown b'4 e''4 a'4 e''4| \stemBoth
+       \bar "||"
       \property Staff.NoteSpacing \override #'stem-spacing-correction
       = #0.0
       \property Staff.StaffSpacing \override #'stem-spacing-correction
@@ -254,7 +153,7 @@ The fragment that was printed uses only quarter notes: notes that are
 played in a constant rhythm. The spacing should reflect
 that. Unfortunately, the eye deceives us a little: the eye not only
 notices the distance between note heads, but also between consecutive
-stems. As a result, the notes of a up-stem/down-stem combination
+stems. As a result, the notes of an up-stem/down-stem combination
 should be put farther apart, and the notes of a down-up combination
 should be put closer together, all depending on the combined vertical
 positions of the notes. The first two measures are printed with this
@@ -264,17 +163,13 @@ measures form down-stem/up-stems clumps of notes.
 @node Computerized typography
 @section Computerized typography
 
-The example in the previous section is one illustration of how subtle
-music engraving can be is a subtle. Producing good engraving requires
-skill and knowledge.
-
-
-It was our challenge to see if we could put typographical knowledge
-into a computer program. Capturing that knowledge has two aspects:
-first, it has to be acquired. Then, it has to be encoded in
-data-structures and algorithms.  As the previous example shows, there
-is a lot of subtlety involved in music engraving, and unfortunately,
-only a small fraction of these tiny details are documented.
+Producing good engraving requires skill and knowledge.  It was our
+challenge to see if we could put such typographical knowledge into a
+computer program. Capturing that knowledge has two aspects: first, it
+has to be acquired. Then, it has to be encoded in data-structures and
+algorithms.  As the previous examples show, there is a lot of subtlety
+involved in music engraving, and unfortunately, only a small fraction
+of these details are documented.
 
 One reason for the time that it takes to become a master engraver, is
 that all these details must be learned either from experience or from
@@ -419,35 +314,42 @@ definition exactly the musical meaning of the score.
 
 There are also more practical concerns.  Our users have to key in the
 music into the file directly, so the input format should have a
-friendly syntax. As programmers and scientists, we want a
-clean formal definition. After all, producing music notation is a
-difficult problem, and in the scientific world, problems can only be
-solved if they are well-specified. Moreover, formally defined formats
-are easier to write programs for.
-
-These ideas shaped our music representation: it is a compact format
-that can easily be typed by hand. It complex musical constructs from
-simple entities like notes and rests, in much the same way that one
-builds complex formulas from simple expressions such as numbers and
-mathematical operators.
+friendly syntax: a quarter note C is entered as @code{c4}, the code
+@code{r8.}  signifies a dotted eighth rest.
+
+As programmers and scientists, we want a clean formal
+definition. After all, producing music notation is a difficult
+problem, and problems can only be solved if they are
+well-specified. Moreover, formally defined formats are easier to write
+programs for.  We have chosen for a format that is based on music
+expressions: complex musical constructs are built from simple entities
+like notes and rests in much the same way that complex formulas are
+built from simple expressions such as numbers and mathematical
+operators.  The language is described by a context-free
+grammar. Reading such languages robustly is a well studied problem,
+and we use a standard solution to do it.
+
+LilyPond is a batch program, so the syntax of the program is its
+user-interface.  It is the part that they see most, so it is easy to
+think that music representation is a very important or interesting
+problem. In reality, less than 10% of the source code of the program
+handles reading the input and representation, and they form the easy
+bits of the program. Converting the music to notation, and calculating
+a pretty layout is much more difficult.
 
 @node Example applications
 @section Example applications
 
-As programmers and hedonists we enjoy beauty in code, and code that
-produces beautiful typeset music, but nevertheless this program can
-applied to do useful things. In this section, we show a few small
-examples of what is possible.
-
-The simplest application is printing notes.
+We have written LilyPond as an experiment of how to condense the art
+of music engraving into a computer program. Thanks to all that hard
+work, the program can be used to perform useful tasks.  The simplest
+application is printing notes.
 
 @lilypond[relative=1]
   \time 2/4 c4 c g'4 g a4 a g2  
 @end lilypond
 
-To these notes, chord names and lyrics  may be added, yielding
-a lead sheet.
-
+By adding chord names and lyrics we obtain a lead sheet:
 @lilypond[raggedright]
 \score { <
   \context ChordNames \chords  { c2 c f2 c }
@@ -455,7 +357,8 @@ a lead sheet.
   \context Lyrics \lyrics  { twin4 kle twin kle lit tle star2 } > }
 @end lilypond
 
-The following example combines some more exotic uses of notation
+Polyphonic notation and piano music can also be printed. The following
+example combines some more exotic constructs.
 
 @lilypondfile{screech-boink.ly}
 
@@ -497,17 +400,17 @@ discusses topics grouped by notation construct.
  @end ifhtml
 @emph{@ref{Technical manual}}
 @c
-discusses the general design of the program, and how to extend 
+discusses the general design of the program, and how to extend its
 functionality.
 @item
 @ifhtml
- The chapter
+The chapter
 @end ifhtml
 @emph{@ref{Invoking LilyPond}}  explains how to run LilyPond and its helper
 programs.
 @end itemize
 
-Once you are experienced, you can simply use the manual as reference:
+Once you are an experienced user, you can use the manual as reference:
 there is an extensive index@footnote{If you are looking for something,
 and you cannot find it by using the index, that is considered a bug.
 In that case, please file a bug report.}, but the document is also
@@ -554,19 +457,19 @@ Generated internal documentation.
 available @uref{../lilypond-internals/lilypond-internals.html,here}
 @end ifhtml
 
+The generated internal documentation is a heavily crosslinked HTML
+document, produced directly from the formatting definitions used.  It
+documents the nit-gritty details of each and every LilyPond class,
+object and function.
+
 Almost all formatting functionality that is used internally, is
 available directly to the user. For example, all variables that
 control thicknesses, distances, etc, can be changed in input
-files. There are a huge number of formatting options, and it would be
-impossible to describe them all in a hand-written manual. The
-generated internal documentation is a heavily crosslinked HTML
-document, produced directly from the formatting definitions used.  It
-documents the nit-gritty details of each and every LilyPond class, object and
-function.
-
-Each section of the reference manual has a @b{See also}
-subsection, with links (in the HTML document, at least) to the
-generated documentation.
+files. There are a huge number of formatting options, and all of them
+are described in the generated documentation.  Each section of the
+reference manual has a @b{See also} subsection, which refers to the
+the generated documentation.  In the HTML document, these subsections
+have clickable links.
 
 @item
   Templates
@@ -574,10 +477,10 @@ generated documentation.
 (available @uref{../../../input/templates/out-www/collated-files.html,here})
 @end ifhtml
 
-When you have gone through the tutorial, in theory you are able to
-start writing input files. In practice, writing files from scratch
-turns out to be intimidating.  To give a headstart, we have collected
-number of often-used formats in example files.  These files can be
+After you have gone through the tutorial, in theory you should be able
+to write input files. In practice, writing files from scratch turns
+out to be intimidating.  To give a headstart, we have collected a
+number of often-used formats in example files.  These files can be
 used as a start, by copying the template, and adding notes in the
 appropriate places.
 
@@ -598,9 +501,10 @@ big HTML document, with pictures and explanatory texts included.
 available @uref{../../../input/regression/out-www/collated-files.html,here}
 @end ifhtml
 
-We strive to test each feature in one test file. This collection of is
-primarily to help us debug problems, but it can be instructive to see
-how we excercise the program. The format is like the input examples.
+We strive to test each feature in one test file. This collection is
+primarilyt there to help us debug problems, but it can be instructive
+to see how we excercise the program. The format is like the tips and
+tricks document.
 
 @end itemize
 
@@ -627,8 +531,8 @@ usually found in the directory @file{/usr/share/lilypond/}.
 @cindex index
 
 Finally, this and all other manuals, are available online both as PDF
-files for print and HTML files for browsing. They are available from
-the web site, which can be found at @uref{http://www.lilypond.org/}.
+files and HTML from the web site, which can be found at
+@uref{http://www.lilypond.org/}.
 
 @cindex website 
 @cindex URL
diff --git a/VERSION b/VERSION
index 2b2b72de3668dc0fa00139982b335e47981426fa..d40525276239c4486c5f112fd091bd408d34f05e 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,7 +1,7 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=7
-PATCH_LEVEL=25
+PATCH_LEVEL=26
 MY_PATCH_LEVEL=
 
 # Use the above to send patches: MY_PATCH_LEVEL is always empty for a
index 74aa88d78b623ed7d955b644d6bb87a401cc93fb..6935d9f606c045b4ea02fb1d64346802926fa266 100644 (file)
@@ -108,7 +108,7 @@ Score::run_translator (Music_output_def *odef)
   if (errorlevel_)
     {
       // should we? hampers debugging.
-      warning (_ ("Errors found/*, not processing score*/"));
+      warning (_ ("errors found."));
     }
 
   Music_output * output = trans->get_output ();
index 944ee8a278f08f9cebf1304cca231aaf58e2e14c..117d6330c56b016c9b63edfc8d47ef2c6bde819e 100644 (file)
@@ -245,7 +245,7 @@ def draw_meta_flat(expr xcenter, w, crook_fatness) =
 
        y10 = -1/10 staff_space;
 %      draw_staff (-2, 2, 0.5);
-%      draw_staff (-2, 2, 0.0);
+       draw_staff (-2, 2, 0.0);
 
        unfill z3r{z3r-z10} .. z4r{right} .. z5r{down}