Re: Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread Francisco Vila
2009/10/19 David Kastrup :
> -Eluze  writes:
>> however, with version 2.13.3 (under windows vista) i get the following error
>> message:
>>
>> Analysieren...
>> bad.ly:4:23: Fehler: syntax error, unexpected MUSIC_IDENTIFIER
>>      Määä A♯ B♭
>>                        \break
>>
>> which to me looks correct!
>
> Yes.  Since "Analysieren" looked German to me, I checked with the German
> locale de_DE.UTF-8 (had to install language-pack-de for it to work
> properly, though, since otherwise ä ist not accepted as text).
>
> No better luck: same bombout.  My normal locale is en_US.UTF-8.  It is
> conceivable that people will see this bug (on POSIXy systems) only when
> a valid UTF-8 locale is selected.
>
> If you don't see it with 2.13.3 under Windows, either the Windows
> behavior is different, or something went wrong between 2.13.3 and now.

I can reproduce it on 2.13.6 Linux with LANG=es_ES.UTF-8

If I prefix the \break token by a minimum of seven blank spaces, the
error message stops printing trash characters which are printed
otherwise:

 Määä A♯ B♭
 \break

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


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


Re: Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread David Kastrup
-Eluze  writes:

> David Kastrup wrote:
>> 
>> -Eluze  writes:
>> 
>>> now, if i comment the \break (or omit it), the file compiles quite well -
>>> did i miss something?
>> 
>> The subject line and the problem description?
>> 
>> 
>
> ahhh! i see now - i thought you were looking for a solution…
>
> however, with version 2.13.3 (under windows vista) i get the following error
> message:
>
> Analysieren...
> bad.ly:4:23: Fehler: syntax error, unexpected MUSIC_IDENTIFIER
>  Määä A♯ B♭ 
>\break
>
> which to me looks correct!

Yes.  Since "Analysieren" looked German to me, I checked with the German
locale de_DE.UTF-8 (had to install language-pack-de for it to work
properly, though, since otherwise ä ist not accepted as text).

No better luck: same bombout.  My normal locale is en_US.UTF-8.  It is
conceivable that people will see this bug (on POSIXy systems) only when
a valid UTF-8 locale is selected.

If you don't see it with 2.13.3 under Windows, either the Windows
behavior is different, or something went wrong between 2.13.3 and now.

-- 
David Kastrup



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


Re: Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread -Eluze


David Kastrup wrote:
> 
> -Eluze  writes:
> 
>> now, if i comment the \break (or omit it), the file compiles quite well -
>> did i miss something?
> 
> The subject line and the problem description?
> 
> 

ahhh! i see now - i thought you were looking for a solution…

however, with version 2.13.3 (under windows vista) i get the following error
message:

Analysieren...
bad.ly:4:23: Fehler: syntax error, unexpected MUSIC_IDENTIFIER
 Määä A♯ B♭ 
   \break

which to me looks correct!
-- 
View this message in context: 
http://www.nabble.com/Lilypond%27s-error-column-printer-confuses-bytes-and-characters-tp25946915p25950920.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.



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


Re: Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread David Kastrup
-Eluze  writes:

> David Kastrup wrote:
>> 
>> 
>> The following input file:
>> 
> … which is a .bin file and should be a .ly file - but downloaded its content
> looks like
>
> \markup{
>  Määä A♯ B♭ \break
> }
>
> now, if i comment the \break (or omit it), the file compiles quite well -
> did i miss something?

The subject line and the problem description?

-- 
David Kastrup



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


Re: Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread -Eluze


David Kastrup wrote:
> 
> 
> The following input file:
> 
… which is a .bin file and should be a .ly file - but downloaded its content
looks like

\markup{
 Määä A♯ B♭ \break
}

now, if i comment the \break (or omit it), the file compiles quite well -
did i miss something?
 


-- 
View this message in context: 
http://www.nabble.com/Lilypond%27s-error-column-printer-confuses-bytes-and-characters-tp25946915p25950417.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.



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


Rock guitar power chord symbol A5 B5 C5.. won't print via \chords { c1:5 }

2009-10-18 Thread Albert Loo
> I'm not top posting.

\version "2.12.0"

%% Rock guitar power chord A5 B5 C5.. symbol won't print
%% Although I do now use A3 B3 C3.. it won't print either

\chords { 
c1 c1:3 c1:5 c1:7 c1:7+
}




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


Lilypond's error column printer confuses bytes and characters

2009-10-18 Thread David Kastrup

> I am not topposting

I reported this bug once already, but its distribution was haphazard
(never got to gmane) and nobody entered it into the bug tracker.

The following input file:



bin2jX8eDNUTu.bin
Description: Binary data

leads to the following error output (which hacks an utf-8 character into
pieces, replaced by printable octal sequences to make this transfer
better via mail):

GNU LilyPond 2.13.4
Processing `bad.ly'
Parsing...
bad.ly:4:16: error: syntax error, unexpected MUSIC_IDENTIFIER
 MÃÃÃ A\342\231
\257 Bâ \break
error: failed files: "bad.ly"

Apparently, the error column is being tracked by counting characters,
but is displayed by counting bytes.  The indicator appears too early
because of that (which caused me to look for the wrong bug in an input
file of mine).

-- 
David Kastrup
___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Bad dimensions for \bracket

2009-10-18 Thread David Kastrup

> I am not topposting

\version "2.13.6"

\layout { ragged-right = ##t }

% \bracket appears to correctly bracket an entire construct, but
% calculate its overall dimension just from its last part

\markup { \bracket \center-column { "left" "x" }
  \bracket \center-column { "right" "y" } }
<>

-- 
David Kastrup
___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond