+Music_output_def::outname_string ()
+{
+ String out = output_name_global;
+ int def = get_next_score_count ();
+ if (def && out != "-")
+ {
+ Path p = split_path (out);
+ p.base += "-" + to_string (def);
+ out = p.to_string ();
+ }
+ return out;
+}
+
+
+
+SCM
+Music_output_def::get_scmvar (String s) const
+{
+ return lookup_variable (ly_symbol2scm (s.to_str0 ()));
+}
+
+
+void
+Music_output_def::set_variable (SCM sym, SCM val)
+{
+ scm_module_define (scope_, sym, val);
+}
+
+SCM
+Music_output_def::lookup_variable (SCM sym) const