[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining bar checks in a variable
From: |
Mike Solomon |
Subject: |
Re: Defining bar checks in a variable |
Date: |
Sat, 26 Oct 2013 13:03:15 +0300 |
On Oct 14, 2013, at 6:20 PM, David Kastrup <address@hidden> wrote:
> David Kastrup <address@hidden> writes:
>
>> Mike Solomon <address@hidden> writes:
>>
>>> hmm…for a slightly less minimal example, I'm trying to do:
>>>
>>> bc = |
>>>
>>> foo = { \bc \bar "|" }
>>>
>>> {
>>> a a a a a \foo
>>> }
>>>
>>> Any ideas on how to accomplish that?
>>
>> Simple. First fix
>> <URL:http://code.google.com/p/lilypond/issues/detail?id=2392>
>
> See also
> <URL:http://code.google.com/p/lilypond/issues/detail?id=3610>
>
> --
> David Kastrup
>
Probably a separate issue, but when I do:
\version "2.17.30"
mybarcheck = { | }
{ a \mybarcheck }
I get
GNU LilyPond 2.17.30
Processing `foo.ly'
Parsing...
Interpreting music...
foo.ly:3:14: warning: barcheck failed at: 1/4
mybarcheck =
{ | }
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `foo.ps'...
Converting to `./foo.pdf'…
Is there anyway to have the parser spit out the line number of the bar check
failure instead of the line number of the definition of the variable?
Cheers,
MS