]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-column.cc
*** empty log message ***
[lilypond.git] / lily / paper-column.cc
index 8b990511f56a982713502765881df4d6d50532f1..54151c63cb622faa4f7c6309ee69c86d8014362f 100644 (file)
@@ -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::interpret_new_markup (p, properties,
-                                               scm_makfrom0str (r.to_str0 ()));
+
+  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);