2 problems

2007-02-09 Thread Palmer, Ralph
Greeetings -

I'm running LilyPond 2.10.10 under Windows XP Pro SP2. I'm using ConTEXT 
v0.98.3, with the LilyPond Highlighter.

While running convert-ly, some of my files would not update; I got an error 
message that convert-ly couldn't find the version number, even though \version 
"2.10.1" was the first uncommented (i.e., beginning with %) line in the file.

I also am having problems with the file structure, so I decided to start 
simply, and from scratch, but I'm having problems with that, too. I can't 
figure out what's wrong with this file, but I suspect the problem may be 
related to the missing version problem.

% Begin Snippet %%%

%% A Major Scale
\version "2.10.10"
\include "english.ly"
\header {}
\key = { \key a \major
}
\time 4/4
scale = {
A1
}

%  Score 
\score {
\scale
}

%% End Snippet %

And here's the log:

% Start %

# -*-compilation-*-
Changing working directory to `C:/Documents and Settings/rpalmer/My 
Documents/Ralph/Sheet Music/LilyPond/Classical/Scales'
Processing `C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly'
Parsing...
C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly:1:2: error: syntax error, unexpected 
$undefined, expecting '='
ÿþ
  %C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly: 0: warning: no \version statement 
found, please add

\version "2.10.16"

for future compatibility
error: failed files: "C:\\Documents and Settings\\rpalmer\\My 
Documents\\Ralph\\Sheet Music\\LilyPond\\Classical\\Scales\\A Scale.ly"

%%% End %%

Any help will be greatly appreciated. I like LilyPond and the result I can 
(usually) get.

Thanks,

Ralph
+
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


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


Re: 2 problems

2007-02-09 Thread Mats Bengtsson
My best guess is that your text editor saves the file in some strange 
format.
Make sure that the text encoding of the file is UTF-8 (or plain 7-bit 
ASCII).


  /Mats

Palmer, Ralph wrote:

Greeetings -

I'm running LilyPond 2.10.10 under Windows XP Pro SP2. I'm using ConTEXT 
v0.98.3, with the LilyPond Highlighter.

While running convert-ly, some of my files would not update; I got an error message that 
convert-ly couldn't find the version number, even though \version "2.10.1" was 
the first uncommented (i.e., beginning with %) line in the file.

I also am having problems with the file structure, so I decided to start 
simply, and from scratch, but I'm having problems with that, too. I can't 
figure out what's wrong with this file, but I suspect the problem may be 
related to the missing version problem.

% Begin Snippet %%%

%% A Major Scale
\version "2.10.10"
\include "english.ly"
\header {}
\key = { \key a \major
}
\time 4/4
scale = {
A1
}

%  Score 
\score {
\scale
}

%% End Snippet %

And here's the log:

% Start %

# -*-compilation-*-
Changing working directory to `C:/Documents and Settings/rpalmer/My 
Documents/Ralph/Sheet Music/LilyPond/Classical/Scales'
Processing `C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly'
Parsing...
C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly:1:2: error: syntax error, unexpected 
$undefined, expecting '='
ÿþ
  %C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet 
Music/LilyPond/Classical/Scales/A Scale.ly: 0: warning: no \version statement 
found, please add

\version "2.10.16"

for future compatibility
error: failed files: "C:\\Documents and Settings\\rpalmer\\My 
Documents\\Ralph\\Sheet Music\\LilyPond\\Classical\\Scales\\A Scale.ly"

%%% End %%

Any help will be greatly appreciated. I like LilyPond and the result I can 
(usually) get.

Thanks,

Ralph
+
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: 2 problems

2007-02-09 Thread Bertalan Fodor


I also am having problems with the file structure, so I decided to start simply, and from scratch, but I'm having problems with that, too. 
Now, that's what I have written LilyPondTool's Document Wizard for. See 
http://lilypondtool.organum.hu


Bert



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


get an accidental to not print

2007-02-09 Thread Adam Good

Hi all,

sorry if this has been addressed already, it's hard for me to find any 
reference in the archive.


! = print the accidental manually
? = print a cautionary accidental

what about _don't_ print an accidental? like i write "cis" but don't 
want it to print the accidental?


here's the situation...

I'm notating a piece with a 32/4 time signature so Lilypond sees that 
as 32 beats to a bar. but, i have subdivisions in the piece, every 4 
beats i'll have ":" to help clean stuff up, make it readable. i use 
this:


\repeat unfold 4 { s1 \bar ":" s1 \bar ":" s1 \bar ":" s1 \bar "|" 
\break s1 \bar ":" s1 \bar ":" s1 \bar ":" s1 \bar "||" \break }


ok so now my problem is that if I have a "cis" in one " : bar : " then 
in the next bar a "c",  it prints a natural sign to cancel out the 
sharp, but I don't need that sign there, Lilypond is respecting the 
time signature. what's the best way to handle this?


I hope this all makes sense, I can't find anything in the manual that 
can help me.


thanks!

Adam Good



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


Notehead collisions, accidentals

2007-02-09 Thread Mark Knoop
Hi all,

This is really about three issues, but they're related, so bear with me
please. 

1. There seems to have been a decision made at some point to merge
note heads in some cases (see collision-head-chords.ly in the
regression tests and the second chord in the example code below). I
personally find this ugly and cannot find an example in my library of
published music where an engraver has taken this same decision. I
prefer the forked stem solution - see the attached picture. I would be
interested in others' opinions on this, and advice as to any possible
workarounds.

2. Forcing the display of all accidentals with ! demonstrates a
collision bug - perhaps forced accidentals are bypassing the accidental
collision code?

3. These points are both related to a feature request for a new
accidental style which is common in quite a lot of contemporary music.
That is, accidentals, including naturals, before _every_ note,
excepting immediate repetitions. 

I see some of these things have been discussed previously, but no
conclusions reached...
http://www.mail-archive.com/lilypond-user@gnu.org/msg10504.html

Cheers,

Mark

%%
\version "2.10.13"

melody = {
\clef treble
4 4 
}

\score {
\new Staff {
\melody
}
\layout { ragged-right = ##t }
}
%%

-- 
Mark Knoop


forked-stem.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notehead collisions, accidentals

2007-02-09 Thread Mats Bengtsson

Quoting Mark Knoop <[EMAIL PROTECTED]>:


Hi all,

This is really about three issues, but they're related, so bear with me
please.

1. There seems to have been a decision made at some point to merge
note heads in some cases (see collision-head-chords.ly in the
regression tests and the second chord in the example code below). I
personally find this ugly and cannot find an example in my library of
published music where an engraver has taken this same decision. I
prefer the forked stem solution - see the attached picture. I would be
interested in others' opinions on this, and advice as to any possible
workarounds.


Unfortunately, there isn't any support for forked stems in LilyPond
at the moment, but the feature has been requested a number of times
over the years.



2. Forcing the display of all accidentals with ! demonstrates a
collision bug - perhaps forced accidentals are bypassing the accidental
collision code?


If you try
4
you will realize that it doesn't have anything to do with forced
accidentals per se. Rather, it seems like a bug that you don't
get a natural if you do



3. These points are both related to a feature request for a new
accidental style which is common in quite a lot of contemporary music.
That is, accidentals, including naturals, before _every_ note,
excepting immediate repetitions.


See the section on Automatic Accidentals. You probably want something
close to
#(set-accidental-style 'forget)
however, the tricky aspect is the "except immediate repetitions"
which isn't supported as far as I know.


  /Mats





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


Re: 2 problems

2007-02-09 Thread Cameron Horsburgh
On Fri, Feb 09, 2007 at 07:58:59AM -0500, Palmer, Ralph wrote:

> % Begin Snippet %%%
> 
> %% A Major Scale
> \version "2.10.10"
> \include "english.ly"
> \header {}
> \key = { \key a \major
>   }
> \time 4/4
> scale = {
>   A1
>   }
> 
> %  Score 
> \score {
>   \scale
>   }
> 
> %% End Snippet %
> 

One problem I can see (although it isn't obvious in the output) is that
the note in the \scale deinition should be 'a' not 'A'. That might be
the source of the 'unexpected =' error.

Can't help with the other questions though.



=
Cameron Horsburgh

=



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


Re: get an accidental to not print

2007-02-09 Thread Cameron Horsburgh
On Fri, Feb 09, 2007 at 03:17:01PM +0100, Adam Good wrote:
> Hi all,
> 
> sorry if this has been addressed already, it's hard for me to find any 
> reference in the archive.
> 
> ! = print the accidental manually
> ? = print a cautionary accidental
> 
> what about _don't_ print an accidental? like i write "cis" but don't 
> want it to print the accidental?
> 
[snip]
> 
> I hope this all makes sense, I can't find anything in the manual that 
> can help me.

I don't know if you could get this by changing accidental rules: check
section 9.1.1 'Automatic accidentals'
(http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Automatic-accidentals#Automatic-accidentals)
for more info.
-- 

=
Cameron Horsburgh

=



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


where to specify bar number commands?

2007-02-09 Thread Ed Stauff
I'm trying to turn off bar numbers using the following command, as 
specified in the documentation:


\property Score.BarNumber \override #'break-visibility = 
#end-of-line-invisible


LilyPond chokes on it with the following errors:

error: unknown escaped string: `\property'
error: syntax error, unexpected STRING, expecting '='

I've tried putting the command several places in the LilyPond file, but 
I still get the error.  Where is it supposed to go?


Thanks!

-- Ed

+---+
| Edward L. Stauff http://www.mewsic.com/Ed |
| Musician, software guru, author, bibliophile, cohouser, aikidoka, |
| husband, dad, microferroequinologist, woodworker, (order varies). |
| "Specialization is for insects." -- Lazarus Long (R. A. Heinlein) |
+---+



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


Re: where to specify bar number commands?

2007-02-09 Thread Graham Percival

Ed Stauff wrote:
I'm trying to turn off bar numbers using the following command, as 
specified in the documentation:

>
\property Score.BarNumber \override #'break-visibility = 
#end-of-line-invisible


That syntax is at least two years old.  Please read the documentation 
for your lilypond version -- hopefully this is 2.10.x.


Cheers,
- Graham


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