[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch:] MultiMeasureRest markups in tablature
From: |
Marc Hohl |
Subject: |
[Patch:] MultiMeasureRest markups in tablature |
Date: |
Wed, 01 Sep 2010 17:36:46 +0200 |
User-agent: |
Thunderbird 2.0.0.24 (X11/20100317) |
Hello,
I got the following message from Viktor Mastoridis to the tablature list:
Hello everyone,
I haven't been using Lilyponds tablature functions for some time, but
now I am back and using the tablature.ly <http://tablature.ly> has
helped dramatically in clearing up the looks of a score.
So, heartedly thanks to all contributors.
I have a strange problem, though.
The whole score/tablature looks nice and clean (I am using
\tabNumbersOnly)
Except when I want to add a text markup after a "R" rest (whole rest
for the bar, regardless of its time sign.).
Thus, this sentence:
R1._\markup \rounded-box {"Impr."}
produces the word "Impr." in both the score and tab.
If I do
r1._\markup \rounded-box {"Impr."}
(replace "R" with "r")
everything is normal, i.e. the text shows only once, as in the whole
score.
But then there are two rests showing, and I would love to have only a
whole (time sign. is 3/2)
Any suggestions?
I prepared a patch, see attachment; can somebody push it?
Thanks in advance
Marc
---
Viktor
>From c025613fd91175371591d4242a1a40bdf12cfa4b Mon Sep 17 00:00:00 2001
From: Marc Hohl <address@hidden>
Date: Wed, 1 Sep 2010 17:33:10 +0200
Subject: [PATCH] Tablature: fix visibility for MultiMeasureRests
---
ly/engraver-init.ly | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly
index 6ecba2d..55cf135 100644
--- a/ly/engraver-init.ly
+++ b/ly/engraver-init.ly
@@ -748,6 +748,7 @@ context."
\override Rest #'stencil = ##f
\override MultiMeasureRest #'stencil = ##f
\override MultiMeasureRestNumber #'transparent = ##t
+ \override MultiMeasureRestText #'transparent = ##t
%% ... all kinds of ties/slurs
\override Tie #'stencil = ##f
\override RepeatTie #'stencil = ##f
--
1.5.4.3
- [Patch:] MultiMeasureRest markups in tablature,
Marc Hohl <=