]> git.donarmstrong.com Git - lilypond.git/commitdiff
release commit
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 2 Jan 2004 10:52:19 +0000 (10:52 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 2 Jan 2004 10:52:19 +0000 (10:52 +0000)
13 files changed:
ChangeLog
Documentation/user/lilypond-book.itely
Documentation/user/music-glossary.tely
input/mutopia/F.Schubert/morgenlied.ly
input/regression/lyric-phrasing-new.ly
input/regression/ottava.ly
lily/lyric-phrasing-engraver.cc
ly/engraver-init.ly
scm/define-grob-interfaces.scm
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/define-translator-properties.scm
scripts/convert-ly.py

index bc577d684a1fc9d53537b89f6ac747e7f789be38..e69eca0b98a1c8049a25712d2a02887d05de1e74 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-01-02  Han-Wen Nienhuys   <hanwen@cs.uu.nl>
 
+       * Documentation/user/lilypond-book.itely (Integrating LaTeX and
+       music): move note about dvips to more visible place.
+
        * lily/lyric-phrasing-engraver.cc: move from
        new-phrasing-engraver.cc, remove old cruft (syllable-group,
        lyric-phrasing-engraver.hh)
index 3508f9cacfe3779ba8b697bade7960d2469f546e..852d621f7d01b8786ed72cc43e2d96f182ce18dd 100644 (file)
@@ -135,7 +135,10 @@ or
 @end example
 
 Running lilypond-book yields a file that can be processed with
-La@TeX{}. We show some examples here:
+La@TeX{}.
+
+
+We show some examples here:
 
 @example
 \begin[26pt]@{lilypond@}
@@ -183,6 +186,33 @@ imported by adding the following to the top of the La@TeX{} file:
 The music will be surrounded by @code{\preLilyPondExample} and
 @code{\postLilyPondExample}, which are defined to be empty by default.
 
+@cindex titling and lilypond-book
+@cindex lilypond-book and titling
+@cindex @code{\header} in La@TeX{} documents
+
+To add titling from the @code{\header} section of the files, add the
+following to the top of the La@TeX{} file:
+@example
+\input titledefs.tex
+\def\preLilyPondExample@{\def\mustmakelilypondtitle@{@}@}
+@end example
+
+@cindex outline fonts
+@cindex type1 fonts
+@cindex dvips
+@cindex invoking dvips
+
+For printing the LaTeX document, you will need to use dvips. For
+producing PostScript with scalable fonts, add the following options to
+the dvips command line:
+@example
+ -Ppdf -u +lilypond.map
+@end example 
+
+@noindent
+PDF can then be produced with @code{ps2pdf}.
+
+
 @node Integrating HTML and music
 @section Integrating HTML and music
 
@@ -359,6 +389,7 @@ starting note, where the default @code{1} is central C.
 @node Invoking lilypond-book
 @section Invoking lilypond-book
 
+
 Running @command{lilypond-book} generates lots of small files that
 LilyPond will process.  To avoid all that garbage in the source
 directory, it is advisable to change to a temporary directory first:
@@ -375,33 +406,6 @@ lilypond-book --outdir=out yourfile.tex
 cd out  && latex yourfile.latex
 @end example
 
-For La@TeX{} input, the file to give to La@TeX{} has extension @file{.latex}.
-Texinfo input will be written to a file with extension @file{.texi}.
-
-@cindex titling and lilypond-book
-@cindex lilypond-book and titling
-@cindex @code{\header} in La@TeX{} documents
-
-To add titling from the @code{\header} section of the files, add the
-following to the top of the La@TeX{} file:
-@example
-\input titledefs.tex
-\def\preLilyPondExample@{\def\mustmakelilypondtitle@{@}@}
-@end example
-
-@cindex outline fonts
-@cindex type1 fonts
-@cindex dvips
-@cindex invoking dvips
-
-For printing the LaTeX  document, you will need  to use dvips. For
-producing PS  with scalable fonts, add the following options to the dvips
-command line:
-@example
- -Ppdf -u +lilypond.map
-@end example 
-
-
 
 @command{lilypond-book} accepts the following command line options:
 
@@ -456,6 +460,11 @@ Print a short help message.
 @end table
 
 
+For La@TeX{} input, the file to give to La@TeX{} has extension
+@file{.latex}.  Texinfo input will be written to a file with extension
+@file{.texi}.
+
+
 
 @section Bugs
 
index cd7afdc3232a7bd66341f0115b7a639b2dd81007..4b2f2b0d1ea8f2995f31412d9314ccef06e3b03d 100644 (file)
@@ -187,7 +187,7 @@ accidental.
   gis1 s s gisis s s ges s s geses s s g!
 }
 \context Lyrics \lyrics {
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \set #'self-alignment-X = #-1
   "sharp  " "db. sharp  " "flat  " "db. flat  " natural
 }
 @end lilypond
@@ -686,7 +686,7 @@ lines.
   \clef baritone c s s
 }
 \context Lyrics \lyrics {
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \override #'self-alignment-X = #-1
   "Soprano  " "Mezzosoprano  " "Alto  " "Tenor  " Baritone
 }
 @end lilypond
@@ -785,7 +785,7 @@ chords are denoted open chords
   <g b d f a> s s
 }
 \context Lyrics \lyrics{
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \set #'self-alignment-X = #-1
   "major  " "minor  " "diminished  " "augmented  "
   "seventh-chord  " "ninth-chord  "
 }
@@ -1668,7 +1668,7 @@ but equal pitch.
   gis1 s s as s s <des g,!> s s <cis g!> s s
 }
 \context Lyrics \lyrics {
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \set #'self-alignment-X = #-1
   "g sharp  " "a flat  " "dim fifth  " "augm fourth"
 }
 @end lilypond
@@ -1749,7 +1749,7 @@ symbol indicates playing an octave lower (for example on double bass
   f1
 }
 \context Lyrics \lyrics {
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \set #'self-alignment-X = #-1
   "baritone  "
   "bass  "
   "sub-bass  "
@@ -1963,7 +1963,7 @@ scores are notated like that).
   g s s
 }
 \context Lyrics \lyrics {
-  \property Lyrics . LyricText \override #'alignment = #-1
+  \property Lyrics . LyricText \set #'self-alignment-X = #-1
   "french violin clef  "
   "violin clef  "
   "octaved up  "
index 94717a81b191831fba162416c88f35854303ae2d..96d4eafe67d2a703a105a44c63359cdbec440a7d 100644 (file)
@@ -156,11 +156,5 @@ pianoLH = \notes \relative c'' \repeat volta 2 {
        \translator {  \PianoStaffContext
                VerticalAlignment \override #'forced-distance = #10
                }
-       \translator {
-            \ScoreContext
-            \remove "Lyric_phrasing_engraver"
-            \consists "New_phrasing_engraver"
-        }
-
 }
 }
index af1e074ffd78213d9706e69dc9344db6b469427d..7e3886f835a192cf61266904cba41aa8a2dd78fb 100644 (file)
@@ -27,11 +27,6 @@ texidoc = "Lyric phrasing:
 
 \paper { raggedright = ##t
 
-        \translator {
-            \ScoreContext
-            \remove "Lyric_phrasing_engraver"
-            \consists "New_phrasing_engraver"
-        }
         \translator {
             \VoiceContext
 
index a49a4c1247dfef3b77ae98eada47d7852f3370b0..fd028918df1f04cea7989406ba78baa0ea7afed1 100644 (file)
@@ -21,6 +21,9 @@ use of the scheme function @code{set-octavation}.
   a, #(set-octavation 1) b
   #(set-octavation 0)
   c a 
+  #(set-octavation -1) b a g 
+  #(set-octavation 0)
+  c 
 }
 }
 
index c813a5a91d7bc909cd95065e33a877053805cd94..63697ebcb81cccce2dd329b6f252aabf26e6664b 100644 (file)
@@ -28,7 +28,6 @@ struct Phrasing_association
   {
     melisma_ = false;
   }
-  
 };
 
 class Lyric_phrasing_engraver : public Engraver
@@ -206,6 +205,6 @@ ENTER_DESCRIPTION(Lyric_phrasing_engraver,
                  "",
                  "",
                  "lyric-syllable-interface note-head-interface lyric-extender-interface",
-                 "automaticPhrasing associatedVoice",
+                 "associatedVoice",
                  "");
 
index 43db20f3bd3a9c7d76023a7e3e4da6de3a82f60e..4fca0d7521b9c546cee8be7b8be6448139a511a4 100644 (file)
@@ -449,9 +449,6 @@ AncientRemoveEmptyStaffContext = \translator {
        clefPosition = #-2
        centralCPosition = #-6
        
-        automaticPhrasing = ##t
-       phrasingPunctuation = #".,:!?\""
-       
        defaultBarType = #"|"
        barNumberVisibility = #default-bar-number-visibility
        automaticBars = ##t
@@ -562,7 +559,7 @@ AncientRemoveEmptyStaffContext = \translator {
        \grobdescriptions #all-grob-descriptions
 }
 
-\translator {
+OrchestralScoreContext = \translator {
        \ScoreContext
 }
 
index 0f116b84f1074bc1c59f5d2bf5a6a0d89b1dcd26..08c99b85c79d0ae724c778dcbc7e63da657407b2 100644 (file)
@@ -8,11 +8,6 @@
 
 ; should include default value?
 
-(ly:add-interface
-'note-name-interface
- "Note name"
- '(style))
-
 
 (ly:add-interface
  'cluster-beacon-interface
@@ -47,11 +42,15 @@ extents of a cluster spanner at this X position.
  "A bracket indicating a ligature in the original edition"
  '(width thickness height ligature-primitive-callback))
 
+(ly:add-interface
+ 'lyric-syllable-interface
+ "a single piece of lyrics"
+ '())
+
 (ly:add-interface
  'mark-interface
  "a rehearsal mark"
- '(
-   ))
+ '())
 
 (ly:add-interface
  'metronome-mark-interface
@@ -59,6 +58,11 @@ extents of a cluster spanner at this X position.
  '(
    ))
 
+(ly:add-interface
+'note-name-interface
+ "Note name"
+ '(style))
+
 (ly:add-interface
  'rhythmic-grob-interface
  "Any object with a rhythmic basis. Used to determine which grobs 
index 3303f0014c934e377da6ab79a9b3d92128ded4ad..2ee3ec233a65d3ffdef72b76d9e620eb648f30e5 100644 (file)
@@ -465,10 +465,6 @@ containing (TRANSPARENT . EMPTY).
 (grob-property-description 'when ly:moment? "when does this column happen?.")
 (grob-property-description 'word-space ly:dimension? "elongate left (?) by this much (FIXME: cumbersome semantics).")
 
-(grob-property-description 'alignment number? "alignment of lyrics on notehead, -1 is LEFT, 0 is CENTRE, 1 is RIGHT .")
-(grob-property-description 'ignore-length-mismatch boolean? "if #t, stanzas with shorter lyrics can be moved away from their respective note-head by the lyric alignment code.")
-(grob-property-description 'begin-alignment number? "proportion of lyric length from beginning to align with note-head for left-aligned lyrics.")
-(grob-property-description 'end-alignment number? "proportion of lyric length from end to align with note-head for right-aligned lyrics.")
 (grob-property-description 'width ly:dimension? "width of a grob measured in staff space.")
 (grob-property-description 'width-correct ly:dimension? "width correction for (de)cresc. text spanners.")
 (grob-property-description 'x-gap ly:dimension? "horizontal gap between notehead and tie.")
index b3cfa72bb7111101167ee4fc88e418348c5294c9..3cf74b20b16691c0bc7091680aa8e8da1aacdeee 100644 (file)
        (X-offset-callbacks . (,Self_alignment_interface::aligned_on_parent))
        (self-alignment-X . 0)
        (word-space . 0.6)
-       (ignore-length-mismatch . #f)
-       (begin-alignment . 4)
-       (end-alignment . 2)
        (font-family . roman)
        (font-shape . upright)
        
        (padding . 1.5)
        (X-offset-callbacks . (,Side_position_interface::aligned_side))
        (direction . ,LEFT) 
-       (meta . ((interfaces . (text-interface font-interface item-interface ))))               
+       (meta . ((interfaces . (side-position-interface text-interface font-interface item-interface ))))               
        ))
 
     (StaffSpacing
index fa2ebec41bfbbb298e62e9288ea48c1212c12a09..fdd449715ccaa5f7b44f18ca428e413a6a988371 100644 (file)
@@ -105,13 +105,6 @@ wins. In case of draw, a normal accidental is typeset.
     still counted.  Bar generation will resume according to that
     count if this property is set to zero.
 ")
-(translator-property-description 'automaticPhrasing boolean? " If set,
-the @ref{Lyric_phrasing_engraver} will match note heads of context
-called Voice X to syllables from LyricsVoice called
-X-<something>. This feature is turned on by default. See the example
-file @file{lyrics-multi-stanza.ly}.
-")
-
 
 (translator-property-description 'barAlways boolean? "If set to true a bar line is drawn after each note.
 ")
@@ -350,9 +343,6 @@ that indicates how to print sustain pedals: text, bracket or mixed
 (translator-property-description 'pedalUnaCordaStyle symbol? "see pedalSustainStyle.")
 (translator-property-description 'pedalSostenutoStyle symbol? "see pedalSustainStyle.")
 
-(translator-property-description 'phrasingPunctuation string?
-                                "A string of characters that are considered
-lyric punctuation")
 (translator-property-description 'rehearsalMark number-or-string? "The
 last rehearsal mark printed.")
 (translator-property-description 'repeatCommands list? "This property is read to find any command of the form (volta . X), where X is a string or #f")
index 758314b0de9d5113ac12fa4938217b52b9d1adb9..2c6d519f1cdc34cdc0338d2ffae09b87983fe665 100644 (file)
@@ -1631,8 +1631,11 @@ def conv (str):
                c = match.group (1)
                b = match.group (2)
                
-               if b == 't' and c <> 'Score':
-                       return r"\unset \property %s.melismaBusyProperties"  % c
+               if b == 't':
+                       if c == 'Score':
+                               return ''
+                       else:
+                               return r"\unset \property %s.melismaBusyProperties"  % c
                elif b == 'f':
                        return r"\property %s.melismaBusyProperties = #'(melismaBusy)"  % c