]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-column.cc
* THANKS: Create skeleton for 2.1.
[lilypond.git] / lily / paper-column.cc
index b9393c411e245a7de78598ef1d5d8d94c113c66f..54151c63cb622faa4f7c6309ee69c86d8014362f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "moment.hh"
@@ -16,7 +16,7 @@
 #include "text-item.hh"
 #include "lookup.hh"
 #include "font-interface.hh"
-
+#include "paper-def.hh"
 
 
 
@@ -119,9 +119,11 @@ Paper_column::brew_molecule (SCM p)
 
   String r = to_string (Paper_column::get_rank (me));
   SCM properties = Font_interface::font_alist_chain (me);
-  
-  Molecule t = Text_item::text2molecule (me, scm_makfrom0str (r.to_str0 ()),
-                                        properties);
+
+  SCM scm_mol = Text_item::interpret_markup (me->get_paper ()->self_scm (),
+                                            properties,
+                                            scm_makfrom0str (r.to_str0 ()));
+  Molecule t = *unsmob_molecule (scm_mol);
   t.align_to (X_AXIS, CENTER);
   t.align_to (Y_AXIS, DOWN);