]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/new-markup.scm (left-align-markup): bugfix.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 13 Jan 2004 14:05:52 +0000 (14:05 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 13 Jan 2004 14:05:52 +0000 (14:05 +0000)
* Documentation/user/refman.itely (Ottava brackets): more doco for
ottava.

ChangeLog
Documentation/user/introduction.itely
Documentation/user/refman.itely
lily/accidental-engraver.cc
lily/ottava-engraver.cc
scm/define-music-properties.scm
scm/define-translator-properties.scm
scm/new-markup.scm

index eade867096abeb839614b36b510100e5404dcac3..f0b08468befb5669d696c8477700f93c8bf8dae1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-01-13  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * scm/new-markup.scm (left-align-markup): bugfix. 
+
        * Documentation/user/refman.itely (Ottava brackets): more doco for
        ottava.
 
index 545ff28e7b2dae1052ca1a44123dbd1fc0256ace..483e8161a52231ce3b5667809cf581999770e3e1 100644 (file)
@@ -58,7 +58,7 @@ Each plug-in are completely modular and independent, so each can be
 developed and improved separately.  When put together, the plug-ins
 can solve the music notation program in cooperation.  People that put
 graphics to musical ideas are called copyists or engravers, so by
-analogy, each plug-in is also @code{engraver}.
+analogy, each plug-in is also called @code{engraver}.
 
 In the following example, we see how we start out with a note head
 engraver.
index f83ad9fc75aad55c0be28bdb4839ae73e045c495..02fd47bb06ba4923c5cf13b89594246c82edd2f7 100644 (file)
@@ -8184,6 +8184,7 @@ their center lines:
  c1^\markup { \line < a b c > }
 @end lilypond
 
+
 Markups can be stored in variables, and these variables
 may be attached to notes, like
 @verbatim
@@ -8195,9 +8196,18 @@ The markup mechanism is extensible.  Refer to
 @file{scm/new-markup.scm} for more information.
 
 
+Some objects have alignment procedures of their own, which cancel out
+any effects of alignments applied to their markup arguments as a
+whole.  For example, the @internalsref{RehearsalMark} is horizontally
+centered, so using @code{\mark \markup @{ \left-align .. @}} has no
+effect. Similarly, whole texts over notes cannot be moved vertically
+with @code{\raise}. For moving and aligning complete objects, grob
+properties should be used.
+
 @seealso
 
-Internals: @internalsref{Markup-functions},
+Internals: @internalsref{Markup-functions} contains a complete list of
+all markup commands.
 
 Init files:  @file{scm/new-markup.scm}.
 
@@ -8219,6 +8229,8 @@ for formatting.
 
 
 
+
+
 @node Global layout
 @section Global layout
 
index 87399e3db7999d02e12d50487c179e56993d3cc0..c03d7fb35bd1b6dea2a31360473019449ecb701b 100644 (file)
@@ -394,7 +394,7 @@ Accidental_engraver::process_acknowledged_grobs ()
 void
 Accidental_engraver::finalize ()
 {
-
+  last_keysig_ = SCM_EOL;
 }
 
 void
index 3426052280a014a8610fb4eabe5d0775f7931fa9..bd0d698f289c97d4a36221b36ebe533a9680ba08 100644 (file)
@@ -115,6 +115,7 @@ Ottava_spanner_engraver::finalize ()
   if (span_)
     finished_ = span_;
   typeset_all();
+  last_ottavation_ = SCM_EOL;
 }
 
 ENTER_DESCRIPTION(Ottava_spanner_engraver,
index d6c34c17dd94d3d9c19436b252f1131df477d28b..fde1f61f617ef512a751f88b64be4988c943e20f 100644 (file)
@@ -32,6 +32,7 @@ TODO: consider making type into symbol")
 (music-property-description 'articulation-type string? "key for script definitions alist.
 
 TODO: consider making type into symbol ")
+(music-property-description 'associated-context string? "Name of the Voice context associated with this \\newaddlyrics section")
 (music-property-description 'bass boolean? "Set if this note is a bass note in a chord")
 (music-property-description 'cautionary boolean? "If set, this alteration needs cautionary accidental")
 (music-property-description 'change-to-id string? "name of the context to change to ")
index 9157745d9449ecd6db484e99a9a46b708d6e35f1..852be930a2596dee77d51ba0e90f5c0f70350363 100644 (file)
@@ -35,6 +35,7 @@ context. Don't mess with this.")
                                 "If true allow line breaks during beams.")
 (translator-property-description 'associatedVoice string? "Name of the
 Voice that has the melody for this LyricsVoice.")
+(translator-property-description 'associatedVoiceContext ly:context? "The context object of the Voice that has the melody for this LyricsVoice.")
 (translator-property-description 'autoBeamSettings list? "Specifies
 when automatically generated beams should begin and end.  The elements
 have the format:
index bbb621cba65ead778b207ea45c24dd6bd624a8dc..f0df08216953610502b5d31cf5688827d2a8008c 100644 (file)
@@ -173,7 +173,10 @@ for the reader.
   (let* ((m (interpret-markup paper props (car rest))))
     (ly:molecule-align-to! m X RIGHT)
     m))
-
+(define-public (left-align-markup paper props . rest)
+  (let* ((m (interpret-markup paper props (car rest))))
+    (ly:molecule-align-to! m X LEFT)
+    m))
 (define-public (halign-markup paper props . rest)
   "Set horizontal alignment. Syntax: haling A MARKUP. A=-1 is LEFT,
 A=1 is right, values in between vary alignment accordingly."
@@ -181,10 +184,7 @@ A=1 is right, values in between vary alignment accordingly."
     (ly:molecule-align-to! m X (car rest))
     m))
 
-(define-public (left-align-markup paper props . rest)
-  (let* ((m (interpret-markup paper props (car rest))))
-    (ly:molecule-align-to! m X RIGHT)
-    m))
+
 
 (define-public (musicglyph-markup paper props . rest)
   (ly:find-glyph-by-name