]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/parser.yy (relative_music): start at middle C without pitch
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 13 Jun 2004 15:05:00 +0000 (15:05 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 13 Jun 2004 15:05:00 +0000 (15:05 +0000)
argument.

* Documentation/user/changing-defaults.itely (Page layout): new node.
(Paper size): rename node
(Page breaking): new node.
(Titling): move from invoking.
(File structure): new node.

* lily/parser.yy (score_body): allow \header and music anywhere in
\score body.

ChangeLog
Documentation/user/changing-defaults.itely
Documentation/user/dedication.itely
Documentation/user/invoking.itexi
Documentation/user/lilypond-book.itely
Documentation/user/notation.itely
Documentation/user/tutorial.itely
input/test/page-breaks.ly
lily/parser.yy
scm/output-gnome.scm

index beb6a55059c2aad8e92d5bd159b6d59b7580804f..1dccd69fecf70da991f2966d926a5444af067591 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-06-13  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * lily/parser.yy (relative_music): start at middle C without pitch
+       argument.
+
        * Documentation/user/changing-defaults.itely (Page layout): new node.
        (Paper size): rename node
        (Page breaking): new node.
index 49941b8972af9341b1da983088b0d39730fe35ec..0983403d654b14f5f3129714defe6dd0d32ba3a4 100644 (file)
@@ -44,8 +44,8 @@ entering numbers, lists, strings and symbols in Scheme.
 
 
 @menu
-* Scheme tutorial::
-* File structure::
+* Scheme tutorial::             
+* File structure::              
 * Interpretation contexts::     
 * Tuning output::               
 * Fonts::                       
@@ -231,7 +231,7 @@ respectively,
 @node File structure
 @section File structure
 
-The following items may be present in a file at toplevel
+The following items may be present in a @file{.ly} file at toplevel
 
 @itemize @bullet
 @item An output definition, such as @code{\bookpaper}, @code{\midi}
@@ -276,7 +276,7 @@ defined in the init file @file{scm/lily.scm}.
 
 The following example shows three things which may be entered at
 toplevel
-@example
+@verbatim
    \paper  {
      % movements are non-justified by default    
      raggedright = ##t
@@ -287,7 +287,7 @@ toplevel
    }
    
    { c'4 d' e2 }
-@end example
+@end verbatim
 
 
 At any point in a file, any of the following lexical instructions can
@@ -298,7 +298,7 @@ be entered:
 @item @code{\include}
 @item @code{\encoding}
 @item @code{\renameinput}
-@item 
+@end itemize 
 
 
  
@@ -2087,7 +2087,7 @@ The header block for a book supports the following
 
 This is a demonstration of the fields available, 
 
-@lilypond
+@lilypond[verbatim]
 \book {
   \header {
     title = "Title"
@@ -2101,10 +2101,18 @@ This is a demonstration of the fields available,
     instrument = "Instrument"
     piece = "Piece"
   }
+
   \score {
     \header {
-      piece = "piece"
-      opus = "opus" 
+      piece = "piece1"
+      opus = "opus1" 
+    }
+    { c'1 }
+  }
+  \score {
+    \header {
+      piece = "piece2"
+      opus = "opus2" 
     }
     { c'1 }
   }
@@ -2201,7 +2209,7 @@ The default layout responds to the following settings in the
  Distance between top-most music system and the page header
 @item foot-sep
  Distance between bottom-most music system and the page footer
-@end itemize
+@end table
 
 The default page header puts the page number and the @code{instrument}
 field from the @code{\header} block on a line.
@@ -2211,7 +2219,7 @@ field from the @code{\header} block on a line.
 
 The default footer is empty, except for the first page, where it the
 @code{copyright} field from @code{\header} is inserted, and the last
-page, where  @code{tagline} from  @code{\header} is added (the default
+page, where @code{tagline} from @code{\header} is added. The default
 tagline is ``Engraved by LilyPond (@var{version})''.
 
 The header and footer are created by the functions @code{make-footer}
@@ -2226,7 +2234,7 @@ page, the latter creates the actual page given the system to put on it.
 
 @seealso
 
-Examples: TODO
+Examples: @inputfileref{input/test/,page-breaks.ly}
 
 
 
index b1b69a57c918d6ab7892f057bc5aa93bb2ff7630..cc5b1fc081a51db2fe56175e974663628c1ac38c 100644 (file)
@@ -1,6 +1,6 @@
 
-@quotation 
-We would like to dedicate this program to all the friends that we
+@quotation
+We want to dedicate this program to all the friends that we
 met through music.
 
 Han-Wen and Jan
index dcdcdfe74c133f42835d26f604c12822517c80e3..deaf79c535c2c546f4554d234e17a40538ba92b5 100644 (file)
@@ -213,16 +213,12 @@ information.
 @c
 Output format for sheet music. Choices are @code{tex} (for @TeX{}
 output, to be processed with La@TeX{}, or through @code{lilypond}),
-@code{pdftex} for PDF@TeX{} input, @code{ps} (for PostScript),
-@code{scm} (for a Scheme dump), @code{sk} (for Sketch).
+and @code{ps} for PostScript.
 
-@strong{This option is only for developers}. Only the @TeX{} output of
-these is usable for real work.
+Other output options are intended for developers.
 
 
 @cindex output format, setting
-@cindex Sketch output
-@cindex PDFTeX output
 @cindex PostScript output
 @cindex Scheme dump
 
index 42a7263c604321a45763356f0f22eb5fc3b20880..3d458eb7f18ff18bad0c6686d6d82e4602bc312c 100644 (file)
@@ -165,16 +165,8 @@ and the
 are also interpreted.
 
 @cindex titling and lilypond-book
-@cindex lilypond-book and titling
 @cindex @code{\header} in La@TeX{} documents
 
-The titling from the @code{\header} section of the fragments can be
-imported by adding the following to the top of the La@TeX{} file:
-
-@example
-\input titledefs.tex
-\def\preLilyPondExample@{\def\mustmakelilypondtitle@{@}@}
-@end example
 
 The music will be surrounded by @code{\preLilyPondExample} and
 @code{\postLilyPondExample}, which are defined to be empty by default.
index bae708cb0e188201bc772142c02cdab62f7164a3..9eb9549780167b4285dc1d88a653ededb006d20f 100644 (file)
@@ -3305,9 +3305,42 @@ The associated object is @internalsref{VoiceFollower}.
 @node Vocal music
 @section Vocal music
 
-This section discusses how to enter and print lyrics.
+
+The easiest way to add lyrics to a melody, is by appending
+
+
+@cindex \newlyrics
+@example
+  \newlyrics @{ @var{the lyrics} @} 
+@end example
+
+to a melody. Here is an example,
+
+@lilypond[raggedright]
+  \relative { \time 3/4 c2 e4 g2. }
+  \newlyrics { play the game } 
+@end lilypond
+
+More stanzas can be added by adding more
+@code{\newlyrics} sections 
+
+@lilypond[raggedright]
+  \relative { \time 3/4 c2 e4 g2. }
+  \newlyrics { play the game } 
+  \newlyrics { speel het spel } 
+  \newlyrics { joue le jeu } 
+@end lilypond
+
+The @code{\newlyrics} keyword has three functions: it interprets the
+following words as texts instead of notes, it sets up a context for
+printing texts (the @code{Lyrics} context), and it couples the melody
+with the lyrics, so that the durations of both are aligned.
+
+These three functions can be controlled separately, and that is what
+the following sections are about.
 
 @menu
+* Easy lyrics entry
 * Entering lyrics::             
 * The Lyrics context::          
 * More stanzas::                
@@ -3323,9 +3356,9 @@ This section discusses how to enter and print lyrics.
 @cindex punctuation
 
 Lyrics are entered in a special input mode. This mode is is introduced
-by the keyword @code{\lyrics}.  In this mode you can enter lyrics, with
-punctuation and accents without any hassle.  Syllables are entered like
-notes, but with pitches replaced by text.  For example,
+by the keyword @code{\lyrics}.  In this mode you can enter lyrics,
+with punctuation and accents without any hassle.  Syllables are
+entered like notes, but with pitches replaced by text.  For example,
 @example
   \lyrics @{ Twin-4 kle4 twin- kle litt- le star2 @}
 @end example
@@ -3360,16 +3393,18 @@ property commands
 Any @code{_} character which appears in an unquoted word is converted
 to a space.  This provides a mechanism for introducing spaces into words
 without using quotes.  Quoted words can also be used in Lyrics mode to
-specify words that cannot be written with the above rules
+specify words that cannot be written with the above rules. The
+following example incorporates double quotes
 
 @example
   \lyrics @{ He said: "\"Let" my peo ple "go\"" @}
 @end example
-However, at least for english texts, you should use 
+
+This example is slightly academic, since it gives better looking
+results to use matched single quotes, @code{``} and @code{''}
 @example
   \lyrics @{ He said: ``Let my peo ple go'' @}
 @end example
-to get the correct shape of the starting and ending quote.
 
 @cindex hyphens
 
index 45c0f78ab0330466c6b39a6470e8109c2276f4bc..c0ce0f26a33811d8a4a0c091e8b2bf602b60b18a 100644 (file)
@@ -53,7 +53,7 @@ reference.
 * Printing lyrics::             
 * A lead sheet::                
 * Listening to output::         
-* Titling::                     
+* Adding titles::               
 * Single staff polyphony::      
 * Piano staves::                
 * Organizing larger pieces::    
@@ -562,7 +562,7 @@ one.  For example, @samp{c f} goes up while @samp{c g} goes down
 
 @lilypond[quote,notime,fragment,verbatim]
 \relative {
-  c'' f c g c
+  c' f c g c
 }
 @end lilypond
 
@@ -1213,8 +1213,8 @@ added
 @cindex paper block
 
 
-@node Titling
-@section Titling
+@node Adding titles
+@section Adding titles
 
 Bibliographic information is entered in a separate block, the
 @code{\header} block.  The name of the piece, its composer, etc., are
index 86668c7118df4f434db7a37a132e765fc6c9d434..aed5b3ad9d6baf73aa3ce28f5db29f7621045362 100644 (file)
@@ -1,7 +1,11 @@
 \version "2.2.0"
 
 \header {
-    texidoc = "Stress optimal page breaking.  This should look nice on 4 a6 pages."
+
+texidoc = "Stress optimal page breaking.  This should look
+    nice on 4 a6 pages. "
+
+    
     copyright = "Copyright by /me"
     
     title = "Title"
index 3907d8b3ea1a2845ba0291ab4fd4ff4aa8289bf0..1c2712250f22af04678e7af9bd62604e53e9bd55 100644 (file)
@@ -1171,8 +1171,8 @@ relative_music:
        }
        | RELATIVE Composite_music {
                Music *m = $2;
-               /* FIXME: why is octave==0 and default not middleC? */
-               Pitch middle_c (-1, 0, 0);
+
+               Pitch middle_c (0, 0, 0);
                $$ = make_music_relative (middle_c, m);
                scm_gc_unprotect_object (m->self_scm ());
        }
index 561726558b450addae120a95b422084207a1987d..969ee73bf1283a555252ee028d3a023b03e48af8 100644 (file)
@@ -69,6 +69,14 @@ export LD_LIBRARY_PATH=$HOME/usr/pkg/g-wrap/lib:$HOME/usr/pkg/guile-gnome/lib
 
 set -ex
 
+if  [ -d $HOME/usr/pkg/libffi/ ] ; then
+ export LDFLAGS=-L$HOME/usr/pkg/libffi/lib/
+ export CPPFLAGS=-I$HOME/usr/pkg/libffi/include
+fi 
+
+export AUTOMAKE=automake-1.8
+export AUTOCONF=autoconf2.50 
+
 rm -rf test
 mkdir test
 cd test
@@ -92,7 +100,7 @@ tla get janneke@gnu.org--2004-gnome/g-wrap--janneke g-wrap
 cd g-wrap
 
 rm -rf $HOME/usr/pkg/g-wrap
-AUTOMAKE=automake-1.8 AUTOCONF=autoconf2.50 sh autogen.sh --noconfigure
+sh autogen.sh --noconfigure
 mkdir =build
 cd =build
 ../configure --prefix=$HOME/usr/pkg/g-wrap
@@ -123,7 +131,7 @@ tla get guile-gnome-devel@gnu.org--2004/libgnomecanvas--dev libgnomecanvas
 ## tla get janneke@gnu.org--2004-gnome/defs--janneke defs
 
 rm -rf $HOME/usr/pkg/guile-gnome
-AUTOMAKE=automake-1.8 AUTOCONF=autoconf2.50 sh autogen.sh --noconfigure
+sh autogen.sh --noconfigure
 mkdir ../=build
 cd ../=build
 
@@ -133,6 +141,10 @@ export PKG_CONFIG_PATH=$HOME/usr/pkg/g-wrap/lib/pkgconfig:$PKG_CONFIG_PATH
 
 ../src/configure --prefix=$HOME/usr/pkg/guile-gnome
 
+
+# requires 800mb RAM with -O2
+(cd libgnomecanvas/gnome/gw; perl  -i~  -pe 's/-O2//g' Makefile)
+    
 G_WRAP_MODULE_DIR=$HOME/usr/pkg/g-wrap/share/guile/site make install
 
 export GUILE_LOAD_PATH=$HOME/usr/pkg/guile-gnome/share/guile:$GUILE_LOAD_PATH