From 1b36fe672946c010741b3679c028a3f7723f4cd8 Mon Sep 17 00:00:00 2001 From: Marc Hohl Date: Mon, 15 Oct 2012 21:29:32 +0200 Subject: [PATCH] Include whichBar in convert-ly rule for bar line changes This is a follow-up of Issue 2790 and commit cced43289cf170305e6e6517180659a1c4fa91db. The whichBar property is not set explicitly anywhere in the sources and thus was forgotten in the commit above. --- python/convertrules.py | 2 +- scm/define-context-properties.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/convertrules.py b/python/convertrules.py index 6eeb392ee4..5d44fd7a15 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3399,7 +3399,7 @@ def conv (str): matcharg + ")", r"\\shape\2\1", str) return str -barstring=r"(\\bar|defaultBarType|segnoType|doubleRepeatType|startRepeatType|endRepeatType|doubleRepeatSegnoType|startRepeatSegnoType|endRepeatSegnoType)(\s*[=]?\s*[#]?)" +barstring=r"(\\bar|whichBar|defaultBarType|segnoType|doubleRepeatType|startRepeatType|endRepeatType|doubleRepeatSegnoType|startRepeatSegnoType|endRepeatSegnoType)(\s*[=]?\s*[#]?)" @rule ((2, 17, 5), r"New bar line interface") def conv(str): diff --git a/scm/define-context-properties.scm b/scm/define-context-properties.scm index c1c006cf06..76c5191bf1 100644 --- a/scm/define-context-properties.scm +++ b/scm/define-context-properties.scm @@ -576,7 +576,7 @@ of bar line to create. Example: @example -\\set Staff.whichBar = \"|:\" +\\set Staff.whichBar = \".|:\" @end example @noindent -- 2.39.2