]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Merge branch 'master' of git://git.savannah.gnu.org/lilypond.git
[lilypond.git] / python / convertrules.py
index 2761626997d07f0844f900bcfd22edb230558064..fc35924b66cdb1cc570d55db8a9aa9fccb3bc942 100644 (file)
@@ -3196,10 +3196,10 @@ def conv(str):
 @rule ((2, 13, 51),
     _ ("Woodwind diagrams: Changes to the clarinet diagram."))
 def conv(str):
-    if re.search(r'\\woodwind-diagram\s*#[^#]*clarinet\s', str):
-        stderr_write("\n")
-        stderr_write(NOT_SMART % _("woodwind-diagrams.  Clarinet fingering changed to reflect actual anatomy of instrument.\n"))
-        stderr_write(UPDATE_MANUALLY)
+    if re.search (r'\\woodwind-diagram\s*#[^#]*clarinet\s', str):
+        stderr_write ("\n")
+        stderr_write (NOT_SMART % _("woodwind-diagrams.  Clarinet fingering changed to reflect actual anatomy of instrument.\n"))
+        stderr_write (UPDATE_MANUALLY)
     return str
 
 @rule ((2, 14, 0),
@@ -3207,6 +3207,23 @@ def conv(str):
 def conv (str):
     return str
 
+@rule ((2, 15, 2),
+       _ ("Change in internal property for MultiMeasureRest"))
+def conv (str):
+    if re.search (r'use-breve-rest',str):
+        stderr_write (NOT_SMART % _("use-breve-rest.  This internal property has been replaced by round-to-longer-rest and usable-duration-logs.\n"))
+        stderr_write (UPDATE_MANUALLY)
+    return str
+
+@rule ((2, 15, 7),
+    _ ("Handling of non-automatic footnotes."))
+def conv(str):
+    if re.search (r'\\footnote', str):
+        stderr_write ("\n")
+        stderr_write (NOT_SMART % _("If you are using non-automatic footnotes, make sure to set footnote-auto-numbering = ##f in the paper block.\n"))
+        stderr_write (UPDATE_MANUALLY)
+    return str
+
 
 # Guidelines to write rules (please keep this at the end of this file)
 #