From f2315d384c86ef3a142189687499ac8b736c9e8b Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 18 Jul 2005 23:41:58 +0000 Subject: [PATCH] * Documentation/topdocs/NEWS.tely (Top): add note about engravers. * python/convertrules.py (conv): rule for Timing_translator. --- ChangeLog | 4 ++++ Documentation/topdocs/NEWS.tely | 5 +++++ python/convertrules.py | 16 +++++++++++----- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e28aa7f588..38db38d9c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-07-19 Han-Wen Nienhuys + * Documentation/topdocs/NEWS.tely (Top): add note about engravers. + + * python/convertrules.py (conv): rule for Timing_translator. + * lily/include/translator.icc: new file. * lily/paper-column-engraver.cc (process_music): new diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 5f862f7db8..37dce23a07 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -32,6 +32,11 @@ See user manual, \NAME\ @itemize @bullet +@item +The setting @code{whichBar} and time-bookkeeping is now split into a +@code{Default_bar_line_engraver} and @code{Timing_translator} +respectively. + @item Explicit pitches may be added to trills, diff --git a/python/convertrules.py b/python/convertrules.py index 486ecbb2c6..876b1a5354 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2512,13 +2512,19 @@ conversions.append (((2, 7, 0), conv, 'ly:get-default-font -> ly:grob-default-font')) def conv (str): - return re.sub('ly:parser-define', 'ly:parser-define!', str) + str = re.sub('ly:parser-define', 'ly:parser-define!', str) + str = re.sub('excentricity', 'eccentricity', str) + str = re.sub(r'\\(consists|remove) *"?Timing_engraver"?', + r'\\\1 "Timing_translator" \\\1 "Default_bar_line_engraver"', + str) + return str -conversions.append (((2, 7, 0), conv, - 'ly:parser-define -> ly:parser-define!')) +conversions.append (((2, 7, 1), conv, + '''ly:parser-define -> ly:parser-define! +excentricity -> eccentricity +Timing_engraver -> Timing_translator + Default_bar_line_engraver +''')) -def conv (str): - return re.sub('excentricity', 'eccentricity', str) ################################################################ -- 2.39.5