[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Ambitus not in the beginning
From:       Kai_Lautenschläger <kai.lautenschlaeger () me ! com>
Date:       2013-11-28 21:15:40
Message-ID: 3291E074-BAA5-44FF-8CAA-42BDFE23FB27 () me ! com
[Download RAW message or body]

Hi Patrick,

thanks for making that easier to see. Since I am not at all familiar with the \
procedure once a bug is named a bug (or at least believed to be one), my question \
would be: is there any ideas for a work-around? 

I was thinking to somehow manually put the ambitus at the beginning of a staff \
deliberately without having LP also write one (visible or not) at the end of the \
staff before. But that idea exceeds my knowledge of LP code or scheme by lightyears. \
:(

best regards,
Kai

Am 28.11.2013 um 22:07 schrieb pls <p.l.schmidt@gmx.de>:

> On 25.11.2013, at 14:34, Kai Lautenschläger <kai.lautenschlaeger@me.com> wrote:
> > As you can see in the following not so tiny example inserting the ambitus makes \
> > the \RemoveEmptyStaves command ineffective.
> I reduced your example quite a bit and the problem is still there: \
> \RemoveEmptyStaves does not show any effect in staves containing voices in which \
> the ambitus engraver is added. AFAICS you are right and this is a bug. 
> \version "2.17.95"
> \score {
> <<
> \new Staff {
> R1
> \break
> \new Voice 
> % \with { \consists "Ambitus_engraver" } %uncomment this line to see the effect
> \relative { a'4 b c d }
> }
> \new Staff {
> c'1
> \break
> \new Voice \with { \consists "Ambitus_engraver" }
> \relative { a'4 b c d }
> }
> > > 
> 
> \layout {
> \context {
> \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t
> }
> }
> }
> 
> hth
> patrick


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \
space; -webkit-line-break: after-white-space;">Hi Patrick,<div><br></div><div>thanks \
for making that easier to see. Since I am not at all familiar with the procedure once \
a bug is named a bug (or at least believed to be one), my question would be: is there \
any ideas for a work-around?&nbsp;</div><div><br></div><div>I was thinking to somehow \
manually put the ambitus at the beginning of a staff deliberately without having LP \
also write one (visible or not) at the end of the staff before. But that idea exceeds \
my knowledge of LP code or scheme by lightyears. :(</div><div><br></div><div>best \
regards,</div><div>Kai</div><div><br></div><div><div><div>Am 28.11.2013 um 22:07 \
schrieb pls &lt;<a href="mailto:p.l.schmidt@gmx.de">p.l.schmidt@gmx.de</a>&gt;:</div><br \
class="Apple-interchange-newline"><blockquote type="cite"><meta \
http-equiv="Content-Type" content="text/html charset=windows-1252"><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><div><div>On 25.11.2013, at 14:34, Kai Lautenschläger &lt;<a \
href="mailto:kai.lautenschlaeger@me.com">kai.lautenschlaeger@me.com</a>&gt; \
wrote:</div><blockquote type="cite"><div style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div \
style="font-family: monospace; ">As you can see in the following not so tiny example \
inserting the ambitus makes the \RemoveEmptyStaves command \
ineffective.</div></div></blockquote>I reduced your example quite a bit and the \
problem is still there: \RemoveEmptyStaves does not show any effect in staves \
containing voices in which the ambitus engraver is added. AFAICS you are right and \
this is a bug.</div><div><br></div><div><div style="margin: 0px; \
"><!--StartFragment-->\version "2.17.95"</div><div style="margin: 0px; ">\score {  \
</div><div style="margin: 0px; ">&nbsp; &lt;&lt;</div><div style="margin: 0px; \
">&nbsp; &nbsp; \new Staff  {</div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp; R1 \
</div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp;\break </div><div style="margin: \
0px; ">&nbsp; &nbsp; &nbsp;\new Voice&nbsp;</div><div style="margin: 0px; ">&nbsp; \
&nbsp; &nbsp;% \with { \consists "Ambitus_engraver" } %uncomment this line to see the \
effect</div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp;\relative { a'4 b c \
d  }   </div><div style="margin: 0px; ">&nbsp; &nbsp; }</div><div style="margin: 0px; \
">&nbsp; &nbsp; \new Staff  {</div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp; \
c'1 </div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp; \break </div><div \
style="margin: 0px; ">&nbsp; &nbsp; &nbsp; \new Voice \with { \consists \
"Ambitus_engraver" }</div><div style="margin: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; \
\relative { a'4 b c d  }</div><div style="margin: 0px; ">&nbsp; &nbsp; }</div><div \
style="margin: 0px; ">&nbsp; &gt;&gt;</div><div style="margin: 0px; "><br></div><p \
style="margin: 0px; ">  </p><div style="margin: 0px; ">  \layout {</div><div \
style="margin: 0px; ">&nbsp; \context { </div><div style="margin: 0px; ">&nbsp; \
&nbsp; \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t \
</div><div style="margin: 0px; ">&nbsp; &nbsp; }</div><div style="margin: 0px; \
">&nbsp; }</div><div style="margin: 0px; ">}<!--EndFragment--></div><div \
style="margin: 0px; "><br></div><div style="margin: 0px; ">hth</div><div \
style="margin: 0px; ">patrick</div></div></div></blockquote></div></div></body></html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic