"tuplet-note-wrapper": """ % a formatter function, which is simply a wrapper around an existing
% tuplet formatter function. It takes the value returned by the given
% function and appends a note of given length.
- #(define-public ((tuplet-number::append-note-wrapper function note) grob)
+ #(define ((tuplet-number::append-note-wrapper function note) grob)
(let* ((txt (if function (function grob) #f)))
(if txt
(markup txt #:fontsize -5 #:note note UP)
if work:
work_title = work.get_work_title ()
set_if_exists ('title', work_title)
- if work_title == '':
+ if work_title == '' and movement_title :
set_if_exists ('title', movement_title.get_text ())
elif movement_title:
set_if_exists ('subtitle', movement_title.get_text ())
staff = musicexp.Staff ()
# TODO: Handle case with lines <> 5!
if (lines != 5):
- staff.add_context_modification ("\\override StaffSymbol #'line-count = #%s" % lines)
+ staff.add_context_modification ("\\override StaffSymbol.line-count = #%s" % lines)
return staff
# convert accordion-registration to lilypond.
# Since lilypond does not have any built-in commands, we need to create
# the markup commands manually and define our own variables.
-# Idea was taken from: http://lsr.dsi.unimi.it/LSR/Item?id=194
+# Idea was taken from: http://lsr.di.unimi.it/LSR/Item?id=194
def musicxml_accordion_to_markup (mxl_event):
commandname = "accReg"
command = ""
p.version = ('''%prog (LilyPond) @TOPLEVEL_VERSION@\n\n'''
+
-_ ("""Copyright (c) 2005--2012 by
+_ ("""Copyright (c) 2005--2015 by
Han-Wen Nienhuys <hanwen@xs4all.nl>,
Jan Nieuwenhuizen <janneke@gnu.org> and
Reinhold Kainhofer <reinhold@kainhofer.com>