Re: tab characters in the source code

2009-04-11 Thread Ian Stirling
On Tuesday 07 April 2009 03:32:43 pm Mark Polesky wrote:

 I was fiddling around with output-ps.scm (specifically
 the grob-cause procedure on line 159) and was getting
 frustrated with the poor indentation displaying in my
 editor when I realized that this was being caused by
 tab characters in the source. 
 
 Is there an easy way to address this? I don't know how
 many tab characters there are in the source, nor do I
 know how to find out. But it can be frustrating. Any
 solutions?

Here's a hack I wrote for my Amiga files in 1994 'cos I was fed up of tabs.
Error checking is minimal and boundary checking is non existent.

#include stdio.h
#include ctype.h
#include math.h

main(int argc, char *argv*[]) {
  int tab, c, ts;

  if (argc !=2 ) {
    fprintf(stderr, Use: expandtab n\n);
    exit(27);
  }

  ts =  atoi(argv[1]);

  tab = 0;
  while ((c=getchar()) != EOF) {

    if (c=='\t')  {
      tab %= ts;
      do {
        putchar(' ');
        ++tab;
      } while (tab != ts);
    }
    else {
      putchar(c);
      ++tab;
    }

    if ( c=='\n' )
      tab = 0;
  }
}

Ian
--


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


Re: GPD: official shortest note in lilypond

2007-11-07 Thread Ian Stirling
On Wednesday 07 November 2007 21:39:23 Thomas Bushnell BSG wrote:
 On Thu, 2007-11-08 at 02:03 +0100, Werner LEMBERG wrote:
  As a composer by myself, it's a mystery to me why so many composers
  love to use 128th and 256th, most time for no good reason.
 
 Let's ask ourselves about that well-known piano hack, Ludwig van
 Beethoven.  Later we'll turn to Mozart, who didn't confine himself to
 128th notes, but used 256th notes too.  I'm sure you'll start explaining
 why you're a better composer than Beethoven and Mozart, at least, you're
 not given to such notational distortions as those two well-known fools.

 I'll mention another incompetent composer who writes 128th notes.

Bach.

Variation 16 of the Goldberg Variations.
 What was he thinking?

Ian
-- 


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


Re: MIDI staffs or voices?

2007-10-28 Thread Ian Stirling
On Sunday 28 October 2007 17:42:09 Juergen Reuter wrote:
 
 Yes, but according to the GM standard channel #10 is reserved for drums; 
 hence only 15 are left.

  GM standard was foisted on to the industry by Roland,
and many synth makers still do not comply with it.
 My Kurzweil PC2R pays lip service to GM by supplying
GM sounds to be loaded into user memory. I never use it.
Channel 10 is just another channel for me, and in the
following music, the 'cellos are on channel 10 of the
PC2R.

Ian,  http://www.opus131.com/music/mozart40.mp3
--


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


lilypond web site

2007-03-02 Thread Ian Stirling
  I clicked on the W3C icon at the bottom of the home page
and was shown ten errors by the Markup Validation Service.

Ian
--


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


copyright symbol?

2006-11-29 Thread Ian Stirling
I have the following line in lilypond 2.4.2 ..
tagline=Engraved by LilyPond, 2.4.2 { } Copyright \copyright { } 2005 Ian 
Stirling, { } Some Rights Reserved
With 2.4.2 the \copyright was printed as the copyright symbol.

I used convert-ly in 2.11.0 to update the file,
but that copyright symbol isn't translated by convert-ly.

Ian
--


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


Re: lilypond on FreeBSD?

2006-10-25 Thread Ian Stirling
On Wednesday 25 October 2006 14:56, Edward Sanford Sutton, III wrote:
 On Friday 20 October 2006 16:02, Ian Stirling wrote:
  Some other error occurred trying to compile and install the
  2.8 version.
 
 Was it by chance something like the following? It appears to be called in 
 by ./mf/GNUMakefile on line 4. Anyone know if that line is important, old 
 debris, or being brought in by a bad build stepon my part?

[extra details snipped]

 Traceback (most recent call last):
   
 File 
 /mnt/ufs/mirror176/ports/print/lilypond/work/lilypond-2.8.7/stepmake/bin/install.py,
  
 line 78, in ?
 shutil.copy2 (f, dest)
   File /usr/local/lib/python2.4/shutil.py, line 92, in copy2
 copyfile(src, dst)
   File /usr/local/lib/python2.4/shutil.py, line 47, in copyfile
 fsrc = open(src, 'rb')
 IOError: [Errno 2] No such file or directory: './out/CenturySchL-Ital.otf'
 gmake[1]: *** [local-install-outfiles] Error 1
 gmake[1]: Leaving directory 
 `/mnt/ufs/mirror176/ports/print/lilypond/work/lilypond-2.8.7/mf'
 gmake: *** [install] Error 2
 *** Error code 2
 
 Stop in /mnt/ufs/mirror176/ports/print/lilypond.
 *** Error code 1

I compiled with gmake -f GNUmakefile, which compiled successfully.
But subsequently gmake -f GNUmakefile install produced essentially
the same error - 

Traceback (most recent call last):
  File /home/ians/.build/lilypond-2.8.7/stepmake/bin/install.py, line 78, in ?
shutil.copy2 (f, dest)
  File /usr/local/lib/python2.4/shutil.py, line 92, in copy2
copyfile(src, dst)
  File /usr/local/lib/python2.4/shutil.py, line 47, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './out/CenturySchL-Ital.otf'
gmake[1]: *** [local-install-outfiles] Error 1
gmake[1]: Leaving directory `/usr/home/ians/.build/lilypond-2.8.7/mf'
gmake: *** [install] Error 2

Ian
--



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


Re: lilypond on FreeBSD?

2006-10-22 Thread Ian Stirling
On Saturday 21 October 2006 03:55, you wrote:
 Ian Stirling [EMAIL PROTECTED] writes:
 
I haven't managed to make Lilypond work on my
  FreeBSD 6.1 system.  The precompiled version gives
  a runtime error looking for a non existent library.
 
 What library is that?

/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by 
lilypond
/usr/libexec/ld-elf.so.1: Shared object libc.so.4 not found, required by 
lilypond

 By using quick and dirty symbolic links pointing to the
current libraries, libm.so.4 and libc.so.6, the FreeBSD
Lilypond 2.9.26 build from the site works, at least as far
as issuing the help message when invoked with no arguments.

 We base the FreeBSD binaries on 4.10-RELEASE-p2.  Would it make
 sense to support 6.x as well?  If so, we need a binary of
 the c library to bootstrap the build

  I'd certainly like you to support FreeBSD 6.x.
The version of Lilypond in the FreeBSD ports is the ancient 2.2.2.

   tar -C / --exclude=zlib.h --exclude=zconf.h --exclude=gmp.h -czf 
 public_html/freebsd-runtime-$(uname -r).tar.gz 
 /usr/lib/{lib{c,c_r,m}{.a,.so{,.*}},crt{i,n,1}.o} /usr/include

  I have added /lib through that filter to the tar file because
libc.so.* and libm.so.* are there.  I'll send you a private email
with a link to the file on a private page on my web site.

No answers from anyone so far about where to find that
  VeraBd.pfd. Am I reaching the list?
 
 Yes.  I do not have that file either.  It is not required to build
 LilyPond.  I do have a ttf version, however

I get the following error installing 2.9.22 and 2.9.24.

Cannot open /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb
The requested file, VeraBd.pfb, does not exist
Open: Failed to open: /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb
Called from...
 ../buildscripts/pfx2ttf.fontforge: line 3
gmake[1]: *** [out/CenturySchL-Ital.otf] Error 1

Compiling 2.9.26 fails with the following..

cc1plus: warnings being treated as errors
polynomial.cc: In member function 'void Polynomial::check_sol(Real) const':
polynomial.cc:170: warning: empty body in an if-statement
gmake[1]: *** [out/polynomial.o] Error 1
gmake[1]: Leaving directory `/usr/home/ians/.build/lilypond-2.9.26/flower'
gmake: *** [all] Error 2

Ian
--


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


lilypond on FreeBSD?

2006-10-20 Thread Ian Stirling
  I haven't managed to make Lilypond work on my
FreeBSD 6.1 system.  The precompiled version gives
a runtime error looking for a non existent library.
 In any case, I prefer to compile from source.

2.9.24 fails to install because this file is missing
and a google search for it only finds my request.
Failed to open: /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb

Some other error occurred trying to compile and install the
2.8 version.

  No answers from anyone so far about where to find that
VeraBd.pfd. Am I reaching the list?

Ian
--


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


source build problem 2.9.24

2006-10-17 Thread Ian Stirling
  I asked about this with 2.9.22 and had no answer.

On FreeBSD RELEASE-6.1,
Failed to open: /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb

  This file is not in the bitstream-vera on my system.
Please, where can I get it or make it?

Ian
--


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


source build problem 2.9.22

2006-10-12 Thread Ian Stirling
  I have the following error trying to build 2.9.22 from source
on a FreeBSD 6.1-RELEASE system with bitstream-vera 1.10_2.

Cannot open /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb
The requested file, VeraBd.pfb, does not exist
Open: Failed to open: /usr/X11R6/lib/X11/fonts/bitstream-vera/VeraBd.pfb
Called from...
 ../buildscripts/pfx2ttf.fontforge: line 3
gmake[1]: *** [out/CenturySchL-Ital.otf] Error 1

  There are ttf files in that directory but none of type pfb.

  This file is not in the file
 ttf-bitstream-vera-1.10.tar.gz 16-Apr-2003 21:54  342K 
that I fetched from
http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/

  Does anyone know where I can get this file and any others
that might be associated with this error?

Ian
--


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