Re: \tempo indication not printed

2011-09-05 Thread Dmytro O. Redchuk
On Mon 05 Sep 2011, 10:02 Reinhold Kainhofer wrote:
> Am Monday, 5. September 2011, 09:41:58 schrieb Dmytro O. Redchuk:
> > On Thu 01 Sep 2011, 16:06 Reinhold Kainhofer wrote:
> > > BTW, this is a really minimal example:
> > > \version "2.15.9"
> > > 
> > > {
> > > 
> > >   s1
> > >   \tempo "Waldo"
> > >   s1
> > > 
> > > }
> > 
> > Neil mentioned issue 1276. What do you think, should this one be a separate
> > issue?
> 
> AFAICS, it's a separate issue. 1276 wrongly aligns on the note, even if it 
> should align on other grobs, while this issue does not print the mark at all, 
> because there is no column to attach that survives.
Thank you, added as 1865:
http://code.google.com/p/lilypond/issues/detail?id=1865

-- 
  Dmytro O. Redchuk"Easy to use" is easy to say.
  Bug Squad -- Jeff Garbers

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-05 Thread Reinhold Kainhofer
Am Monday, 5. September 2011, 09:41:58 schrieb Dmytro O. Redchuk:
> On Thu 01 Sep 2011, 16:06 Reinhold Kainhofer wrote:
> > BTW, this is a really minimal example:
> > \version "2.15.9"
> > 
> > {
> > 
> >   s1
> >   \tempo "Waldo"
> >   s1
> > 
> > }
> 
> Neil mentioned issue 1276. What do you think, should this one be a separate
> issue?

AFAICS, it's a separate issue. 1276 wrongly aligns on the note, even if it 
should align on other grobs, while this issue does not print the mark at all, 
because there is no column to attach that survives.

cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-05 Thread Dmytro O. Redchuk
On Thu 01 Sep 2011, 16:06 Reinhold Kainhofer wrote:
> BTW, this is a really minimal example:
> \version "2.15.9"
> 
> {
>   s1
>   \tempo "Waldo"
>   s1
> }
> 
> The issue is that the moment after the \tempo command does not have any grobs 
> where the tempo could be attached to. As soon as you change the s1 to a note 
> or rest, or if you have clef/key/timesig change at the same moment as the 
> \tempo, the tempo mark can be reparented. But it seems that the engraver 
> misses the case that there are no other grobs at the same moment as the 
> \tempo 
> change. In that case, the tempo mark should be reparented to the barline...
Neil mentioned issue 1276. What do you think, should this one be a separate
issue?

Thank you.

-- 
  Dmytro O. Redchuk"Easy to use" is easy to say.
  Bug Squad -- Jeff Garbers

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-01 Thread Valentin Villenave
On Thu, Sep 1, 2011 at 4:06 PM, Reinhold Kainhofer
 wrote:
> The issue is that the moment after the \tempo command does not have any grobs
> where the tempo could be attached to. As soon as you change the s1 to a note
> or rest, or if you have clef/key/timesig change at the same moment as the
> \tempo, the tempo mark can be reparented. But it seems that the engraver
> misses the case that there are no other grobs at the same moment as the \tempo
> change. In that case, the tempo mark should be reparented to the barline...

That would make it similar to RehearsalMarks, wouldn't it? I can't
think of any valid musical reason why

{ s1 \mark "bar" s1 }

should work and not

{ s1 \tempo "bar" s1 }

Thanks for the additional explanation!

Cheers,
V.

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-01 Thread Reinhold Kainhofer
Am Donnerstag, 1. September 2011, 14:26:02 schrieb Neil Puttock:
> On 1 September 2011 13:06, Valentin Villenave  > > 
Unless *anyone* can explain what's going on therebelow, that is.
> 
> I think this is to do with the way barlines are treated by the
> engraver.  We have a special case for full-bar rests which ensures the
> tempo mark is aligned on the barline.  Unfortunately, it looks like
> it's preventing the mark from appearing in an empty bar.

BTW, this is a really minimal example:
\version "2.15.9"

{
  s1
  \tempo "Waldo"
  s1
}

The issue is that the moment after the \tempo command does not have any grobs 
where the tempo could be attached to. As soon as you change the s1 to a note 
or rest, or if you have clef/key/timesig change at the same moment as the 
\tempo, the tempo mark can be reparented. But it seems that the engraver 
misses the case that there are no other grobs at the same moment as the \tempo 
change. In that case, the tempo mark should be reparented to the barline...

The check currently is:
 if ([check for MM rest])
   ...
 else if (!support_)
   {
 if (Grob *mc = unsmob_grob (get_property ("currentMusicalColumn"))) 
   text_->set_parent (mc, X_AXIS);
 else if (Grob *cc = unsmob_grob (get_property ("currentCommandColumn")))
   text_->set_parent (cc, X_AXIS);
   }

So, the mark is always assigned the currentMusicalColumn as parent (confirmed 
by some debug statements). I think I read somewhere that later on the 
currentMusicalColumn is deleted if it does not contain any grobs... Am I 
wrong?


Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-01 Thread Valentin Villenave
On Thu, Sep 1, 2011 at 2:28 PM, Neil Puttock  wrote:
> See also issue 1276.

Indeed. I did remember having seen such a thing, but all I could find
was #1205 and #1150.

Weird, though.

Thanks!

Valentin.

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-01 Thread Neil Puttock
On 1 September 2011 13:06, Valentin Villenave  wrote:
> Dear all,
>
> let's make it official: I am going insane.

Not yet. ;)

> Unless *anyone* can explain what's going on therebelow, that is.

I think this is to do with the way barlines are treated by the
engraver.  We have a special case for full-bar rests which ensures the
tempo mark is aligned on the barline.  Unfortunately, it looks like
it's preventing the mark from appearing in an empty bar.

Cheers,
Neil

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \tempo indication not printed

2011-09-01 Thread Francisco Vila
2011/9/1 Valentin Villenave :
> Dear all,
>
> let's make it official: I am going insane.
>
> Unless *anyone* can explain what's going on therebelow, that is.
>
> \version "2.15.9"
>
> {
>  \time 3/4 s2.
>  \time 2/4 s2 \tempo "Walda"
>  \time 6/4 s1. \tempo "Waldi"
>  \time 4/4 s1 \tempo "Waldo"
>  s1

Changing this to R1 makes waldo to appear. What does it mean? I don't know.

>  \time 2/4 s2_"Where's Waldo?"
> }
>
> Cheers,
> Valentin.
>
> ___
> bug-lilypond mailing list
> bug-lilypond@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>



-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond