How do I add new noteheads to lilypond?

2010-07-14 Thread Andrew Wagner
Hello-

I've been working on and off over the last couple years at getting
Lilypond to typeset twinline notation (among others) for the music
notation project.  Kevin Dalley's abandoned patches thankfully did
most of the heavy lifting, but the noteheads he used were never
posted.  I believe I now know enough Metafont to have a fighting
chance of add the noteheads we need.

What steps do I need to take to add and enable new noteheads in lilypond?

1. Edit feta-bolletjes.mf (now something like feta-noteheads.mf)
2. Manually trigger the fonts to be rebuilt (how?)
3. Install the fonts (where?)
4. Anything else?

My branch is based on 2.11.45 with Kevin Dalley's patches.  It's up on github:

The lily file that defines a handful of chromatic notations:
http://github.com/drewm1980/lilypond-an/blob/mark_hanlon/input/musicnotation/chromatic.ly

The most interesting line being:

(cons "twinline" (vector '(2 4) '(0) 0 1 6 twinline-layout #(default
do default downdo default do default downdo default do default
downdo)))

... it is the downdo noteheads that are missing.

The metafont file that defines noteheads:
http://github.com/drewm1980/lilypond-an/blob/mark_hanlon/mf/feta-bolletjes.mf

A sample code snippet that would hopefully display a scale in twinline notation:
http://github.com/drewm1980/lilypond-an/blob/mark_hanlon/input/musicnotation/fontcheck/fontcheck.ly

To get started I tried duplicating and renaming one of the existing
noteheads to "downdo", but it wasn't visible after a rebuild after
liliypond.

Thanks!
Drew

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


Re: CVS ERROR: Unable to find file "lily.scm"

2008-04-29 Thread Andrew Wagner

Thanks a lot Mats,

My global make install was somehow failing partially and silently.   
Running a make install inside the lilypond/scm directory cleared up  
that problem.  Sorry I was unable to find any of the helpful replies;  
for some reason I could only find the initial posts despite a good 20  
min of digging.


Drew

On Apr 29, 2008, at 6:40 PM, Mats Bengtsson wrote:


This error message has appeared occasionally on the
mailing lists for situations where either the installation
has failed or where the automatic setting of some path
variables has failed. The file lily.scm together with a large
number of other .scm files should be installed in
.../share/lilypond/current/scm/
where LilyPond should find them automatically without
any need for manual settings of environment variables.

   /Mats

Andrew Wagner wrote:


Hello-

I'm experiencing the same problem Tapio did:


compiled
/ChangeLog/1.4659 from CVS

seems to compile OK, but when trying to run 'lilypond'
it spits out the following:

"GNU LilyPond 2.7.35
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path"

what should I do to fix this?

greetings, Tapio




I found a lily.scm file is sitting in my build directory:
/Users/awagner/Developer/lilypond/lilypond/scm

Anyone know where I should copy these files to, or how to hint   
something to their current location?


I'm on os x 10.4, compiling from the git-downloaded developer  
version.


Thanks,
Drew


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




--
=
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-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel




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


CVS ERROR: Unable to find file "lily.scm"

2008-04-29 Thread Andrew Wagner

Hello-

I'm experiencing the same problem Tapio did:


compiled
/ChangeLog/1.4659 from CVS

seems to compile OK, but when trying to run 'lilypond'
it spits out the following:

"GNU LilyPond 2.7.35
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path"

what should I do to fix this?

greetings, Tapio



I found a lily.scm file is sitting in my build directory:
/Users/awagner/Developer/lilypond/lilypond/scm

Anyone know where I should copy these files to, or how to hint  
something to their current location?


I'm on os x 10.4, compiling from the git-downloaded developer version.

Thanks,
Drew


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


Build hanging on an error.

2008-04-29 Thread Andrew Wagner

Hello-

I'm trying to build on os x 10.4.11, and ran into the same problem  
this fellow did on BSD:


http://www.mail-archive.com/[EMAIL PROTECTED]/msg10088.html

Nikita <[EMAIL PROTECTED]> writes:

> I try to build lilypond on freebsd 6.2 amd64 machine. After  
installing all
> required packages and configuring lilypond I tried  gmake all and  
ended up

> with
> the following message.

includable-lexer.cc: In member function 'bool  
Includable_lexer::close_input()':
includable-lexer.cc:106: error: 'yy_current_buffer' was not declared  
in this scope

make[1]: *** [out/includable-lexer.o] Error 1
make: *** [all] Error 2


So, configure finds that yy_current_buffer does not exist, yet flex
generates something that uses it.  Can you double check that you are
not using two versions of flex, eg one in /usr and one in /usr/local?

If not, please send your config.h, config.log and lexer.cc.

FWIW, I have added freebsd-64 to GUB and had no such problem building
lilypond.  Can you please verify if this installer works for you


http://lilypond.org/download/binaries/freebsd-64/ 
lilypond-2.11.28-1.freebsd-64.sh


Greetings,
Jan.



It turned out that the compiler was seeing the right flex binary, but  
the wrong header.  For some reason tweaking my path variable didn't  
help and I had to clobber the old version in order for my new version  
(in /opt/local/include/) to be seen:


mv /usr/include/
sudo mv FlexLexer.h FlexLexer.h_bak
sudo ln -s /opt/local/include/FlexLexer.h FlexLexer.h

Hopefully this'll turn up in google searches along with the original  
call for help.


Thanks!
Drew


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


Introduction

2008-04-29 Thread Andrew Wagner

Hello-

Not sure if this list is small enough to warrant it, but I thought  
I'd introduce myself.  I'm Drew Wagner, and I'm trying to build  
lilypond with the patches for alternative notations (i.e. twinline)  
on a mac.  Another one of my hobbies is building a digital piano with  
a Janko Layout.  I very recently started diykeyboard.org, a diy  
digital piano project.


Cheers,
Drew


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