Re: Mark / Barcheck Bug (#1626) Appearing Again

2016-10-15 Thread Jay Anderson
On Sat, Oct 15, 2016 at 6:38 PM, Andrew Bernard
 wrote:
> Don't you have to provide an argument for \mark, I thought?
>
> I am not familiar with 2.18.2, but in 2.19.48 you do:

Yep. I think \mark requiring an argument explains the errors in the
examples fully:
- The first error it saying that the argument you gave to \mark was wrong
- Lilypond kept trying to make sense of things and kept processing.
Since the argument to \mark was already used there is now 1 too few
beats in that measure.

I think lilypond is behaving as expected here. You might be trying to
do \mark \default or \mark "C" instead.

-Jay Anderson

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


Re: Mark / Barcheck Bug (#1626) Appearing Again

2016-10-15 Thread Christopher Heckman
After playing around with Lilypond for a while, I found out that \mark
appears to "gobble up" the next token in the list. For example,

  \new Staff { c \mark |  c c c | }

and

 \new Staff { c c c c |  c c c \mark | c | c c c c | }

should give barcheck errors but don't. That's because the barcheck
interprets them as

  \new Staff { c c c c | }

and

 \new Staff { c c c c |  c c c c | c c c c | }

--- CCH

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


RE: Mark / Barcheck Bug (#1626) Appearing Again

2016-10-15 Thread Andrew Bernard
Hi,

Don't you have to provide an argument for \mark, I thought?

I am not familiar with 2.18.2, but in 2.19.48 you do:


Processing `/tmp/frescobaldi-pofhqya8/tmp1asznm_p/document.ly'
Parsing...
/tmp/frescobaldi-pofhqya8/tmp1asznm_p/document.ly:4:20: error: wrong type
for argument 1.  Expecting number or markup, found (make-music (quote
BarCheck))
\new Staff { \mark 
   | c4 c c c | r1 | \mark c4 c c c |  }
/tmp/frescobaldi-pofhqya8/tmp1asznm_p/document.ly:4:44: error: wrong type
for argument 1.  Expecting number or markup, found (ly:make-pitch -1 0)
\new Staff { \mark | c4 c c c | r1 | \mark 
   c4 c c c |  }
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-jzd1sq'...
Converting to `document.pdf'...
fatal error: failed files:
"/tmp/frescobaldi-pofhqya8/tmp1asznm_p/document.ly"



Andrew


-Original Message-
From: bug-lilypond
[mailto:bug-lilypond-bounces+andrew.bernard=gmail@gnu.org] On Behalf Of
Christopher Heckman
Sent: Sunday, 16 October 2016 12:13 PM
To: bug-lilypond@gnu.org
Subject: Mark / Barcheck Bug (#1626) Appearing Again

This was mentioned about five years ago, but I re-discovered it. Does the
so-called patch fix this? The bug is as follows:

Placing the \mark can have an effect on the bar check. If you run Lilypond
with the following code, the barcheck will fail exactly once.

--- CCH

\new Staff { \mark | c4 c c c | r1 | \mark c4 c c c |  }

\version "2.18.2"



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