]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: IR: fix documentation of 'style values
authorPatrick McCarty <pnorcks@gmail.com>
Mon, 26 Jan 2009 22:29:35 +0000 (14:29 -0800)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 19 Jul 2009 22:22:43 +0000 (23:22 +0100)
* Document the engraver that creates KeyCancellation

* Add missing 'style values for time-signature
  and note-head interfaces

* The line-spanner interface does not contain 'style

* Key interface no longer uses 'style

* Note-name interface does not use 'style

* Key-signature interface no longer uses 'style;
  'glyph-name-alist is used instead.

Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
(cherry picked from commit 8f98ff5d3eb16a2d2ffa9e83748f1f83359c4926)

lily/key-engraver.cc
lily/key-signature-interface.cc
lily/line-spanner.cc
lily/note-head.cc
lily/time-signature.cc
scm/define-grob-interfaces.scm

index 87040e0c41630a2238f5cb68a8b597eeeebf628a..11234556fd058961112b96b1a9b947eed478f7da 100644 (file)
@@ -211,6 +211,7 @@ ADD_TRANSLATOR (Key_engraver,
                "Engrave a key signature.",
 
                /* create */
+               "KeyCancellation "
                "KeySignature ",
                
                /* read */
index 58f0abd95f479d2a71f5ab3b416fce6ffc280699..d0f30268eb4f4e016c5652045ccf52d99cd7ae98 100644 (file)
@@ -36,13 +36,6 @@ Key_signature_interface::print (SCM smob)
 
   Real inter = Staff_symbol_referencer::staff_space (me) / 2.0;
 
-  SCM scm_style = me->get_property ("style");
-  string style;
-  if (scm_is_symbol (scm_style))
-    style = ly_symbol2string (scm_style);
-  else
-    style = "";
-
   Stencil mol;
 
   SCM c0s = me->get_property ("c0-position");
@@ -128,5 +121,4 @@ ADD_INTERFACE (Key_signature_interface,
               "glyph-name-alist "
               "padding "
               "padding-pairs "
-              "style "
               );
index d9c5f5683522d8708501ac106c217fa1778ac481..b19151987f012dd9c046be13d1a54b3b73806bc3 100644 (file)
@@ -349,11 +349,7 @@ Line_spanner::print (SCM smob)
 
 ADD_INTERFACE (Line_spanner,
               "Generic line drawn between two objects, e.g., for use with"
-              " glissandi.\n"
-              "\n"
-              "The property @code{style} can be @code{line},"
-              " @code{dashed-line}, @code{trill}, @code{dotted-line} or"
-              " @code{zigzag}.",
+              " glissandi.",
 
               /* properties */
               "bound-details "
index 1a9196ecca8b8dc995c6cbf575039af177797677..3f446eeff73d9caaffbcf351cf77acb8e31a033b 100644 (file)
@@ -143,7 +143,9 @@ Note_head::calc_stem_attachment (SCM smob)
 
 
 ADD_INTERFACE (Note_head,
-              "Note head.",
+              "A note head.  There are many possible values for"
+              " @code{style}.  For a complete list, see"
+              " @ruser{Note head styles}.",
 
               /* properties */
               "note-names "
index 3635a84910186bb23b8f11664ca68ec2f2f1c4ed..9beda767489e702a774af277d2f294342772f58f 100644 (file)
@@ -127,7 +127,8 @@ ADD_INTERFACE (Time_signature,
               "@table @code\n"
               "@item C\n"
               "4/4 and 2/2 are typeset as C and struck C, respectively."
-              "  All other time signatures are written with two digits.\n"
+              "  All other time signatures are written with two digits."
+              "  The value @code{default} is equivalent to @code{C}.\n"
               "@item neomensural\n"
               "2/2, 3/2, 2/4, 3/4, 4/4, 6/4, 9/4, 4/8, 6/8, and 9/8 are"
               " typeset with neo-mensural style mensuration marks.  All"
@@ -139,9 +140,9 @@ ADD_INTERFACE (Time_signature,
               "@item single-digit\n"
               "All time signatures are typeset with a single digit, e.g.,"
               " 3/2 is written as 3.\n"
-              "@end table\n"
-              "\n"
-              "See also the test-file @file{input/test/time.ly}.",
+              "@item numbered\n"
+              "All time signatures are typeset with two digits.\n"
+              "@end table",
 
               /* properties */
               "fraction "
index f62fa8867dcfc885b6e1a7bf1b0d43788c6ddd06..a2ee15276fce6a91866e6a3cc3a08c9b9cc730ba 100644 (file)
@@ -109,7 +109,7 @@ note)."
 (ly:add-interface
  'note-name-interface
  "Note names."
- '(style))
+ '())
 
 (ly:add-interface
  'only-prebreak-interface