]> git.donarmstrong.com Git - lilypond.git/commitdiff
* make/lilypond.redhat.spec.in (Group): add/delete music-glossary too.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 27 Feb 2004 01:07:14 +0000 (01:07 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 27 Feb 2004 01:07:14 +0000 (01:07 +0000)
* ly/engraver-init.ly: move \grobdescriptions to Global. This
fixes problems with system defaults being reverted with \override
on Score level.

* lily/global-context.cc (Global_context): apply property-ops to
Global_context too.

ChangeLog
Documentation/user/refman.itely
Documentation/user/tutorial.itely
lily/global-context.cc
ly/engraver-init.ly
make/lilypond.redhat.spec.in

index 80e2795582860f43533663713f93fe1860e69390..d5922f7d99a170ad6ce0c582182e3b9e4e7b4760 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2004-02-27  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * make/lilypond.redhat.spec.in (Group): add/delete music-glossary too. 
+
+       * ly/engraver-init.ly: move \grobdescriptions to Global. This
+       fixes problems with system defaults being reverted with \override
+       on Score level.
+
+       * lily/global-context.cc (Global_context): apply property-ops to
+       Global_context too. 
+
 2004-02-27  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * scm/output-ps.scm (stencil->string): Rewrite.
index f1c7160a5c5278bb91797dd9c2723f40cad1526f..1e9cfc7f9ff94811230122594aa45647a0b3025e 100644 (file)
@@ -4529,7 +4529,7 @@ those will be ignored.
 
 In orchestral scores, staff lines that only have rests are usually
 removed.  This saves some space. This style is called `French Score'.
-For @internalsref{Lyrics}, @internalsref{Lyrics},
+For @internalsref{Lyrics}, 
 @internalsref{ChordNames} and @internalsref{FiguredBass}, this is
 switched on by default.  When these line of these contexts turn out
 empty after the line-breaking process, they are removed.
index 691ef6e583bfdb3bf5a6d73f9337eed4a1b77674..7bcc00e54c310270f1425d4cb99025e209b53753 100644 (file)
@@ -205,20 +205,9 @@ to @rglos{lyrics}) follows:
   f4 e d c2 r4
 @}
 @end example
-Now the piece of music is almost ready to be printed.  The final step is to
-combine the music with a printing command.
-
-The printing command is the so-called @code{\paper} block:
-
-@example
-\paper @{ @} 
-@end example
-
-The @code{\paper} block is used to customize printing specifics. The
-customization commands go between @code{@{} and @code{@}}, but for
-now, we will accept the defaults.  The music and the @code{\paper} block
-are combined by enclosing them in @code{\score @{ ... @}}, so the
-following is a complete and valid input file:
+Now the piece of music is almost ready to be printed.  Enclosing the
+music in a @code{\score} processes them to printed output,
+so the following is a complete and valid input file:
 
 @example
 \score @{
@@ -228,7 +217,6 @@ following is a complete and valid input file:
     c2 e4 g2.
     f4 e d c2 r4
   @}
-  \paper @{ @}
 @}
 @end example
 
@@ -246,9 +234,9 @@ following is a complete and valid input file:
 }
 @end lilypond
 
-In the rest of the tutorial we will often leave out @code{\score}
-and @code{\paper} for clarity. However, both must be present when
-feeding the file to LilyPond.
+In many examples in this manual, @code{\score} is left out for
+clarity. However, it must be present when feeding the file to
+LilyPond.
 
 For more elaborate information on
 
@@ -487,7 +475,6 @@ This example shows the key signature, accidentals and ties in action:
     fis4 fis8 fis8 eis4  a8 gis~
     gis2 r2
   @}
-  \paper @{ @}
 @}
 @end example
 
@@ -761,7 +748,6 @@ We can now typeset a melody with two staves:
        f4 e d c2.
     }
   >>
-  \paper {} 
 }
 @end lilypond
 @end quotation
@@ -1094,7 +1080,6 @@ The final result is
    }
    \lyricsto "" \new Lyrics \lyrics { I want to break free }
  >>
- \paper{ }
 }
 @end lilypond
 
@@ -1116,7 +1101,6 @@ line}. It is entered as two underscores, i.e.
      \times 2/3 { f g g } \times 2/3 { g4( a2) } }
    \lyricsto "" \new Lyrics \lyrics { I want to break free __ }
    >>
- \paper{ }
 }
 @end lilypond
 
@@ -1190,7 +1174,6 @@ a lead sheet, for example,
     \notes @emph{the melody}
     \lyricsto "" \new Lyrics \lyrics @{ @emph{the text} @}
   >>
-  \paper @{ @}
 @}
 @end example
 @lilypond[]
@@ -1225,13 +1208,11 @@ It is great for checking the music: octaves that are off or
 accidentals that were mistyped stand out very much when listening to
 the musical transcription.
 
-@code{\midi} can be used in similarly to @code{\paper @{ @}}, for
-example,
+The @code{\midi} block is added to @code{\score}, for example,
 @example 
 \score @{
     @var{..music..}
     \midi  @{ \tempo 4=72 @}
-    \paper  @{ @}
 @}
 @end example 
 
@@ -1240,7 +1221,19 @@ case the tempo of quarter notes is set to 72 beats per minute. More
 information on auditory output is in the @ref{Sound} section in the
 notation manual.
 
+If there is a @code{\midi} command in a @code{\score}, then only MIDI
+will be produced. If notation is needed too, then a @code{\paper}
+block must be added too:
+
+@example 
+\score @{
+    @var{..music..}
+    \midi  @{ \tempo 4=72 @}
+    \paper @{ @}
+@}
+@end example 
 
+@cindex paper block
 
 @node Titling
 @section Titling
index 154aca011de291e4fc6e0ac3f00e986954214803..3ecf6110e3ab0ab48f7c3ce23c45cf6aef401ce7 100644 (file)
@@ -20,9 +20,9 @@
 Global_context::Global_context (Music_output_def*o)
 {
   output_def_ = o;
-  accepts_list_ = scm_list_n (ly_symbol2scm ("Score"),
-                             SCM_UNDEFINED);
   definition_ = o->find_context_def (ly_symbol2scm ("Global"));
+  unsmob_context_def (definition_)->apply_default_property_operations (this);
+  
 }
 
 Music_output_def* 
index 8f6de86a97e20982b02b4dfbb6f29f07cee991f0..8fe1b2a63aaa0d5ab154ec262ef3fcf8afb2c231 100644 (file)
@@ -4,8 +4,10 @@
     \name Global
 
     \accepts Score
-\description "Hard coded entry point for LilyPond. Cannot be tuned."
-    }
+    \description "Hard coded entry point for LilyPond. Cannot be tuned."
+    \grobdescriptions #all-grob-descriptions    
+
+}
 
 %
 % setup for Request->Element conversion. Guru-only
@@ -559,7 +561,6 @@ AncientRemoveEmptyStaffContext = \translator {
        (Voice Slur direction -1)
     )
     
-    \grobdescriptions #all-grob-descriptions
 }
 
 OrchestralScoreContext = \translator {
index 88421d3fd1a9ee9808f71653490ccf088d5d88b4..f9ec0d9d7ea658938c03353303f678d236f7e3a0 100644 (file)
@@ -54,7 +54,7 @@ make -C Documentation
 
 # make  html
 make web
-make -C Documentation/user omf
+make -C Documentation/user local_package_docdir=%{docdir} omf
 
 %install
 
@@ -89,6 +89,7 @@ rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan
 
 %if %{info}
 /sbin/install-info %{_infodir}/lilypond.info.gz %{_infodir}/dir 
+/sbin/install-info %{_infodir}/music-glossary.info.gz %{_infodir}/dir 
 %endif
 
 # chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
@@ -101,6 +102,7 @@ echo 'Please logout first before using LilyPond.'
 %if %{info}
 if [ $1 = 0 ]; then
     /sbin/install-info --delete %{_infodir}/lilypond.info.gz %{_infodir}/dir 
+    /sbin/install-info --delete %{_infodir}/music-glossary.info.gz %{_infodir}/dir 
 fi
 %endif