Re: Yamaha recall

2010-03-21 Thread Arjan Bos

On 21 mrt 2010, at 18:34, Valentin Villenave wrote:

 On Sat, Mar 20, 2010 at 11:20 PM, Hans Aberg haber...@telia.com wrote:
 Though off-topic, it is pretty funny to those interested in music.
 
 http://tinyurl.com/ygqt45q
 
 LOL -- funny indeed. I'm Fwding it to devel-chat :-)

There seems to be a dischord there

A.J.



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


Re: Dumb Emacs lilypond-mode question

2010-03-05 Thread Arjan Bos

On 28 feb 2010, at 08:11, James Bailey wrote:

 If I remember correctly, GUI apps don't by default load your $PATH, there's a 
 trick somewhere to get them to do it, I just don't remember where or how. But 
 that may be what you need.

The trick is not very simple. To have full control over your environment 
variables, like $PATH,  you need the file environment.plist in the ~/.MacOSX 
directory.

Here's my environment.plist. Please adjust it to your settings, because using 
it unmodified is asking for trouble. After changing it, you need to log out an 
log in to effectuate those changes.


environment.plist
Description: Binary data


However, this method can interfere with desktop apps that want some default 
library, instead one on your modified path. So what I do most of the time is to 
open a Terminal.app and issue the `open /Applications/Emacs.app' command. This 
gives me a GUI Emacs with terminal environment.


HTH,
Arjan

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


Re: Dumb Emacs lilypond-mode question

2010-03-05 Thread Arjan Bos

On 28 feb 2010, at 06:46, Tim McNamara wrote:

 I've had lilypond-mode working in Emacs for a year now, using Carbon Emacs on 
 Mac OS X 10.4.  Works great, kuds to whomever wrote the mode.  I just built 
 the latest Emacs 23.1 to give it a try; it initially didn't work with 
 Lilypond at all until I remembered I had to add the lilypond-mode .el files 
 to site-lisp inside Emacs.app.  So, did that and lilypond-mode is 
 automatically loaded when I open a .ly file.  Yay.  Everything looks fine, 
 syntax coloring works, etc.
 
 However, I can't compile.  C-c C-l results in Compilation exited abnormally 
 with code 127 (paraphrasing from memory here; there's also a /bin/bash 
 complaint too).  Interestingly C-c C-s launches the designated PDF viewer 
 (Preview) just fine, if I open a .ly file that has already been compiled and 
 has a rendered PDF already.
 
 This is not a new issue, when I tried to set up Carbon Emacs about a year ago 
 I had the same problem... but I can't remember the fix and hence that is the 
 dumb part of my question. I haven't been able to track the fix down in the 
 archives of the lilypond-user list, which is where I got the fix last year 
 IIRC.  Can anybody point me in the right direction?

Tim,

You can also customize Lilypond `M-x customize-group Lilypond' and change the 
`Lilypond lilypond Command' to something on your GUI path.

HTH,
Arjan

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


Re: Lilypond on iPhone

2010-02-06 Thread Arjan Bos

On 4 feb 2010, at 21:53, Dave Addey wrote:

 Hi all,
 
 I’m wondering if anyone has built or tried to build the Lilypond library for 
 the iPhone platform, to render engraved music on an iPhone-OS-powered device? 
  I’m considering this for an upcoming project, and wanted to ask a few 
 questions before diving in to trying it myself.  Here goes:
 
 1) How do you rate my chances of getting Lilypond to compile for the 
 ARM-based iPhone OS, especially given the number of libraries it depends on?
 
 2) Would there be any licensing issues in using Lilypond (and dependent 
 libraries) in a paid app on a closed platform such as the iPhone?

IIRC, the iPhone developer license states that it does not allow any 
interpreters on the iPhone. That's how they keep flash off the iPhone, but also 
for example, a Commodore 64 emulator. And since, as we all know, you can do 
anything in lilypond, thanks to the guile interpreter, my guess is that a 
LilyPond iPhone App won't make it to the App Store.

But it would be a nice challenge to get it working!

Arjan

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


Re: Strange page breaking issue in 2.13.10

2010-01-05 Thread Arjan Bos


On 4 jan 2010, at 17:57, Kieren MacMillan  
kieren_macmil...@sympatico.ca wrote:



Hi Reinhold,

Unfortunately, after inserting this forced \pageBreak the scores  
(except the
last), which before took only ~1.33 pages, suddently don't even fit  
on 2 pages

any more, but need 3 pages!


+1
I've noticed this kind of thing [a lot!] for a number of versions  
now — maybe starting 2.13.7 or so? — but haven't had the time to  
make a minimal example.
Forced page breaks definitely wreak havoc, though the effect seems  
to be minimized by changing the page-breaking mechansm (e.g.,  
optimal- vs minimal-).



Any ideas how I can get this score on 4 pages, with
-) 1 Title page
-) 2 pages for the next 4 scores
-) 1 page for the final score


I ended up taking advantage of my layout functions:

pageBreaksForbid = { \override Score.NonMusicalPaperColumn #'page- 
break-permission = ##f }
pageBreaksAllow = { \revert Score.NonMusicalPaperColumn #'page-break- 
permission }
lineBreaksForbid = { \override Score.NonMusicalPaperColumn #'line- 
break-permission = ##f }
lineBreaksAllow = { \revert Score.NonMusicalPaperColumn #'line-break- 
permission }


It's a hassle to do this manually — especially on a 40+ page score  
— but it was the only way to crank out the score in the required tim 
e.


Hope this helps!
Kieren.


Kieren,
You're a life saver (or at least a score book saver). I'm having great  
troubles with page breaking. So much that I've almost giving up on  
lilypond.


As a guitarist I need both hands to play. I can't turn pages, so bad  
page breaking makes a music engraver unusable.


I tried to make a minimal example, but it needed to be almost as  
complex as my 40 scores in a 22 page book. So I gave up on page  
breaking and lilypond. This might just bring me back.


Thank You so much!
Arjan

Sent from my iPhone



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



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


Re: Compiling times on this file

2009-11-27 Thread Arjan Bos
On 27 nov 2009, at 13:58, Father Gordon Gilbert fatherg...@gmail.com  
wrote:



Hi all,

Yesterday, I was dealing with fonts; today I'm wondering just what  
got into my code.


Perhaps the font cache is getting rebuild every time you compile? You  
mentioned that you were working on fonts before this happened.


For much of the time I have been working on this file, it's taken 5  
- 7 seconds to compile.  All of a sudden this morning, it started  
taking up to 30 seconds, and I haven't done anything radical.  Can  
someone have a look at my code and see if there is something really  
stupid in there that is slowing me down?





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


How to move StringNumber along Y-axis?

2009-02-08 Thread Arjan Bos

Dear list,

How do I move the StringNumber to below the Staff? I tried Y-offset  
but that didn't work. As a test to see if I had the correct syntax, I  
tried the X-offset and that /did/ work. Any ideas?


\version 2.12.2

\score {
  \relative c'' {
%% This override does not move the StringNumber. X-offset does  
work!

\override StringNumber #'Y-offset = #-10
c\31
}}


MoveStringNumber.pdf
Description: Adobe PDF document




Kind regards,
Arjan Bos___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to move StringNumber along Y-axis?

2009-02-08 Thread Arjan Bos


On 8 feb 2009, at 14:50, David Stocker wrote:


Hi Arjan,

\set stringNumberOrientations = #'(down)

More complete information at
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Inside-the-staff#Fingering-instructions


Stupid me was just looking at the technical information. I did not  
look at this part of the docs so I missed it. I did however peruse http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Fretted-string-instruments#Fretted-string-instruments 
 because I was typesetting for a fretted string instrument (a  
guitar). And from there I went to the Lilypond internals. But this  
works beautifully.


Thanks!

Arjan Bos



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


Re: Umlaute

2009-01-04 Thread Arjan Bos


On 4 jan 2009, at 19:31, Hasi wrote:


Do any of you know how I can use Umlaute?
I'd like to do the following:

_\markup { \italic hartnäckig }

it just comes out as hartnckig


Hasi,

Please save the file with UTF-8 encoding. Most editors offer this  
option on the save (as) menu.
If you need more help, please inform us of your OS, editor and  
lilypond version.


HTH,
Arjan

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


RE: warning: barcheck failed at: -5/8... but... WHERE?

2009-01-02 Thread Arjan Bos

On 1 jan 2009, at 22:22, Alberto Simões wrote:


Hello

I am having a strange error about barchecks.
Current version of the document is at
http://eremita.di.uminho.pt/~ambs/piano+voz.ly

If anyone can help, I would appreciate.
My output follows bellow.

Thank you
Alberto

--
GNU LilyPond 2.12.1
Processing `piano+voz.ly'
Parsing...
Interpreting music... [8]
piano+voz.ly:61:32: warning: barcheck failed at: -5/8
a4. a8 gis4 fis
  |


Alberto,
These errors are somehow caused by the \partial command. If I comment  
out all lines with \partial commands in them then I don't get any  
barcheck failures. And the -5/8 could be related to the \partial 8*5  
commands.
I wouldn't worry about it too much if I were you. The \partial command  
and the barchecks don't live well together. If your score is ok, then  
forget about the barcheck failures.


The Known issues and warnings about partial is worth a look too: http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-rhythms#index-_005cpartial-1 



HTH,

Arjan



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


Re: How to do a Barré in guitar music?

2009-01-01 Thread Arjan Bos
Back in February, I asked how to do a barré in guitar music as it is  
shown in the following picture:inline: Barrégreep.png You can find the tread here:http://www.nabble.com/How-to-do-a-Barré-in-guitar-music--to15530453.html#a15530453 

 This type of drawing used for a `small' type of barré. Daniel Tonda  
helpt me out wonderfully back then. I now want to take his solution a  
step further. His solution was to use the arpeggioBracket on  
hiddenNotes in a chord. I want to create a function that automates this.
However, I seem to be missing something, because the arpeggioBracket  
is missing from the output of this function.


Am I heading in the correct direction?
Am I missing something?

Kind Regards,
Arjan Bos

\version 2.12.0

barreBracket = #(define-music-function (parser location chord)
 (ly:music?)
 #{ \hideNotes
\arpeggioBracket
\voiceThree
\once \override Arpeggio #'padding = #-1.5
$chord #(make-music (quote ArpeggioEvent))
\unHideNotes
 #})

\score {
  \context Staff 
\context Voice {
  { \time 4/4 \key c \major
{ \barreBracket a' d''4 } a'4 d''4
  }
}
  
}


On 18 feb 2008, at 06:09, Arjan Bos wrote:



On 17 feb 2008, at 19:24, Daniel Tonda wrote:




2008/2/17, Daniel Tonda daniel.to...@gmail.com: You're absolutely  
right, I forgot about the accidentals, but they should also be  
transparent.

:)

Even better, remove the accidental and the barre will be a bit  
closer to the  notes.


Thanks a lot! I never thought to mis-use the arpeggio for this.  
Works like a charm!


A.J.


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


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


Re: Compiling on Mac OS X - succes!

2008-12-29 Thread Arjan Bos


On 28 dec 2008, at 22:03, Kim Shrier wrote:


The problem you are seeing:

Assertion failed: (pt-read_pos == pt-read_end), function  
scm_fill_input, file ports.c, line 978.


has to do with a bug in the scheme code that was fixed yesterday  
afternoon.

If you update your source from the git repository, it should work now.

Also, a better way to handle the problem with configure finding the  
wrong

FlexLexer.h file is to add the line:

  FLEXLEXER_FILE = /opt/local/include/FlexLexer.h

to local.make.  This way when you run the configure script, you will  
not
need to edit config.make anymore as the value in local.make will  
override

it.

One other problem you will run into is that the Century Schoolbook  
fonts
will not be found and you need to give configure some help.  When I  
run

configure, I use the following parameter:

  ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts

I have successfully built lilypond on 10.5 intel.  To summarize the  
steps:


1.  Get the latest sources from the git repository.
2.  Edit local.make to set the FLEXLEXER_FILE variable.
3.  Make sure that /opt/local/bin is in $PATH before /usr/bin
4.  make distclean
5.  ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts
6.  make all
7.  sudo make install

Kim


Kim,

I tried all that, but unfortunately, I got the following reply from  
`make all':

flex -Cfe -p -p -oout/lexer.cc lexer.ll
lexer.ll:595: multiple EOF rules for start condition longcomment
lexer.ll:621: warning, rule cannot be matched
lexer.ll:624: warning, rule cannot be matched
lexer.ll:693: warning, -s option given but default rule can be matched
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT=./out/lexer.dep ./out/ 
lexer.o g++ -c -Woverloaded-virtual  -I/System/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -I/System/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -fno-strict- 
aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common - 
dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/ 
include/ffi -DENABLE_DTRACE  -DHAVE_CONFIG_H  -DNDEBUG -I./include -I./ 
out -I../flower/include -I../flower/./out -I../flower/include  -O2 - 
finline-functions -g -pipe -I/opt/local/include -I/opt/local/include - 
D_THREAD_SAFE  -I/opt/local/include/freetype2 -I/opt/local/include   - 
I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/ 
local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ 
include   -Wno-pmf-conversions  -W -Wall -Wconversion -o out/lexer.o  
out/lexer.cc
cc1plus: warning: command line option -Wstrict-prototypes is valid  
for C/ObjC but not for C++
./out/FlexLexer.h:130: error: expected unqualified-id before numeric  
constant

make[1]: *** [out/lexer.o] Error 1

So, I removed line 130 in /opt/local/include/FlexLexer.h:
//  virtual int yywrap();

Then I did a
make clean  make all
And everything works!

So Kim,
Thanks a lot for making the Lilypond Mac OS X 10.5 place a lot brighter.

Arjan

Oh, and by the way:
zfRp:/usr/local/src/lilypond/lilypond ajb$ which flex
/opt/local/bin/flex




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


Re: Compiling on Mac OS X

2008-12-28 Thread Arjan Bos


On 28 dec 2008, at 22:03, Kim Shrier wrote:


The problem you are seeing:

Assertion failed: (pt-read_pos == pt-read_end), function  
scm_fill_input, file ports.c, line 978.


has to do with a bug in the scheme code that was fixed yesterday  
afternoon.

If you update your source from the git repository, it should work now.

Also, a better way to handle the problem with configure finding the  
wrong

FlexLexer.h file is to add the line:

  FLEXLEXER_FILE = /opt/local/include/FlexLexer.h

to local.make.  This way when you run the configure script, you will  
not
need to edit config.make anymore as the value in local.make will  
override

it.

One other problem you will run into is that the Century Schoolbook  
fonts
will not be found and you need to give configure some help.  When I  
run

configure, I use the following parameter:

  ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts

I have successfully built lilypond on 10.5 intel.  To summarize the  
steps:


1.  Get the latest sources from the git repository.
2.  Edit local.make to set the FLEXLEXER_FILE variable.
3.  Make sure that /opt/local/bin is in $PATH before /usr/bin
4.  make distclean
5.  ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts
6.  make all
7.  sudo make install

Kim



Kim,
Many thanks for helping us out! I will try this later tonight.

Arjan


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


Re: also, lyric help

2008-12-27 Thread Arjan Bos


On 26 dec 2008, at 21:35, James E. Bailey wrote:



Try:

upperVoice = \relative c'' {
%
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |

}

lowerVoice = \relative c' {
%
s1 |
c8[ d] e4 f g |
s1 |
c8[ d] e4 f g

}


textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

\score {

\context Staff = Upper 
\context Voice = one \upperVoice

\lyricsto one \new Lyrics { \textOne }
\context Staff = Lower 
\context Voice = two \lowerVoice

\lyricsto two \new Lyrics { \textTwo }

}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


I knew I would have to get into explaining this. There is no  
nesting. What I have are two verses, say,

{\autoBeamOff c8 d e4 f g}
and in the second verse,
{\autoBeamOff c8[ d] e4 f g}.
Engraving that isn't really a problem
\relative {\autoBeamOff {\voiceOne c8 d } \new Voice {\voiceTwo  
c8[ d] }\oneVoice e4 f g}
That's fine. I have it happening tons of times. The problem is then  
having lyrics automatically align to these notes. Usually I just  
name my voice context and be done with it:

\relative {
\context Voice = unbeamed notes
\autoBeamOff

{ \voiceone c8 d}
\context Voice = beamed notes { \voiceTwo c8[ d] }
 \oneVoice e4 f g
}
And then I automatically add text to it, using the above method.  
Problem is, with it happening 10 or more times in a single piece,  
I'm having problems aligning all of the lyrics to the appropriate  
notes.


Well, the way I do this is by doing exactly what Henning proposed:  
split your (almost) implicit voices in explicit, separate voices. The  
only problem I then have is filling up the second voice with enough  
spacer notes so that they are position correctly. I augmented the  
proposal with a few notes so as to make my idea clear. This makes the  
alignment of lyrics to notes automatically correct.


HTH,
Arjan



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


Re: rearrange music flow

2008-12-27 Thread Arjan Bos

On 26 dec 2008, at 18:41, Antanas Budriūnas wrote:


Hello Lily-users,

after few arrangements and engraving from my own manuscripts I'm
trying to move my composing work to Lilypond (without paper sheets). I
guess this is rare but IMHO worth to try.
Till now I puzzle over a problem each time when I need several
measures from one place in the score (all parts together, maybe with
lyrics) repeat somewhere in the middle of the piece or rearrange music
flow in general.
Some advance can be a naming (variables) relatively small chunks of
music, each bar or so. But this way source reading becomes
complicated.
I can imagine some intermediate element between Staff (StaffGroup) and
Score in the Lilypond hierarchy, which includes sevaral staves but
neither starts new line nor puts clef, key and time signature.
Maybe I'm missing something and a way does exist in Lilypond to
achieve such flexibility? (Sorry I'm not so brave to dive into Scheme
coding).



Hi Antanas,

Perhaps I'm not understanding your question, but it is possible to put  
almost everything in variables, including whole scores. So I'm very  
confident that it is possible to put something like:


\version 2.11.65
tenorVoice = \context Voice { \relative c'' { a4 b c d }}
tenorStaff = \context Staff { \tenorVoice }
\score { \tenorStaff }

Will this help you?

Regards,
Arjan




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


Re: also, lyric help

2008-12-27 Thread Arjan Bos


On 27 dec 2008, at 10:45, James E. Bailey wrote:



How is a voice (almost) implicit? I explicitly create the first  
voice unbeamed notes and then I explicitly create the second voice  
beamed notes. Both voices are explicitly created.

Mmm, My Bad. Entschuldigung. You do explicitly create two voices.
What I meant was voices created in the score block instead of creating  
a new voice inside another voice.



The problem I have is that when I switch between voices in my  
melody, the lyrics don't pick up when the voice comes back. Is that  
a bug?
I've got no idea if that's a bug or not, but the way I work around it  
is by having two \context Voice statements in my \score block. One for  
the unbeamed notes and one for the beamed notes. This allows me to  
attach the lyrics with \lyricsto o the voice with the unbeamed notes,  
just like the examples in the NR 2.1.3 Aligning lyrics to a melody.



Maybe I don't understand voice or lyrics contexts, but I read that  
things are carried over in a voice context. Bah. I guess I'll just  
do this the long way.


Kind regards,
Arjan Bos


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


Fwd: Compiling on Mac OS X

2008-12-27 Thread Arjan Bos


On 27 dec 2008, at 21:07, August Lilleaas wrote:

I were doing this on HEAD. Changed to 2.10.9-1, and (for some  
reason) doing make, then make all (both yielding errors) and then  
make worked.


After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
function declared in class 'yyFlexLexer'


Am I the only person that wants to run lilypond on a modern intel  
mac, or have I overlooked something?


I'm having the same problem. What I did to solve this is removing the  
line containing yywrap in FlexLexer.h. If you've been following  
Nicolas' guidelines, then that file is:

/opt/local/include/FlexLexer.h
and the line-number is arround 130

I tried this with HEAD  and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/current/ 
ly/init.lyAssertion failed: (pt-read_pos == pt-read_end), function  
scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap  /usr/local/src/lilypond/ 
lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/lilypond/ 
ly/generate-documentation


And now I'm at a loss, because I don't have a ports.c file on my  
computer (according to locate)


Can someone chime in here please? Or should I take my quest for Intel  
Mac OS X Lilypond to a developer list?


Kind regards,
Arjan Bos




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


Re: Segmentation fault on file with bookparts

2008-12-16 Thread Arjan Bos


On 15 dec 2008, at 20:11, Tim Reeves wrote:



Also ran successfully here on Win XP SP2, Lilypond 2.11.65, with  
many warnings. (different from above warnings!)


Here on Mac OSX 10.5.5 with lilypond 2.11.65 I also get a whole host  
of warnings and errors. Most of them are due to font issues:


lilypondoutput.log
Description: Binary data




HTH,
Arjan

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


Re: Parser error when including file

2008-11-22 Thread Arjan Bos


On 22 nov 2008, at 00:28, Johan Vromans wrote:


Yes it may seem weird, but it is logical.


It certainly seems weird and I can understand why it is. And I know it  
is very hard to write good parsing error messages, but if I now jump  
to the error, it jumps away from my typo into a perfectly correct  
file. And I can't help but wondering that it might be very useful if  
the error was pointing at the file with the actual error in it instead  
of pointing at a perfectly correct file.


Sigh, it seems I just have to live with it.

Thanks anyway for your reply,

Arjan




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


Parser error when including file

2008-11-21 Thread Arjan Bos

Dear list,

I have the following two files:

includeError.ly:
\version 2.11.63
#(define RH rightHandFinger)

and
includedError.ly:
y\version 2.11.63

\include includedError.ly

And if I compile the second file, the parser tells me that the first  
file is missing an '='.
includedError.ly:2:0: error: syntax error, unexpected SCM_TOKEN,  
expecting '='.


This is of course because of the extra `y' in the first position of  
the first line ofe includedError.ly
It would be helpful if either the correct file is targeted, that the  
weird init.ly error is thrown.


Is this something I have to learn to live with or is it within the  
possibilities of the developers to create a more descriptive error  
message?


Met vriendelijke groenten,
Arjan Bos



includeError.ly
Description: Binary data


includedError.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: Parser error when including file

2008-11-21 Thread Arjan Bos

From: Arjan Bos [EMAIL PROTECTED]
Date: 21 november 2008 23:03:02 GMT+01:00
To: Jan van Dijk [EMAIL PROTECTED]
Subject: Re: Parser error when including file

Yes you are right, and I perfectly understand the error.
However, the error is signalled in the other file!  And sadly, this is  
not really useful when debugging my score. I see that I mixed up the  
names, but  a typo in file A.ly leads to an error message in file B.ly  
when file B.ly is included in A.ly.


Hope this clarifies the issue a bit.

Arjan



On 21 nov 2008, at 22:48, Jan van Dijk wrote:


Dear Arjan,

Your file includedError starts with the declaration of a variable: y
Hereafter lilypond expects an =
For example: y = test

I think the y is a typo.
When you remove this letter, your problem should be solved.

Kind regards,
Jan van Dijk.




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


Re: How to create a double glissando?

2008-10-24 Thread Arjan Bos


On 23 okt 2008, at 17:55, Kieren MacMillan wrote:


Hi Arjan,


all within the same voice


You can attach each gliss to hidden notes in two separate Voice  
contexts and then combine them into the Staff with the other two  
Voices (which contain the visible notes).

But otherwise you can't do it in Lilypond, I think…


Ok, thanks, I'll try it!

Arjan

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


Re: How to create a double glissando?

2008-10-24 Thread Arjan Bos


On 23 okt 2008, at 17:55, Kieren MacMillan wrote:


Hi Arjan,


all within the same voice


You can attach each gliss to hidden notes in two separate Voice  
contexts and then combine them into the Staff with the other two  
Voices (which contain the visible notes).

But otherwise you can't do it in Lilypond, I think…


This is my solution. Note that the hidden notes share the same voice,  
voiceTwo, and that it is a different voice from the the `real' notes.  
This automatically merges the noteheads of the hidden notes with the  
ones they replace. Otherwise an ugly gap appears between the `real'  
note and the start of the glissando.


\version 2.11.62
\score {
  \relative c'' {
\time 3/2
%% double glissando
 { \voiceOne r8 e a e g d g d e c e c | } \\
   { \hideNotes \voiceTwo s4 a'4\glissando g8 s s4 s4 s4  
\unHideNotes  | } \\
   { \hideNotes \voiceTwo s8 s4 e4\glissando d8 s4 s4 s4  
\unHideNotes | } \\

   { \voiceFour a,1. }
 

  }
}

So Kieran, thanks a lot for pointing me in the right direction!

Arjan

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


How to create a double glissando?

2008-10-23 Thread Arjan Bos

Dear list,

I would feel priviliged if I can tap into your wealth of knowledge on  
all things lilypond. The thing that's bugging me at the moment is that  
I cannot figure out how to create a double glissando where the first  
glissando goes from note 2 to note 4 and the second glissando goes  
from note 3 to note 5, all within the same voice. This is a silent  
glissando that's meant to indicate that the guitar player's fingers  
slide up or down a fret.


Please see attached picture for an example.
inline: double glissando.png


Kind Regards,

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


Re: another emacs osx question

2008-09-18 Thread Arjan Bos


On 18 aug 2008, at 13:33, James E. Bailey wrote:

Now that emacs can actually run lilypond, I have another problem, I  
can't run a command on the master file: it doesn't escape the spaces  
in filenames or folder names. Is there any way I can change this?


James,
I hope that you've already found your answer, I'm getting a bit behind  
in reading the list.
What I did was for emacs to call lilypond as its Lilypond Lilypond  
Command. Then on my path, I have created a lilypond shell-script  
conform the guidelines given in the docs: http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/MacOS-X-on-the-command_002dline#MacOS-X-on-the-command_002dline


To find the `Lilypond Lilypond Command' in emacs, you can do the M-x  
customize-apropos [RET] lilypond [RET] thing to see everything  
customizable about lilyponds emacs mode.


HTH,
Arjan



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


Re: substitution with \movement

2008-06-12 Thread Arjan Bos


On 11 jun 2008, at 23:48, Graham Percival wrote:



Rewriting the parser for such a trivial thing would be a waste of
resources.  Just get used to typing #, just like {} or ,' or any
other piece of lilypond input.  The docs are supposed to use #
all the time, to reinforce this point.


If it were only for `#' denoted strings, I agree with you, but there  
are plenty of other inconsistencies in the LilyPond syntax that are  
fully understandable from the viewpoint of the program, but make  
almost no sense from the user's. For example, I do understand the  
differences between \set \override and \tweak and when to apply them.  
The differences have to do with the type of objects you're dealing  
with. But I don't know those by heart. I have to look up which one it  
is everytime I need an \override or \set or \tweak. When rewriting the  
parser / lexer to do more work for us, it would be nice to see these  
three commands unified into one and have LilyPond figure out which one  
to apply. And I'm sure others have similar examples.


And, to make it clear, I'm font of the scheme expandability of  
LilyPonds syntax, it's just that maintaining a source-file with lot's  
of strings in them can be very awkward.


But to reiterate, this might be a lot of work. So this would be  
something to think about for the next year or so and only then perhaps  
implement.


Groeten,
Arjan


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


Re: substitution with \movement

2008-06-11 Thread Arjan Bos
May I chime in a bit here? This prodding of the scheme interpreter is  
one of the few things I do not like in the lilypond syntax. I do love  
LilyPond and as a programmer at heart, I adore its syntax. However, as  
a programmer, it is my duty to let the computer do the work instead of  
the user. This resonates badly with the scheme intergration in the  
lilypond syntax. To my mind, it should be possible for the parser or  
lexer to do a lot more work so that the scheme interpreter is woken-up  
automatically instead of being prompted by a token in the syntax. This  
will result in a much cleaner .ly files.


I'm sure we've all had that feeling. Starting of with typesetting a  
simple melody and then enhancing the lay-out bit by bit until the  
notes are buried underneath a stack of lay-out commands. I do my best  
to separate lay-out from content, but there are situations where this  
is either not possible (like in fingering instructions) or not  
advisable (like with the dynamics). Opening up one of my guitar  
scores, I am daunted by the fact that it looks so complicated that I  
need lots of comments not to get lost.


I am fully aware that it will be a lot of work on the developers side  
to implement this. But please consider it. Let it burn on the back- 
stove for a while, let it stew and when you are ready, please consider  
implementing it. It would make the source-code of our nice looking  
scores so much simpler to read. (And yes, I did consider doing it  
myself, but I'm more a COBOL-guy ;-) )



Kind regards,
Arjan


On 11 jun 2008, at 12:33, Valentin Villenave wrote:


2008/6/11 Stefan Thomas [EMAIL PROTECTED]:


But unfortunately this doesn't work:
langsamer = {  \movement subito meno mosso 4 #69 }


You have to add a # before each quoted string:

langsamer = {  \movement #subito meno mosso #4 #69 }

It's in order to tell the Scheme interpreter: hey, wake up! Here's a
string for you!

Cheers,
Valentin


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




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


How to show a small glissando?

2008-05-22 Thread Arjan Bos

Dear list,

Could someone please show me how to make a \glissando appear when the  
notes are very close to each other?


See this small example:
\version 2.11.45

\paper { ragged-right = ##t } %% makes the first \glissando disappear

\score {
  \relative c'' {
es8\glissando d4.~ d2 \glissando |
e1 |
  }
}

inline: Disappearing Glissando.png



Thanks in advance,

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


Re: How to show a small glissando?

2008-05-22 Thread Arjan Bos

Thanks Mats,

I looked at the Internal Reference Manual, but I would never have  
guessed the solution. But it worked like a charm.


Arjan

On 22 mei 2008, at 13:04, Mats Bengtsson wrote:

If you add the following two lines before the first note, the note  
spacing will be adjusted, when
necessary, to give each glissando a minimum length (which is long  
enough that it's also printed).


\override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
\override Glissando #'minimum-length = #4


  /Mats

Arjan Bos wrote:

Dear list,

Could someone please show me how to make a \glissando appear when  
the notes are very close to each other?


See this small example:
\version 2.11.45

\paper { ragged-right = ##t } %% makes the first \glissando disappear

\score {
 \relative c'' {
   es8\glissando d4.~ d2 \glissando |
   e1 |
 }
}







Thanks in advance,

Arjan



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



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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


Small crescendo documentation improvement suggestion

2008-05-19 Thread Arjan Bos

Hi list,

I just tried to make a cresc. poco - - -  crescendo in version  
2.11.46. Since I had no clue how to do it, I went to the  
documentation. And thanks to the new structure finding the correct  
page was a breeze. It's on page http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Dynamics#Dynamics 


However, the suggested solution did not work.

This is in the documentation:

\version 2.11.46
\relative c' {
  \set crescendoText = \markup { \italic cresc. poco }
  \set crescendoSpanner = #'dotted-line
  a'2\ a a a a a a a\!\mf
}

And this is what worked

\relative c' {
\set crescendoText = \markup { \italic cresc. poco }
\set crescendoSpanner = #'text
\override DynamicTextSpanner #'style = #'dotted-line
a'2\ a a a a a a a\!\mf
}

Is this a bug in LilyPond or in the docs?

Greetings,
Arjan Bos




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


Re: emacs mode test file

2008-05-10 Thread Arjan Bos

James,

AFAIK there is no such file. Maybe there should be one for regression- 
testing purposes? Perhaps the best way to go is to start with your own  
files and fix all the colouring options.


However, I don't know how familiar you are with the emacs variety of  
lisp, elisp, but as you know lilypond ships with a complete emacs  
mode. You could try to read that in order to re-create it for nano.  
Basically the file lilypond-font-lock.el defines the different levels  
of colouring. Looking at it, the colouring is split into several  
regexp's that evaluate to a face. And a face is basically a colour and  
some other markup on a font.
So you could create an index per font-lock-*-face and check what it  
does. This could give you a head start on what types of syntax get  
which colours.


Oh, and it uses a generated file for the keywords called lilypond- 
words.el. Perhaps you could build on that?


HTH,
Arjan

On 9 mei 2008, at 08:54, James E. Bailey wrote:

is there a file that shows all of the pretty color options that the  
emacs mode shows? I may attempt a nanorc that does something  
similar, and I'd just like to know what options there are. Rather,  
I'd like to know what emacs does so I can emulate it somewhat.



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




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


Re: crash on 10.4.11

2008-04-27 Thread Arjan Bos
If, as you say, the size has doubled, then it looks either like it has  
become a universal binary or that it has debugging info in it.


Does it still work from the Terminal.app?

Arjan

Sent from my iPod

On 27-apr-2008, at 0:24, Stan Sanderson [EMAIL PROTECTED]  
wrote:




On Apr 26, 2008, at 4:54 PM, Graham Percival wrote:


2.11.45 works on on *Intel*  OSX 10.4.11.  I guess the ppc build is
broken.


Thanks to all for the confirmation.

Not so cheery,

Stan




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



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


Re: Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-11 Thread Arjan Bos


On 10 apr 2008, at 13:24, Sven Axelsson wrote:


This is how make ends:
No rule to make target `out/lilypond.info', needed by `default'.   
Stop.


I found that this is the cause:
/opt/local/bin/perl /usr/local/src/lilypond/lilypond/buildscripts/out/ 
help2man out/lilypond-invoke-editor  out/lilypond-invoke-editor.1

help2man: can't get `--help' info from out/lilypond-invoke-editor
make[1]: *** [out/lilypond-invoke-editor.1] Error 1
make: *** [all] Error 2

I tried a peek at ./scripts/out/lilypond-invoke-editor, but since  
there is no string-literal --help in there, I'm a bit at loss.


HTH,
Arjan


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


Re: choir music, easy piano reduction and dynamics

2008-04-01 Thread Arjan Bos


On 31 mrt 2008, at 14:59, James E. Bailey wrote:

I'm wondering if there's an easy way to generate a piano reduction  
from a choral piece but without all of the dynamics. The choir parts  
all have their dynamics, but the piano part shouldn't. And the handy  
snippet I found generates a piano part with all the dynamics showing.


I know this won't help you with an already finished score, but  
recently I've started to put all my dynamics in a separate Voice which  
contains only dynamic marks and spacer notes. The spacer notes help me  
to layout the dynamics exactly the way I want, starting at the  
position I would like. And of course, it makes it much more convenient  
to create a reduced score that includes the dynamics. I just add the  
dynamicsVoice to the pianoScore or to the guitarScore.


Hope this helps,

Arjan



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


Re: choir music, easy piano reduction and dynamics

2008-04-01 Thread Arjan Bos


On 1 apr 2008, at 16:12, Mats Bengtsson wrote:




Arjan Bos wrote:
Ah, I remember that thread. It is what gave me this idea in the  
first place.  The problem of centered dynamics crossing bar lines  
does not apply to most of my music, which is polyphonic classical  
guitar these days. It does however solve the problem of aligning  
the hairpins to last note in a sequence which can be in the upper  
or lower voice. My solution keeps all dynamics in one place instead  
of scattering them over my voices, thus helping maintainability and  
helping me in creating the desired length in hairpins.
Yes, keeping them in a separate variable/identifier can be a good  
idea.
What I questioned is if it's a good idea to keep them in a separate  
Voice

context, which has nothing to do with the use of variables.


Ah, that makes more sense! However,  to me the dynamics are part of  
the whole piece of music and should be attached at Staff level, not at  
Voice  level. So that's why I put them in a separate Voice. But I will  
keep your tips in mind when a problem crops up.


Thanks,
Arjan



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


\arpeggioUp with connected voices

2008-03-07 Thread Arjan Bos

Dear List,

Could anyone please tell me how I can do an arrowed arpeggio with  
\arpeggioUp when two voices share the arpeggio?
I've tried this (adjusted from http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Arpeggio#Arpeggio 
):


\version 2.11.39
\score {
  \new StaffGroup {
\set Score.connectArpeggios = ##t

  \new Voice \relative c' {
\arpeggioUp
e g4\arpeggio
  }
  \new Voice  \relative c {
\clef bass
\arpeggioUp
c e4\arpeggio
  }

  }
  \layout {
\context {
  \Score
  \consists Span_arpeggio_engraver
}
  }
}

but that gives an unarrowed arpeggio:


arpeggioUp.pdf
Description: Adobe PDF document





Thanks,
A.J.


---
People have believed for hundreds of years that newts in a well mean  
that the water's fresh and drinkable, and in all that time never asked  
themselves whether the newts got out to go to the lavatory.


-- (Terry Pratchett, Reaper Man)

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


Re: Introducing OrchestralLily: A package to easily create complex orchestral scores in lilypond

2008-03-03 Thread Arjan Bos



Sent from my iPod

On 2-mrt-2008, at 17:57, Reinhold Kainhofer [EMAIL PROTECTED]  
wrote:



I'm happy to finally present my latest project:

OrchestralLily

A package for lilypond to easily create orchestral scores
Version 0.01
http://wiki.kainhofer.com/lilypond/orchestallily


Reinhold,
This looks like a very impressive macro package. Looking at your wiki  
and studying the .my file, I get a sense that it has the potential to  
get Lilipond to the next level. Not unlike what LaTex did for Tex.


Unfortunately, the music I'm writing mainly polyphonic classical  
guitar music on one star. So I can't use of for now, bit I'll  
definitely keep a weather eye open for it.


A.J.


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


Re: Full bar rests in multi-voiced piano scores -- question and asuggestion

2008-02-26 Thread Arjan Bos

Hi,
I normally use \oneVoice r4 \voiceOne in the first voice and s4 in the  
second voice. This makes the rest a normal (merged) rest instead of a  
rest belonging to a specific voice.


HTH,
Arjan

On 25-feb-2008, at 11:50, Trevor Daniels [EMAIL PROTECTED]  
wrote:




Hi David

I've made a note to add something about this in the section of the  
NR that deals with rests.  I should get to that in the next few days.


Trevor D


-Original Message-
From: [EMAIL PROTECTED]
[mailto:lilypond-user-bounces+t.daniels=treda.co.u
[EMAIL PROTECTED] Behalf Of
David Fedoruk
Sent: 25 February 2008 09:37
To: Lilypond mailing list
Subject: Re: Full bar rests in multi-voiced piano
scores -- question and
asuggestion


OK, I think that's partially what I am asking
about. I would just
never have found that myself. I would have asked
the wrong question.

I think that Zbynek and I might be asking the
same question. Language
is the barrier for both of us.

Let me re-phrase my question to see if I understand this:

Normally a half or whole rest sits on the middle
line. The exception
is where there are multiple voices on one staff.
There is yet another
exception to the exception. In piano music, even
though there may be
two voices which are resting, for clarity the two
rests which would
sit one above the other, are merged into one rest



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


Re: How to do a Barré in guitar music?

2008-02-17 Thread Arjan Bos


On 17 feb 2008, at 19:24, Daniel Tonda wrote:




2008/2/17, Daniel Tonda [EMAIL PROTECTED]: You're absolutely  
right, I forgot about the accidentals, but they should also be  
transparent.

:)

Even better, remove the accidental and the barre will be a bit  
closer to the  notes.


Thanks a lot! I never thought to mis-use the arpeggio for this. Works  
like a charm!


A.J.


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


Re: Arpeggio in the wrong bar

2008-01-13 Thread Arjan Bos


On 12 jan 2008, at 17:56, Valentin Villenave wrote:


2008/1/12, Arjan Bos [EMAIL PROTECTED]:


This only occurs when the arpeggio mark applies to a chord with
fingering in it and when that same arpeggio mark spans two or more
voices. Are there any ideas on this list on how to prevent it?


AFAICT, you will have to set your fingeringOrientations to 'up, and
then manually find the right way to move your fingerings where you
need to.


Thanks for the tip. I think I'll use a pencil to update the printed  
version with the fingering. It's for private use only, so that is a  
feasible solution.


Arjan


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


Arpeggio in the wrong bar

2008-01-12 Thread Arjan Bos

Hello,

Many thanks to the developers who made it possible to work with  
Arpeggios over different voices. It works very well...
Except in 2.11.37 when fingering is applied to part of the chord. Then  
the arpeggio mark is moved to the previous bar as in this almost  
minimal example:




ArpeggioFingeringSmall.pdf
Description: Adobe PDF document



This only occurs when the arpeggio mark applies to a chord with  
fingering in it and when that same arpeggio mark spans two or more  
voices. Are there any ideas on this list on how to prevent it?


Many thanks in advance,

Arjan

And here's the source:

\version 2.11.37

\score {
  \context Staff = guitar 
 \context Voice = guitarA {
   \voiceOne
   \set fingeringOrientations = #'(right)
   \relative c'' {
 \set Staff.connectArpeggios = ##t
 a1 |
 a-2 c-1 e2.\arpeggio e'4 |
   }
 }
 \context Voice = guitarB {
   \voiceTwo
   \relative c' {
 a2 g |
 a2\arpeggio e  |
   }
 }
  
  \layout {
ragged-right = ##t %% otherwise the problem won't show.
\context {
  \Staff
  \consists Span_arpeggio_engraver
}
  }
}


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


Fwd: LILYPOND_DATADIR in 2.10

2007-03-18 Thread Arjan Bos


On 18 mrt 2007, at 5:32, Graham Percival wrote:



Did you know that instead of editing your .profile to set  
environment variables for that specific bash session,


I don't understand -- modifying .profile will effect the  
environment for every bash session.


It will, but you will have to startup the Terminal.app in order to  
get the environment variables.
I agree that .profile updating is simpler. But now your environment  
variables are set even if you start Lilypond, Emacs or jEdit from the  
Finder.




you can set them globally for every program by creating a  
environment.plist in ~/.MacOSX with the following content:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN  
http://www.apple.com/DTDs/PropertyList-1.0.dtd;

plist version=1.0
dict
keyPATH/key
string/Users/arjanbos/bin:/sw/bin:/sbin:/bin:/usr/bin:/usr/ 
sbin:/usr/X11R6/bin:/usr/local/bin/string /dict

/plist


The bash way (ie the standard unix way) looks a lot simpler.  In  
addition, anybody familiar with unix will already know how to do it.


Cheers,
- Graham


---
They both savoured the strange warm glow of being much more ignorant  
than ordinary people, who were only ignorant of ordinary things.


-- Discworld scientists at work  (Terry Pratchett, Equal Rites)


---
Nature abhors dimensional abnormalities, and seals them neatly away  
so that they don't upset people. Nature, in fact, abhors a lot of  
things, including vacuums, ships called the Marie Celeste, and the  
chuck keys for electric drills.


-- (Terry Pratchett, Pyramids)



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


How do I move a \markup down?

2007-03-16 Thread Arjan Bos

In the following snippet, the \markup is to far from the system.

%% -- snip
\version 2.10.20

%% uncommenting the next line will result in an error.
%%\override TextScript #'staff-padding = #0.1
\markup{\small 5. Variation (freier Anschlag)}
\score { d''4 }

%% -- snip

However, if I want to override either the padding or the staff- 
padding, lilypond tells me that the \override is unexpected. So how  
do I move down the markup?


Regards,
Arjan Bos

---
Look, that's why there's rules, understand? So that you think before  
you break 'em.


-- (Terry Pratchett, Thief of Time)



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


Re: LILYPOND_DATADIR in 2.10

2007-03-15 Thread Arjan Bos


On 14 mrt 2007, at 21:38, Graham Percival wrote:


Arjan Bos wrote:

On 28 feb 2007, at 4:19, Graham Percival wrote:

Dan Eble wrote:
The NEWS for 2.11 says that The environment variable  
LILYPONDPREFIX has been
renamed to LILYPOND_DATADIR.  If that is new for 2.11, why are  
versions of 2.10

complaining about it?  This is on Mac OS X 10.3 (PowerPC).


Thanks for the report.  This appears to be fixed in 2.10.20.

Hi,
I just downloaded 2.10.20-1 for MacOS X and I had to replace the  
following line in lilycall.py to fix the problem:

# env['LILYPONDPREFIX'] = prefix + '/share/lilypond/current'
env['LILYPOND_DATADIR'] = prefix + '/share/lilypond/current'


Sorry, remind me how to trigger this -- I don't get any error  
messages when compiling a simple ly file with 2.10.20-1 on OSX Intel.


I'm using  the PowerPC 10.4 variety.
In my path, I have ~\bin.
In there I have a command called lilypond that calls
# run the program

python $INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py \
  $INSTALLDIR/LilyPond.app/ $*

where $INSTALLDIR is /Applications

The lilycall.py in my version of 2.10.20-1 sets the environment value  
LILYPONDPREFIX and that triggers the error message.


So when I just invoke lilypond from the command-line, it will invoke  
lilycall.py and it will issue the error message. It does this even  
without input:


zaafMac:~ arjanbos$ lilypond
GNU LilyPond 2.10.20
error: LILYPONDPREFIX is obsolete, use LILYPOND_DATADIR

Making the change as suggested above yields:
zaafMac:~ arjanbos$ lilypond
GNU LilyPond 2.10.20
Usage: lilypond [OPTION]... FILE...

(etc.)

Perhaps my way of working under Mac OS X 10.4 is outdated. (...  
browsing through the docs ...)
Ah, Indeed it appears that I have an outdated version of the lilypond  
script in my ~/bin.
Does this mean that lilycall.py is obsolete? If so, then please  
remove it, or replace it with a message that says to update the ~/bin  
run scripts.


By the way,

Did you know that instead of editing your .profile to set environment  
variables for that specific bash session, you can set them globally  
for every program by creating a environment.plist in ~/.MacOSX with  
the following content:


?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http:// 
www.apple.com/DTDs/PropertyList-1.0.dtd

plist version=1.0
dict
keyPATH/key
	string/Users/arjanbos/bin:/sw/bin:/sbin:/bin:/usr/bin:/usr/sbin:/ 
usr/X11R6/bin:/usr/local/bin/string

/dict
/plist

To add more environment variables, add the key and the string.
Read http://manuals.info.apple.com/en/Command_Line_v10.4.pdf for  
more info, and search for environment.plist.


HTH,
Arjan

---
Multiple exclamation marks are a sure sign of a sick mind

-- (Terry Pratchett, Mort)



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


Fwd: What is a system?

2007-03-15 Thread Arjan Bos


Thanks to you both!


On 14 mrt 2007, at 12:37, Robert Memering wrote:


Am Mittwoch, 14. März 2007 12:05 schrieb David Bobroff:
You almost had your answer with one line of music.  In the case  
of a

single staff instrument it is one line of music.  For something like
piano music it is one line of the grand staff.  Likewise, for a
conductor's score it is one line for everything in the score, often a
single system per page.


By the way:

Traditional German (and Dutch?) terminology is different:
A staff is a System, and a system is an Akkolade.

However, it seems that System is increasingly used
for a line of music (i.e. set of staves), like the English term.

Regards,
Robert





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


What is a system?

2007-03-14 Thread Arjan Bos

Dear list,

For a few years now I've been working around this issue, but it  
finally caught on to me. It might be my lack of understanding of  
musical english, but:

What is a System in for example between-system-padding?

Is it one line of music? Is it one score? is it a set of bars? Is it  
everything that fits on one page?
Could someone please point me to the right part of the documentation  
where system is defined in clear english?


Thanks a lot,
Arjan




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


How to switch the articulation and the righthand fingering

2007-03-13 Thread Arjan Bos

Hi List,

I'm  currently trying to typeset some old copies of Anton Stingls  
guitar book 30 Lehrstücke in den leichten Tonarten. And I'm having  
some troubles getting both the articulation  and the righthand  
fingering i on the same note in the order that I want it. No matter  
what I try, the i is always above the  and I want it the other  
way around. Could someone please shine some light on what is going on  
here?


\version 2.10.20
\score {
  \new Staff {
\set strokeFingerOrientations = #'(up)
d''-\rightHandFinger #2 - 
\once \override Script #'script-priority = #-100
d''-\rightHandFinger #2 - 
\once \override  StrokeFinger #'script-priority = #-100
d''-\rightHandFinger #2 - 
\once \override  StrokeFinger #'script-priority = #-100
d''--\rightHandFinger #2 
  }
}

Thanks in advance,
Arjan

btw: I really dig the new \rightHandFinger notation!


ScriptPriority.pdf
Description: Adobe PDF document


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


Re: LILYPOND_DATADIR in 2.10

2007-03-12 Thread Arjan Bos


On 28 feb 2007, at 4:19, Graham Percival wrote:


Dan Eble wrote:
The NEWS for 2.11 says that The environment variable  
LILYPONDPREFIX has been
renamed to LILYPOND_DATADIR.  If that is new for 2.11, why are  
versions of 2.10

complaining about it?  This is on Mac OS X 10.3 (PowerPC).


Thanks for the report.  This appears to be fixed in 2.10.20.


Hi,
I just downloaded 2.10.20-1 for MacOS X and I had to replace the  
following line in lilycall.py to fix the problem:


#   env['LILYPONDPREFIX'] = prefix + '/share/lilypond/current'
env['LILYPOND_DATADIR'] = prefix + '/share/lilypond/current'

Groetjes,
Arjan

---
Multiple exclamation marks are a sure sign of a sick mind

-- (Terry Pratchett, Mort)



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


Re: lyrics and \skip

2007-03-12 Thread Arjan Bos


On 16 feb 2007, at 12:08, Dominic Neumann wrote:


Hi,

I have a song with two parts. The first has also one lyrics line (the
refrain). the second part has three lyrics lines (the verses). I have
the lyrics in the vars refrain, verseOne, verseTwo and verseThree.

If I try to add them via \addlyrics, all lyrics begin at the first
bar. Then I found the command \skip, but it only skips one note and
things like mentioned in the manual \skip 1*8 don´t work (also only
skip one note).

Is there a better way to do this than inserting hundreds of skips into
the lyrics?

Dominic


The solution proposed by Mats still completely eludes me. It does  
something with the difference between \new lyrics and \context lyrics  
and the differences are still not clear to me, even after using  
lilypond for more than 2 years.


The solution I have is very simple. I just insert the following in  
every .ly file and use some binary counting for my skips.


skipOne = \lyricmode { \skip 1 }
skipTwo = \lyricmode { \skipOne \skipOne }
skipFour = \lyricmode { \skipTwo \skipTwo }
skipSix = \lyricmode { \skipTwo \skipFour }
skipEight = \lyricmode {\skipFour \skipFour }
skipSixteen = \lyricmode {\skipEight \skipEight}
skipThirtytwo = \lyricmode {\skipSixteen \skipSixteen }

And if I then need a \skip 1 * 40  I simply insert a \skipThritytwo  
\skipEight into my lyrics.


HTH,
Arjan


---
A marriage is always made up of two people who are prepared to swear  
that only the other one snores.


-- (Terry Pratchett, The Fifth Elephant)



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


Fwd: lilypond and editors

2006-12-11 Thread Arjan Bos




On 7 dec 2006, at 22:09, Thomas Scharkowski wrote:


Just curious:
what's wrong with jEdit?
Thomas


Remember: While all editors can save your files, only one can save  
your soul.

(Per Abrahamsen on alt.religion.emacs)

Arjan



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


Re: OS X question about Apple's Preview

2006-12-07 Thread Arjan Bos


On 7 dec 2006, at 21:33, Trevor Bača wrote:


Hi,

Not a direct Lily question, but useful nonetheless:

Any OS X folks know how to tell Apple's Preview application -- from
the commandline -- to close foo.pdf (but leave other pdfs open, ie,
without actually killing the Preview process)?


The most obvious way would be to use Applescript, unfortunately,  
Applescript isn't supported by Preview.app. But macworld.com has the  
solution: http://www.macworld.com/weblogs/macosxhints/2006/10/ 
previewscript/index.php


Here they turn on Applescript from the command line with:
defaults write /Applications/Preview.app/Contents/Info  
NSAppleScriptEnabled -bool YES


And then you can close a window with:

tell application Preview
close window 1
end tell

I have not yet used it, but presumably, every OS update that also  
updates Preview.app will override this setting back to the default.


Some quick experimenting results in:

tell application Preview
repeat with i from 1 to number of windows
set current_window to item i of windows
set current_name to name of the document of the current_window
if current_name is AdemVanEeuwigheid.pdf then
close window i
exit repeat
end if
end repeat
end tell

Where AdemVanEeuwigheid.pdf is a pdf of a lilypond score.

Perhaps you can make this into a folder action that executes on the  
directory where your pdfs are created in?



HTH,
Arjan

---
They both savoured the strange warm glow of being much more ignorant  
than ordinary people, who were only ignorant of ordinary things.


-- Discworld scientists at work  (Terry Pratchett, Equal Rites)



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


Re: Music for the Martians?

2006-11-28 Thread Arjan Bos

Please find included the untested patch for more fingers.

diff --git a/scm/output-lib.scm b/scm/output-lib.scm
index 2978f3b..d92f30c 100644
--- a/scm/output-lib.scm
+++ b/scm/output-lib.scm
@@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1

 (if ( digit 5)
(ly:input-message (ly:event-property event 'origin)
- Music for the martians))
+			  (string-append Warning: Fingering notation for finger number  
 (number-string digit

 (number-string digit 10)
   ))

And why it took so long:

Mmph, Software hate alert! (Oh and please, do not answer this part as  
I won't react to it)


Let me bore you with my rant on how to create a patch as requested:

rant
When trying to be helpful and create a patch, I noticed that the  
development switched from CVS to GIT. Why? Now I have to find out  
what git is, how it works and how to get it. First try Fink as that's  
the semi-default package manager on Darwin. It cannot connect to cvs  
to update itself. The error message tells me to try again later.  
Mmph, only later it still doesn't work. Turns out I have to run an  
update script that is almost guaranteed not to work and which should  
be babysitted for several hours. Hate.
Then it turns out that Fink doesn't know about git either, so I have  
to get it myself.

Grab the tar, put it in /usr/local/src/ and run ./configure.
What? No configure? Why does it not adhere to some sane standards!  
Now I have to read the install file.
Ok I have to run make configure first. Why didn't they do that for me  
in the release version? Hate.

Make configure
./configure
Make all docs
make: *** [doc] Error 2. Turns out I don't have asciidoc and neither  
does fink. How stupid. So where do I find a correct version of  
asciidoc and why didn't ./configure tell me that I needed it? Hate.


Where can I find has asciidoc? Stupid sourceforge has it which cannot  
handle its own bandwith. So I have to wait 25 minutes for it to  
download 743KBytes. On a 4Mbit ADSL line. I hate that!


asciidoc requires python 2.4.2. How do I find out the version number?
arjanbos$ python --version
Unknown option: --
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

I hate that when programs don't adhere to sane standards.
arjanbos$ python -V
Python 2.4.2

I have to install it like this:
$ su
# ./install.sh

What? I don't even have a root account enabled on this machine! Why  
do you want me to become root you stupid program!


So asciidoc is installed, Will git compile now?
make[1]: xmlto: Command not found
make[1]: *** [git-add.1] Error 127

Please? What is xmlto?
Luckily fink knows about it. And apparently, it has to install 35  
extra packages to do some simple xml.


Then I have to checkout the source-code from git. This takes ages!  
What is it doing? Why does it have to resolve 14885 deltas when it  
could just get me the latest source?


So finally I'm in a position where I can find the message, make the  
change and be done with it.


So let git show the diff
git diff

diff --git a/scm/output-lib.scm b/scm/output-lib.scm
index 2978f3b..4e2ac2a 100644
--- a/scm/output-lib.scm
+++ b/scm/output-lib.scm
@@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1

 (if ( digit 5)
(ly:input-message (ly:event-property event 'origin)
- Music for the martians))
+ (string-append Warning: Fingering notation  
for finger

 (number-string digit 10)
   ))


Wait a minute! This is not right, I'm missing all kinds of closing  
parentheses, plus the rest of my patch. Why can't the diff of git do  
a wrap like emacs does? Now I have to pipe the output to a text file,  
open the text file and cut and paste it into this message. Why that  
extra step.

Anyway, the complete and untested patch is at the top of this e-mail.

So after 9 hours of swearing and hunting and waiting I was able to  
start looking at the patch. This is not why I switched to Mac OS X!  
It should just work! Maybe all those oss hackers have too much time  
on their hands, but I haven't!

/rant

But since LilyPond is such a wonderful piece of work, it was all  
worth it.


Arjan


On 25 nov 2006, at 1:03, Han-Wen Nienhuys wrote:


Arjan Bos escreveu:

So please remove it, or if it is felt that it is a just message,  
please

state that it something like:
Warning: fingering notation for finger number n.


I vote for the latter. Patches/pushes appreciated.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



---
Don't put your trust in revolutions. They always come around again.  
That's why they're called revolutions. People die, and nothing changes.


-- (Terry Pratchett, Night Watch)



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

Music for the Martians?

2006-11-24 Thread Arjan Bos


On 23 nov 2006, at 3:10, Graham Percival wrote:



I think this is referring to people with 6-fingers.  Typing e8_1  
means first finger; typing e8_1 prints 1 as a TextScript.


But what are martians and why are they playing my music? Shouldn't  
this message simply state that a 6 is a strange number to indicate  
a finger with?


Yes, but somebody was feeling creative when they wrote that  
code.  :) What message do you propose to change it with?


I thought about that and I know that it is non-sensical to have 6 in  
there as a finger indication. But I decided to put it in and it is  
right to put it in for my purpose, otherwise it wouldn't be in. So I  
feel that this message can be safely removed from lilypond. Oh, and  
2.8 didn't have that message and I did not confuse myself with six  
fingers either there ;-)


So please remove it, or if it is felt that it is a just message,  
please state that it something like:

Warning: fingering notation for finger number n.

where n is greater than 5, or 4 depending on the instrument being  
described. In guitar music, we normally only deal with four fingers  
as the thumb is at the other side of the neck. So here it would be  
appropriate to give the message at finger number 5. Since it's  
clearly instrument dependent, and lilypond doesn't know about the  
instrument that the music is intended for, it is a strong indication  
that you cannot tell when to display this warning. So this is in  
favour of removing it.


Groetjes,
Arjan

---
They both savoured the strange warm glow of being much more ignorant  
than ordinary people, who were only ignorant of ordinary things.


-- Discworld scientists at work  (Terry Pratchett, Equal Rites)


---
It was funny how people were people everywhere you went, even if the  
people concerned weren't the people the people who made up the phrase  
people are people everywhere had traditionally thought of as  
people. And even if you weren't virtuous, as you had been brought up  
to understand the term, you did like to see virtue in other people,  
provided it didn't cost you anything.


-- (Terry Pratchett, The Fifth Elephant)



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


Re: Manual engraving video

2006-11-24 Thread Arjan Bos


On 23 nov 2006, at 8:09, Martial wrote:



The fact that they chose to switch to computer-engraving doesn't  
contradict that hand-engraving is far better; see:

http://lilypond.org/web/about/automated-engraving/introduction.html


And the Lilypond product is great !


The interesting thing from the video that I took home from it is that  
the engraving of a piece is dependent on the tempo: an Andante piece  
should be typeset more dense than an Allegro piece. Is it possible to  
embed this rule into Lilypond? Perhaps driven via a new identifier  
\tempoText = Andante?




http://cathemline.org/lily/fragment_typo.html


Nice!

---
A marriage is always made up of two people who are prepared to swear  
that only the other one snores.


-- (Terry Pratchett, The Fifth Elephant)



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


How to show 4x repeats?

2006-09-25 Thread Arjan Bos

Hi list,

Where can I find in the manual how can I show the fact that a volta  
repeat should be played 4 times? The score I'm copying has a  
horizontal bracket over it with the text 4x in the middle of the  
bracket


Something like:

-- 4x 
|:   :|

Thanks,
Arjan
---
They both savoured the strange warm glow of being much more ignorant  
than ordinary people, who were only ignorant of ordinary things.


-- Discworld scientists at work  (Terry Pratchett, Equal Rites)



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


Re: Object hierarchy in LilyPond?

2006-05-08 Thread Arjan Bos


On 6 mei 2006, at 21:20, Mats Bengtsson wrote:


Quoting Erik Sandberg [EMAIL PROTECTED]:


On Tuesday 02 May 2006 09:06, Tomas Valusek wrote:

Hello,

I'm trying to figure out an overall object hierarchy of LilyPond.  
The

only way I've discovered so far is to traverse programmers guide and
follow links. But this is very tedious, since if I want to get  
something

done in non-default way, this approach is very confusing.


I don't understand. Do you want to see, for each grob type, which  
tweakable
grob properties it has? Or do you want to create a graph that  
shows which

grobs that belong to which interfaces?


Or the context hierarchy or which engravers are included in each  
context

or which objects are created by which engraver (or context) or ...



What I would like to see is a model of all the data being used within  
LilyPond, where each attribute and each entity is clearly and  
unambiguously  defined. This should give a clear definition of the  
properties that can be set. In a later stage this could then be  
mapped to Objects to form a process model. (At least in theory). This  
mapping might learn us when we can set those properties (using \set  
or \override).


---
No matter what she did with her hair it took about three minutes for  
it to tangle itself up again, like a garden hosepipe in a shed  
[Which, no matter how carefully coiled, will always uncoil overnight  
and tie the lawnmower to the bicycles].


-- (Terry Pratchett, Lords and Ladies)



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


Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-05-03 Thread Arjan Bos

Erik,

That's a great document! I've read about half of it now and it does a  
very good job to explain to me how LilyPond works. And seeing the  
date on the title page, I think I have to congratulate you on your  
Masters Degree! Well Done!


Off topic, but are your music streams implemented in the current 2.9  
branch? From a structural point of view, it looks like a cleaner way  
of doing things. You might even add the syllables of lyrics to the  
music stream and do away with the current implementation. (Obviously,  
I've never looked hard at the lily source code, but as a data  
modeller, I like to see nice structured designs)



Congrats,
Arjan

On 27 apr 2006, at 13:58, Erik Sandberg wrote:


Citerar Tomas Valusek [EMAIL PROTECTED]:


Hello,

When I first read the manual I didn't see any clear explanation  
of the

difference,
the docs could be more clear on that point. But when I realized  
that one

was for grobs
and the other for context, it became much clearer, for me it helps
separating and understanding
grobs and contexts.



Context - another topic of my interest. It seems to me I haven't
understood them fully yet. I generally know what they are for, but  
the

role of them is not fully clear to me.


You can read my master thesis if you like, it tries to explain the  
context
concept (the appendix music streams for the impatient might be a  
good choice

if you're in a hurry)

http://home.student.uu.se/ersa9195/report.pdf

BTW: Graham, feel free to incorporate anything you like from the  
report into the

manual.

Erik



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


---
The shortest unit of time in the universe is the New York Second,  
defined as the period of time between the traffic lights turning  
green and the cab behind you honking.


-- (Terry Pratchett, Lords and Ladies)



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


Re: emacs: error in post-command-hook: (wrong-type-argument integerp nil)

2005-11-06 Thread Arjan Bos


On 31 okt 2005, at 7:23, Robert J. Cristel wrote:


I'm using tei-emacs, lilypond 2.6.4, on win98se.

Copied lilypond_init.el into .emacs

Copied lilypond emacs-mode files to site-lisp\lilypond directory.   
This seemed to work as here is load-path:



snip value=load-path /

Robert,

This is something that has annoyed me tremendously since I first  
started to use lilypond. However it didn't bother me enough to delve  
into it yet.


My emacs version is from an early september cvs snapshot on Mac OS X

I always get this message, but my emacs seems to grok it anyway.
Let's dig into it. There is something wrong in the post-command-hook  
when lilypond-mode is loaded. In lilypond-mode.el we find:
  (add-hook 'post-command-hook 'LilyPond-mode-context-set-syntax- 
table nil t)


So presumably the error is somewhere in the defun LilyPond-mode- 
context-set-syntax-table. This is defined in lilypond-font-lock.el,  
but when I try to instrument that function for debugging, it gets me  
nowhere.
Luckily that function is (interactive), so I can call it with M-x  
LilyPond-mode-context-set-syntax-table, and now I can find the culprit:


  (cond ((nth 3 context)) ; inside string
((nth 4 context)) ; inside a comment
	((eq (char-syntax (char-before (point))) ?\\)) ; found escape-char  
== Gives an error

((and (eq (char-syntax (char-before (- (point) 1))) ?\\)
  (memq (char-before (point)) '( ?\) ?\]  ; found escape-char
((memq (char-before (point)) '( ?\) ))

The line that says
((eq (char-syntax (char-before (point))) ?\\)) ; found escape-char
fails the first time. At this moment (point) is at (point-min) so  
(char-before (point)) will return nil and, at least in my version of  
emacs, (char-syntax nil) will fail.

By changing it to something like
	((eq (char-syntax (char-before (max (point) 2))) ?\\)) ; found  
escape-char
it should work again. This should be done for all calls to (char- 
before (point)) in this function. So it's better to replace the top  
of the (cond) statement with something like:


  (cond ((bobp)) ; we cannot grok the context at beginning of the  
buffer

((eq (point-min) (point-max))) ; empty buffers don't have context
((eq (+ (point-min) 1) (point))) ; to prevent an obiwan error
((nth 3 context)) ; inside string
((nth 4 context)) ; inside a comment
((eq (char-syntax (char-before (point))) ?\\)) ; found escape-char
((and (eq (char-syntax (char-before (- (point) 1))) ?\\)
  (memq (char-before (point)) '( ?\) ?\]  ; found escape-char
((memq (char-before (point)) '( ?\) ))


Strange thing is though, that when I tested it it broke something on  
a midi function. I remembered doing some tinkering with these defuns  
as well, so I downloaded the latest unstable (2.7.15-1) and tested  
its lilypond mode by opening a few .ly files and the error did not  
pop-up! The code of the above defun is still the same as above, so if  
a lilypond developer would be so kind as to look into my suggestions,  
I'd be most obliged.


Let me know how you're doing!
Kind regards,

Arjan Bos

---
A marriage is always made up of two people who are prepared to swear  
that only the other one snores.


-- (Terry Pratchett, The Fifth Elephant)



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


Re: Languages other than English on the mailing list

2005-06-25 Thread Arjan Bos


On 25 jun 2005, at 18:22, Jay Hamilton, Sound and Silence wrote:

I too can read the French but it would be very convenient to have a  
translation so I do not inadvertently misunderstand.

Merci
Jay



Not only that, but posting your question in a language other than  
english will deprive your access to a big pool of knowledgable people  
who can discuss in English, but can't in the posted  language.
What I'm trying to state is that you do yourself a favour by posting  
in English.


---
A marriage is always made up of two people who are prepared to swear  
that only the other one snores.


-- (Terry Pratchett, The Fifth Elephant)



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


Mac OS X 10.4 spotlight indexing of .ly files?

2005-05-11 Thread Arjan Bos
Hi there all you Mac OS X Tiger users.
Does anyone of you know of a metadata importer for lilypond files? 
Because currently they are not indexed.
The documents from Apple tell how to do it, but since my c classes are 
12 years ago, I'm very rusty in this area. So if someone has already 
done an importer I'd be very happy with a copy.

The areas that imho need to be indexed are all commands (those that 
start with \command-name), all scheme definitions and all header 
information and all lyrics (without the timing and melismata 
preferably).

Regards,
Arjan
---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

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


Re: invoking Lilypond from a script

2005-04-09 Thread Arjan Bos
Just to rule out things, I take it you looked at the convert - DVI to 
Postscript.scpt that comes with the folder actions (or a similar one)?

My guess is that you need to use the --output=FILE option of Lilypond. 
This option is in 2.4.2. I haven't checked with 2.2.5 due to lack of 
availability on my system. It is something which I tried myself, but 
could not  get working after trying for roughly 10 minutes. It might 
need some POSIX keyword on your path. Otherwise you could just tell 
finder to move the document, couldn't you?

HTH
On 8 apr 2005, at 19:29, Kris Shaffer wrote:
Thanks for making such a great product.  I love using Lilypond.  I am
currently working on an applescript app for Mac OS X that will allow a
.ly file to be dragged to a Lilypond icon to create the PDF score
without using the command line.  My hopes is that it will help make
Lilypond more accesible to traditional Mac users.  However, when I
call Lilypond (v. 2.2.5) from the appescript (i.e. do shell script
/sw/bin/lilypond [filename.ly]), it outputs the score to / instead
of the directory the source file is in.  I'm wondering if there is a
reason why it would not automatically export to the originating
folder, as it does when I invoke it in the terminal.  Perhaps the
Applescript calling the shell script is the problem?  Let me know if
you know of a reason this may be behaving unexpectedly, or if you need
more information from me.  Otherwise, I will add some extra code and
variables to get around the issue.  Thanks.
Sincerely,
Kris Shaffer
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

---
A marriage is always made up of two people who are prepared to swear 
that only the other one snores.

-- (Terry Pratchett, The Fifth Elephant)
---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

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


Re: emacs lilypond-mode

2005-03-26 Thread Arjan Bos
On 26 mrt 2005, at 14:31, [EMAIL PROTECTED] wrote:
Hi to everybody!
I'm writing now a short tutorial about how to use emacs and vim to 
edit lilypond
files in mac os x.
Two questions:

1) When I open a lilypond file with emacs, I obtain the following 
error:

Loading lilypond-mode (source)...
0 occurrences [3 times]
Loading lilypond-font-lock (source)...done
Loading lilypond-indent (source)...done
Loading lilypond-what-beat (source)...done
Loading lilypond-mode (source)...done
Error in post-command-hook: (wrong-type-argument integerp nil)
What does it means? Is it important or not?
It means that emacs expected something to be an integer (it checked the 
integer proposition with a function called integerp. This is a boolean 
function, returning nil or t). It found `nil' instead of an integer. 
This was encountered in `post-command-hook'. There is some comment in 
lilypond-mode.el to the effect that there is something very XEmacs 
specfic about it.
Unfortunately, I don't have the knowledge to debug it and even more 
unfortunately, I don't have the time to acquire that knowledge.

I have that message as well, but I always disregard it, since 
everything seems to work just fine.

2) I'm trying to get autoindentation in emacs, but without any result, 
which
is the command to start it? What I can do to have it automatically 
each time
I open a lily file?
Is lilypond-mode active when you open a .ly file in emacs? For me 
auto-indentation is always on, just not when pressing return. The 
`normal' way of giving a newline in emacs is C-j. This will do auto 
indenting.
To indent a line press either [tab] or C-i.
To indent a whole buffer, press C-x h (select whole buffer) and then 
C-M-\ (indent-region)

HTH,
Arjan Bos
Lilypond 2.4.2
Mac OS X 10.3.8
TiBook G4 667 GE  / G4 DP 1.42

---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

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


error Printing

2005-03-07 Thread Arjan Bos
Dear list,
regarding 2.4.2:
Did anyone of you ever had troubles printing on a networked OCE printer 
via windows NT 4.0 sp6? I produced a score for our conductor and sent 
him the resulting .pdf file. As I 've done this at least half a dozen 
times before without problems, I wasn't expecting an error. But when he 
tried to print this specific pdf file, he got the following 
error-message:

´invalidfont´, the offending command is ´definefont´ with operanding 
stack
top / font
top-1-dict-
top-2/BA+ecss8

(original mail included below)
Any ideas as to what might cause this?
I looked at the fonts in the pdf-file and all-but-one are marked 
embedded subset. The exception is T3_Font_0.  Could this be the 
source of the error?

TIA,
Arjan
Begin forwarded message:
From: Bakker, Eric [EMAIL PROTECTED]
Date: 7 maart 2005 14:24:43 GMT+01:00
To: Arjan Bos [EMAIL PROTECTED]
Subject: RE: Momentje?
Hé arjan,
op het scherm is alles ok. mijn printer geeft wel een foutmelding: 
´invalidfont´, het offending command is ´definefont´ met als 
operanding stack
top / font
top-1-dict-
top-2/BA+ecss8

Is dat iets wat in de pdf zelf fout kan zitten?
Eric

-Oorspronkelijk bericht-
Van: Arjan Bos [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 3 maart 2005 22:11
Aan: Eric Bakker; Bakker, Eric; Roderic Bos
Onderwerp: Momentje?
Volgens mijn staat nu alles ech goe..

---
Look, that's why there's rules, understand? So that you think before 
you break 'em.

-- (Terry Pratchett, Thief of Time)

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


Box markup box not a square

2005-02-24 Thread Arjan Bos
Ok, thanks for the answer.
It doesn't show up on the paper output, so it might just be a display 
thing in my MacOS X / Fink setting somewhere. I'll wait and see what 
2.6 will bring.

Arjan
On 24 feb 2005, at 9:41, Mats Bengtsson wrote:
I know there have been some changes related to these functions in
the recent development versions, but I don't know enough details
to say if it's easy to fix it in your version.
   /Mats
Arjan Bos wrote:
Hi list,
I'm using 2.4.2
In my pieces I like to have the default marks (with \mark \default) 
to be in a box. As per documentation I use the following lisp code:
\set Score.markFormatter = #(lambda (mark  context)
 (make-box-markup
  (format-mark-letters mark context)))
And this results in a box that isn't square. A picture of it (zoomed 
in quite a few times) can be found at:
http://zaaf.nl/unsquareBox.pdf
(It's a pdf-file of a screen capture, don't ask ;-)
Please notice that the right hand line of the square has moved a bit 
to the left.
Is this a bug? Or can I make the box square.
By the way:
The boxes look square on paper and in the end that's what counts. So 
it might just be a display issue here.
Kind regards,
Arjan Bos
---
Multiple exclamation marks are a sure sign of a sick mind
-- (Terry Pratchett, Mort)
___
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

---
Multiple exclamation marks are a sure sign of a sick mind
-- (Terry Pratchett, Mort)
---
A marriage is always made up of two people who are prepared to swear 
that only the other one snores.

-- (Terry Pratchett, The Fifth Elephant)

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


lilypond install mac os x

2005-02-23 Thread Arjan Bos
On 20 feb 2005, at 12:47, Libero Mureddu wrote:
Hi!
I've just finished a shorter version of the previous tutorial on how 
to install lily on Mac.
Do you think is it good now?
Great article. To me it seems you've found the right balance between 
being concise and still verbose enough to indicate all the steps. I 
must confess however, that for me the previous installation 
instructions were perfect. So I might not be the best judge of your 
article.

I have also some screenshots.
The screenshots are nice too, only it took me a few moments to 
recognize your terminal.app. It wasn't green on black and slightly 
transparent as all terminals should be ;-)
It might be a good idea to just take the default terminal settings. 
40x25 black on white, no history buffer so as to make the terminal.app 
as less daunting as possiple. It's only a small visual issue, but hey, 
we're on the Mac here :-)

kind regards,
Arjan Bos

---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)
---
Look, that's why there's rules, understand? So that you think before 
you break 'em.

-- (Terry Pratchett, Thief of Time)

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


Fwd: Unexpected extra measure at end

2005-01-31 Thread Arjan Bos
Sorry, it went only to Mats
Begin forwarded message:
From: Arjan Bos [EMAIL PROTECTED]
Date: 31 januari 2005 21:43:20 GMT+01:00
To: Mats Bengtsson [EMAIL PROTECTED]
Subject: Re: Unexpected extra measure at end
Ah, so it all makes sense after all. Although, come to think of it, 
where does it say that an extra bar is needed? I only see lyrics, with 
a \lyricsto command. There are no notes in there.  Persumably, no 
notes does not equal no bar.

Thanks for the insight!
Arjan
On 29 jan 2005, at 0:46, Mats Bengtsson wrote:
A Voice context in LilyPond can only contain notes, not lyrics.
I know that this seems unintuitive to some people, but that's the
way it is designed. Also, if you several pieces of music or whatever
within a pair of curly braces {...} in a LilyPond file, it means
typeset these pieces of music in a sequence after eachother.
If you want several things to happen simultanously, they have to
be included in a  So, you instructed LilyPond to insert an
empty bar after the end of the \tenMusic, and so it did.
   /Mats
Arjan Bos wrote:
Dear list,
When creating a score for the choir I'm in, I found out that 
Lilypond generates an extra measure at the end when the lyrics are 
defined within the voice. When they are just outside the closing `}' 
of the voice, the resulting pdf looks the same, except the empty bar 
at the end has gone.
Is this a bug?
This is the (almost) smallest example I could come up with that 
still has the problem.
%% -- sniplet begins here
\version 2.4.2
tenMusic = \notemode  { \relative c' { c4 c c c } }
tenText  = \lyricmode { E -- tra bar. Why? }
\score {
  \context ChoirStaff {

  \context Staff = ten {
\context Voice = tenors { \tenMusic }
%% When put here, the lyrics generate an extra measure at the
%% end. If they are outside the Voice brackets, it doesn't.
\context Lyrics = tenorsA { s1 }
  }
  \context Lyrics = tenorsA \lyricsto tenors { \tenText  }

  }
}
%% --- sniplet ends here
TIA,
Arjan
---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the 
phrase people are people everywhere had traditionally thought of 
as people. And even if you weren't virtuous, as you had been brought 
up to understand the term, you did like to see virtue in other 
people, provided it didn't cost you anything.
-- (Terry Pratchett, The Fifth Elephant)
___
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
=

---
A marriage is always made up of two people who are prepared to swear 
that only the other one snores.

-- (Terry Pratchett, The Fifth Elephant)

---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

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


Unexpected extra measure at end

2005-01-28 Thread Arjan Bos
Dear list,
When creating a score for the choir I'm in, I found out that Lilypond 
generates an extra measure at the end when the lyrics are defined 
within the voice. When they are just outside the closing `}' of the 
voice, the resulting pdf looks the same, except the empty bar at the 
end has gone.
Is this a bug?

This is the (almost) smallest example I could come up with that still 
has the problem.

%% -- sniplet begins here
\version 2.4.2
tenMusic = \notemode  { \relative c' { c4 c c c } }
tenText  = \lyricmode { E -- tra bar. Why? }
\score {
  \context ChoirStaff {

  \context Staff = ten {
\context Voice = tenors { \tenMusic }
%% When put here, the lyrics generate an extra measure at the
%% end. If they are outside the Voice brackets, it doesn't.
\context Lyrics = tenorsA { s1 }
  }
  \context Lyrics = tenorsA \lyricsto tenors { \tenText  }

  }
}
%% --- sniplet ends here
TIA,
Arjan
---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

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


Unfolding Volta repeats in midi (hacker help wanted)

2004-11-28 Thread Arjan Bos
I read the documentation on unfolding volta repeats in midi output. 
Combined with the recent discussion on scheme functionality, I got the 
following idea:

Could it be possible to write a scheme function that evaluates to 
volta when evaluating the music for layout and that evaluates to 
unfold to when evaluating music for midi output? Can I then use that 
function to write something like:
\repeat #unfold-midi 2 { c''4 }

Where should I begin? Which music properties are involved?
something like: (out of the hat via the keyboard to the list)
(defun unfold-midi()
evaluates to \unfold\ for midi output and to \volta\ for paper 
output.
  (if (in-midi-p)
unfold
volta))

But then in guile / scheme instead of elisp and using the correct 
key-words.

TIA,
Arjan
---
A marriage is always made up of two people who are prepared to swear 
that only the other one snores.

-- (Terry Pratchett, The Fifth Elephant)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Strange Behaviour of same-note polyphonic

2004-11-19 Thread Arjan Bos
Hi list,
I have found something peculiar in lilypond 2.4.2. I'm setting a piece 
that has, in a few cases, two voices instead of one. Browsing the 
manual, I found the  a \\ b  syntax. So far, so good.

Normally, when two notes are the same, they are printed overlapping. 
However, when introducing two notes that are the same, and that are 
printed without a stem, they do not overlap. Here's a small example:

\score {
  \new Staff {
\relative c' {
  r2 r4 r8
   { fis8( | e) } \\ { fis8( | e)} 
  r2 r4 r8 |
  r2 r4 r8
   { fis8( | e4) } \\ { fis8( | e4) } 
  r2. |
  r2 r4 r8
   { fis8( | e2) } \\ { fis8( | e2) } 
  r2 |
  r2 r4 r8
  %% this one goes wrong ?
   { fis8( | e1) } \\ { fis8( | e1) } 
}
  }
}
I'm sure it could be even more concise. Please note that the whole 
notes at the end are not overlapping. How can I make them overlap?

TIA,
Arjan
---
Multiple exclamation marks are a sure sign of a sick mind
-- (Terry Pratchett, Mort)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to add a closing brace?

2004-11-12 Thread Arjan Bos
The only place I need it is at the end, to make very clear that the 
piece has ended. But an occasional spanned bar would be welcome too.

On 12 nov 2004, at 10:43, Mats Bengtsson wrote:
I don't know any simple way to get that. Maybe some of the hackers
can come up with a trick.
/Mats
Arjan Bos wrote:
I'm writing some vocal music. I have three staves without connecting 
bars. I'd like to have a Start Brace, no connecting bars and an End 
Brace. The Start Brace and the disconnected bars are in the 
documentation.
 I do have them in a StaffGroup and I remove the Span_bar_engraver. 
How do I add an end-brace?
I presume I'm not the only one who'd want this, but I didn't find it 
in the archives.
TIA,
Arjan
---
Look, that's why there's rules, understand? So that you think before 
you break 'em.
-- (Terry Pratchett, Thief of Time)
___
lilypond-user mailing list
[EMAIL PROTECTED]
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
=

---
The Kappamaki, a whaling research ship, was currently researching the 
question: How many whales can you catch in one week?

-- (Terry Pratchett  Neil Gaiman, Good Omens)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Documentation html bug in 2.4

2004-11-05 Thread Arjan Bos
Dear List,
Could anyone please tell me where I can report the following?
I'm reading the documentation in one-big-page for version 2.4  
(http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/ 
lilypond.html)
 and when trying to follow links to the program reference, I get 404 on  
for example  
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/ 
lilypond-internals.html#Contexts

Regards,
Arjan
---
It was funny how people were people everywhere you went, even if the  
people concerned weren't the people the people who made up the phrase  
people are people everywhere had traditionally thought of as people.  
And even if you weren't virtuous, as you had been brought up to  
understand the term, you did like to see virtue in other people,  
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Three small variations on lyrics?

2004-11-04 Thread Arjan Bos
Mats,
The example is similar, but for me (being a newbie in LilyPond) not 
similar enough. I looked at the example and tried to figure out what 
was going on in there. I adapted my code, but everything I tried 
somehow got the tree stanzas in the beginning. I wanted them to start 
on the 14 bar, lasting two bars and then 8 bars again with a single 
line of lyrics.
 Is there a way to do this?

And, perhaps more important, is there a document that explains why it 
all works the way it does? The tutorial is great for getting up to 
speed very quick, but it doesn't tell me why things are the way they 
are. For example, the satbSample.ly (sp?) is great, but it took me many 
test runs to find out that the order in which Lyrics and Notes are 
stated matters. And still I don't know when to use a context, and why 
there are things like { s1 } in there.

Arjan
One similar example is provided in
http://lists.gnu.org/archive/html/lilypond-user/2004-10/msg00387.html
   /Mats
Arjan Bos wrote:
Hi List,
Since last weekend I started on LilyPond 2.4. I'm a newbie to 
LilyPond, so this might just be a question of reading the fine 
manual.
I have a lyric that goes as follows:
Nie -- mand is hier 1. die mij de han -- den reikt.  Nooit een dag 
in je leven
  2.  die mij troost -- en wil.
  3. die mij een toe-komst geeft.
So my question is:
How do I have multiple stanzas as part of the lyrics, where the first 
part is fixed, then there is a part with three stanzas and finally 
another fixed part?
---
You can't second-guess ineffability, I always say.
-- (Terry Pratchett  Neil Gaiman, Good Omens)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Three small variations on lyrics?

2004-11-03 Thread Arjan Bos
Hi List,
Since last weekend I started on LilyPond 2.4. I'm a newbie to LilyPond, 
so this might just be a question of reading the fine manual.

I have a lyric that goes as follows:
Nie -- mand is hier 1. die mij de han -- den reikt.  Nooit een dag in 
je leven
  2.  die mij troost -- en wil.
  3. die mij een toe-komst geeft.

So my question is:
How do I have multiple stanzas as part of the lyrics, where the first 
part is fixed, then there is a part with three stanzas and finally 
another fixed part?

TIA,
Arjan
---
Multiple exclamation marks are a sure sign of a sick mind
-- (Terry Pratchett, Mort)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond-mode for emacs 21.3.50.6

2004-11-03 Thread Arjan Bos
When compiling an incorrect .ly file with C-c C-l I get the following 
messages:

compilation-next-error-function: Symbol's value as variable is void: 
next-error-highlightInvalid face reference: next-error
Invalid face reference: next-error [217 times]

Any idea how to fix this?
TIA,
Arjan
---
It was funny how people were people everywhere you went, even if the 
people concerned weren't the people the people who made up the phrase 
people are people everywhere had traditionally thought of as people. 
And even if you weren't virtuous, as you had been brought up to 
understand the term, you did like to see virtue in other people, 
provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user