]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/parser.yy (markup): in markups, { .. } without command
authorNicolas Sceaux <nicolas.sceaux@free.fr>
Tue, 30 Nov 2004 20:59:58 +0000 (20:59 +0000)
committerNicolas Sceaux <nicolas.sceaux@free.fr>
Tue, 30 Nov 2004 20:59:58 +0000 (20:59 +0000)
before are also flattened, ie \line must be explicitely used.

* Documentation/user/changing-defaults.itely:
* Documentation/user/notation.itely:
* input/wilhelmus.ly:
* input/regression/instrument-name-markup.ly:
* input/regression/markup-score.ly:
* input/regression/new-markup-scheme.ly:
* input/regression/new-markup-syntax.ly:
* input/test/coriolan-margin.ly: use \line in markups where
appropriate

ChangeLog
Documentation/topdocs/NEWS.texi
Documentation/user/changing-defaults.itely
Documentation/user/notation.itely
input/regression/instrument-name-markup.ly
input/regression/markup-score.ly
input/regression/new-markup-scheme.ly
input/regression/new-markup-syntax.ly
input/test/coriolan-margin.ly
input/wilhelmus.ly
lily/parser.yy

index 6b14efbfcc0a6bdb3c312827367c84c319dcd02b..b95b2dc5c735bd0e264461bc861d08fe59aad2c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2004-11-30  Nicolas Sceaux  <nicolas.sceaux@free.fr>
+
+       * lily/parser.yy (markup): in markups, { .. } without command
+       before are also flattened, ie \line must be explicitely used.
+
+       * Documentation/user/changing-defaults.itely:
+       * Documentation/user/notation.itely: 
+       * input/wilhelmus.ly: 
+       * input/regression/instrument-name-markup.ly: 
+       * input/regression/markup-score.ly: 
+       * input/regression/new-markup-scheme.ly: 
+       * input/regression/new-markup-syntax.ly: 
+       * input/test/coriolan-margin.ly: use \line in markups where
+       appropriate
+       
 2004-11-28  Nicolas Sceaux  <nicolas.sceaux@free.fr>
 
        * scm/new-markup.scm (map-markup-command-list): helper function
index 68edfa400a5df90b3c896b6ceba9bedf33741a9e..e39acda0764ab4578004c0a6efce42d651b1c3af 100644 (file)
@@ -12,7 +12,10 @@ In markups, expressions stacked with @code{\column},
 @code{\center-align}, etc, are not grouped with @code{< ... >} anymore,
 but with @code{@{ ... @}}, eg:
 @example
-\markup \column @{ @{ first line @} @{ second line @} @}
+\markup \column @{
+  \line @{ first line @}
+  \line @{ second line @}
+@}
 @end example
 
 @item
index 54afeed982877fc1ecd6d9c33cdc8d206454105d..e4c9e5a55c1ef181de8111e90fe58b1f3da0635c 100644 (file)
@@ -1459,14 +1459,12 @@ For clarity, you can also do this for single arguments, e.g.,
 
 
 In markup mode you can compose expressions, similar to mathematical
-expressions, XML documents, and music expressions.  The braces group
-notes into horizontal lines.  Other types of lists also exist: you can
-stack expressions grouped vertically with
-the command @code{\column}.  Similarly, @code{\center-align} aligns
-texts by their center lines:
+expressions, XML documents, and music expressions. You can stack
+expressions grouped vertically with the command @code{\column}.
+Similarly, @code{\center-align} aligns texts by their center lines:
 
 @lilypond[quote,verbatim,fragment,relative=1]
-c1^\markup { \column { a bbbb c } }
+c1^\markup { \column { a bbbb \line { c d } } }
 c1^\markup { \center-align { a bbbb c } }
 c1^\markup { \line { a b c } }
 @end lilypond
@@ -2212,10 +2210,10 @@ composer flush right on a single line.
 @verbatim
 \paper {
   bookTitleMarkup = \markup {
-   \fill-line <
+   \fill-line @{
      \fromproperty #'header:title
      \fromproperty #'header:composer
-   >
+   @}
   }
 }
 @end verbatim
index cfe02440596cb014c6f9d4e54b19c0f90cf63d29..d08c1e674867817588adfbaecd635658bb101050 100644 (file)
@@ -5176,7 +5176,7 @@ names, for example
 @lilypond[quote,fragment,verbatim,raggedright]
 \set Staff.instrument = \markup {
   \column { "Clarinetti"
-            { "in B" \smaller \flat } } }
+            \line { "in B" \smaller \flat } } }
 c''1
 @end lilypond
 
@@ -5946,21 +5946,21 @@ select ancient accidentals.   Supported styles are
   s^\markup {
     \column {
       "vaticana"
-      { " " \musicglyph #"accidentals-vaticana-1"
-      " " \musicglyph #"accidentals-vaticana0" }
+      \line { " " \musicglyph #"accidentals-vaticana-1"
+        " " \musicglyph #"accidentals-vaticana0" }
     }
     \column {
       "medicaea"
-      { " " \musicglyph #"accidentals-medicaea-1" }
+      \line { " " \musicglyph #"accidentals-medicaea-1" }
     }
     \column {
       "hufnagel"
-      { " " \musicglyph #"accidentals-hufnagel-1" }
+      \line { " " \musicglyph #"accidentals-hufnagel-1" }
     }
     \column {
       "mensural"
-      { " " \musicglyph #"accidentals-mensural-1"
-      " " \musicglyph #"accidentals-mensural1" }
+      \line { " " \musicglyph #"accidentals-mensural-1"
+        " " \musicglyph #"accidentals-mensural1" }
     }
   }
 }
@@ -6460,19 +6460,19 @@ supported are @code{vaticana}, @code{medicaea}, @code{hufnagel}, and
 \new Lyrics \lyricmode {
   \markup { \column {
     \typewriter "vaticana"
-    { " " \musicglyph #"custodes-vaticana-u0" }
+    \line { " " \musicglyph #"custodes-vaticana-u0" }
   } }
   \markup { \column {
     \typewriter "medicaea"
-    { " " \musicglyph #"custodes-medicaea-u0" }
+    \line { " " \musicglyph #"custodes-medicaea-u0" }
   }}
   \markup { \column {
     \typewriter "hufnagel"
-    { " " \musicglyph #"custodes-hufnagel-u0" }
+    \line { " " \musicglyph #"custodes-hufnagel-u0" }
   }}
   \markup { \column {
     \typewriter "mensural"
-    { " " \musicglyph #"custodes-mensural-u0" }
+    \line { " " \musicglyph #"custodes-mensural-u0" }
   }}
 }
 @end lilypond
index e32678dd63177385bf7cdb341063f19c4625681a..1f6d81997741660d6465deaad706d8016da08415 100644 (file)
@@ -14,7 +14,7 @@ textFlat = \markup {\smaller \flat}
 
 \score {
    \new Staff {
-    \set Staff.instrument = \markup { \column { "Clarinetti" { "in B" \textFlat } } }
+    \set Staff.instrument = \markup { \column { "Clarinetti" \line { "in B" \textFlat } } }
     \set Staff.instr = \markup { \smaller  { "Cl(B" \textFlat ")" } }
 
     { c''1 \break c'' }
index 971c30850e0d1a7984ffd515b7587ac4ddcc9a9b..00eb4075c15073395b8fb162ea41318092033b20 100644 (file)
@@ -19,7 +19,7 @@ tuning = \markup {
 \header {
     title = "Solo Cello Suites"
     subtitle = "Suite IV"
-    subsubtitle = \markup { \fill-line { { "Originalstimmung: " \tuning } } }
+    subsubtitle = \markup { "Originalstimmung:" \tuning }
 }
 
 \relative {
index 7f7aa3166fbbc6577236b8b5b1bd1d1eb5b02068..6a4b96bbf1173d9302022c4c79df4379b308df48 100644 (file)
@@ -23,7 +23,7 @@
             \musicglyph #"accidentals--1"
             \combine "X" "+"   
             \combine "o" "/"
-            \box \column { { "string 1" } { "string 2" } }
+            \box \column { \line { "string 1" } \line { "string 2" } }
             "$\\emptyset$"
             \italic Norsk
             \super "2"
index 94c82ce1220fb9f266abd467742bb3189b304b88..3c1dace16229618a2912201904ddad56286ace6a 100644 (file)
@@ -26,7 +26,7 @@ texidoc = "With the new markup syntax, text may be written in various manners."
                \combine "X" "+"   
                \combine "o" "/"
 %              \char-number #"abc1234abc"
-               \box \column { { "string 1" } { "string 2" } }
+               \box \column { \line { "string 1" } \line { "string 2" } }
                "$\\emptyset$"
                \italic Norsk
                \super "2"
index a23da9e4325ac778f422d07014dc61e20cbba0ac..1551301c2e1101a29a950afba79279a8e16f1adc 100644 (file)
@@ -42,7 +42,7 @@ oboi =  \relative c' {
 }
 
 clarinetti =  \relative c' {
-    \set Staff.instrument = \markup { \column { "Clarinetti" { "in B" \raisedFlat } } }
+    \set Staff.instrument = \markup { \column { "Clarinetti" \line { "in B" \raisedFlat } } }
     \set Staff.instr = \markup { \smaller  { "Cl(B" \raisedFlat ")" } }
 
   c1 c
@@ -55,7 +55,7 @@ fagotti =  \relative c' {
 }
 
 corni =  \relative c' {
-    \set Staff.instrument = \markup { \column { "Corni" { "in E" \raisedFlat } } }
+    \set Staff.instrument = \markup { \column { "Corni" \line { "in E" \raisedFlat } } }
     \set Staff.instr = \markup { \smaller  { "Cor(E" \raisedFlat ")" } }
 
   c1 c
index b1eaadaa6a5ab7025f5768e91184384c14c8eeed..23b4892cd252a34f64537e4f16d812f9ca771a95 100644 (file)
@@ -142,7 +142,7 @@ text = \lyricmode {
 
 oneHalfNoteTime = \markup {
   \override #'(baseline-skip . 0)
-  \column { { \number "1" } { \smaller \smaller \note #"2" #-0.5 } }
+  \column { \line { \number "1" } \line { \smaller \smaller \note #"2" #-0.5 } }
 }
 
 \layout {
index 43670458d2352ca6bae52b3aa5e07dae4706b263..e85909b37db137ed0d3171742582bef7a25699a4 100644 (file)
@@ -444,7 +444,8 @@ or
 %type <scm>    Generic_prefix_music_scm 
 %type <scm>    lyric_element
 %type <scm>     Alternative_music
-%type <scm>    full_markup markup_composed_list markup_braced_list markup_braced_list_body markup_head_1_item markup_head_1_list markup simple_markup markup_top
+%type <scm>    full_markup markup_list markup_composed_list markup_braced_list markup_braced_list_body 
+%type <scm>    markup_head_1_item markup_head_1_list markup simple_markup markup_top
 %type <scm>    mode_changing_head
 %type <scm>    mode_changing_head_with_context
 %type <scm>     object_id_setting 
@@ -2480,7 +2481,7 @@ full_markup:
        ;
 
 markup_top:
-       markup_composed_list { 
+       markup_list { 
                $$ = scm_list_2 (ly_scheme_function ("line-markup"),  $1); 
        }
        | markup_head_1_list simple_markup      {
@@ -2489,8 +2490,14 @@ markup_top:
        | simple_markup {
                $$ = $1;
        }
-       | markup_braced_list    {
-               $$ = scm_list_2 (ly_scheme_function ("line-markup"), $1);
+       ;
+
+markup_list:
+       markup_composed_list {
+               $$ = $1;
+       }
+       | markup_braced_list {
+               $$ = $1;
        }
        ;
 
@@ -2512,7 +2519,7 @@ markup_braced_list_body:
        | markup_braced_list_body markup {
                $$ = scm_cons ($2, $1);
        }
-       | markup_braced_list_body markup_composed_list {
+       | markup_braced_list_body markup_list {
                $$ = scm_append_x (scm_list_2 (scm_reverse_x ($2, SCM_EOL), $1));
        }
        ;
@@ -2569,7 +2576,7 @@ simple_markup:
        | MARKUP_HEAD_EMPTY {
                $$ = scm_list_1 ($1);
        }
-       | MARKUP_HEAD_LIST0 markup_braced_list {
+       | MARKUP_HEAD_LIST0 markup_list {
                $$ = scm_list_2 ($1,$2);
        }
        | MARKUP_HEAD_MARKUP0_MARKUP1 markup markup {
@@ -2584,9 +2591,6 @@ markup:
        | simple_markup {
                $$ = $1;
        }
-       | markup_braced_list {
-               $$ = scm_list_2 (ly_scheme_function ("line-markup"), $1);
-       }
        ;
 
 %%