]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/musicexp.py
GDP: NR 3.3.3 Text encoding
[lilypond.git] / python / musicexp.py
index c653c5cb7944e664c9130caebc66a5e280f199a0..e73f78b1a4d92fb457792eb237a2341dab8b594a 100644 (file)
@@ -1371,9 +1371,7 @@ class TempoMark (Music):
             return res
         if self.beats:
             if self.parentheses:
-                dm = self.duration_to_markup (self.baseduration)
-                contents = "\"(\" %s = %s \")\"" % (dm, self.beats)
-                res += self.tempo_markup_template() % contents
+                res += "\\tempo \"\" %s=%s" % (self.baseduration.ly_expression(), self.beats)
             else:
                 res += "\\tempo %s=%s" % (self.baseduration.ly_expression(), self.beats)
         elif self.newduration: