From: Mike Solomon Date: Thu, 28 Jul 2011 15:39:03 +0000 (+0200) Subject: Adds NOT_SMART rule for auto-footnote numbering. X-Git-Tag: release/2.15.7-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=873b5eed825171dec026a2d88f30ed48326e3f4b;p=lilypond.git Adds NOT_SMART rule for auto-footnote numbering. --- diff --git a/python/convertrules.py b/python/convertrules.py index 56bdb9cc76..bedfaaaf54 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3215,6 +3215,15 @@ def conv (str): stderr_write (UPDATE_MANUALLY) return str +@rule ((2, 15, 8), + _ ("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) #