From: fred Date: Sun, 24 Mar 2002 19:41:26 +0000 (+0000) Subject: lilypond-0.0.42 X-Git-Tag: release/1.5.59~4831 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=84881de81739823e20107815dcd8e68eea609007;p=lilypond.git lilypond-0.0.42 --- diff --git a/Documentation/README.pod b/Documentation/README.pod deleted file mode 100644 index 90376b754a..0000000000 --- a/Documentation/README.pod +++ /dev/null @@ -1,359 +0,0 @@ -=head1 NAME - -LilyPond - a music typesetter - -=head1 SYNOPSIS - - lilypond [options] [inputfiles] - -=head1 DESCRIPTION - -LilyPond typesets music. It translates script files (mudela files or -F<*.ly>'s) into TeX input. Typesetting music is a complex task, -whereas the message that printed music conveys is usually a simple -one. LilyPond is a try at providing a simple interface for setting -music. LilyPond has these features: - - -=over 5 - -=item * -ASCII script input, with identifiers (for music reuse), -customizable notenames, customizable fontset - -=item * -MIDI output lets you check if you have entered the correct notes. - -=item * -Multiple staffs in one score. Each staff can have a different meters. - -=item * -multiple stafftypes (melodic, rhythmic) [broken from pl28 on] - -=item * -beams, slurs, chords, super/subscripts (accents and text), -triplets, general n-plet (triplet, quadruplets, etc.), lyrics - -=item * -multiple voices within one staff; beams optionally shared -between voices. (well, more than 2 voices won't look pretty --yet.) - -=item * -multiple scores within one input file. Each score is output to -a different file. - -=item * -clef changes, meter changes, cadenza-mode, key changes, repeat bars - -=back - -=head1 DESIGN CONSIDERATIONS - -LilyPond was written with some considerations in mind: - -=over 5 - -=item * -Describing a well-defined language for defining music. We call -this language (rather arrogantly) The Musical Definition Language -(mudela for short). LilyPond reads a mudela sourcefile and outputs a -TeX file. This musical definition language should: - -=over 5 - -=item 1. -define the musical message of the writer as unambigiously as -possible. - -=item 2. -be easily readable. (as compared to, say, MusixTeX input) - -=item 3. -be writable in ASCII (with a simple texteditor). - -=back - -At this time, the language isn't yet defined precisely. It is evolving as -LilyPond is getting more complex. - -=item * -We want to provide an easy-to-use interface for typesetting music in -its broadest sense. This interface should be intuitive from a musical -point of view. By broadest sense we mean: it is designed for music -printed left to right in staffs, using notes to designate rythm and -pitch. - -=item * -LilyPond uses MusiXTeX fonts and TeX for its output. This is not a key -issue: in a future version, LilyPond might bypass TeX, but at the moment -TeX is very convenient for producing output. - -=item * -Generate high-quality output. Ideally it should be of a professional -quality. We'd like to render Herbert Chlapiks words, "Fine music -setting is not possible without a knowledgeable printer," untrue. - -=item * -LilyPond does not display notes directly, nor will it be rehacked to be -used interactively. LilyPond writes output to a file. It will not be -extended to play music, or to recognize music. - -=item * -LilyPond is intended to run on Unix platforms, but it should -be portable to any platform which can run TeX and the GNU tools - -=item * -LilyPond is free. Commercial windows packages for setting music are -abundant. Free musicprinting software is scarce. - -=item * -LilyPond is written in GNU C++. It will not be downgraded/ported to fit -broken systems. - -=back - -=head1 OPTIONS - -=over 5 - -=item B<-I,--include>=F, - -add F to the search path for input files. - - -=item B<-M,--midi> - -do midi output only - -=item B<-d,--debug>, - -Turn debugging info. LilyPond will read the file F<.dstreamrc>, which -tells for what functions and classes may produce copious debugging -output. - -=item B<-w,--warranty>, - -Show the warranty with which LilyPond comes. (It comes with B!) - -=item B<-o,--output=>F, - -Set the default output file to F. - -=item B<-h,--help>, - -Show a summary of usage - -=item B<-i,--init=>F - -set init file to F (default: F) - -=item B<--include, -I>=F -add F to the search path for input files. - -=back - -=head1 -DISCLAIMER & COPYING POLICY - -LilyPond is copyright 1996,97 by its authors. LilyPond is -distributed under the terms of the GNU General Public -License. LilyPond is provided without any warranty what so ever. -LilyPond may be freely distributed. For further information consult -the GNU General Public License, which is in the file F - -=head1 PREREQUISITES - -For compilation you need. - -=over 5 - -=item * -Unix. LilyPond is known to run on Linux, AIX, Digital Unix and -Solaris (if you have the Cygnus WIN32 port of the GNU utils, it will -even work in Lose NT/95) - -=item * -GNU C++ v2.7 or better, with libg++ installed. Version 2.7.2 -or better recommended. I doubt if it will compile with AT&T CC. - -=item * -Bash. Most scripts will continue to work with a stock sh, but they -will generate (harmless) syntax errors - -=item * -GNU make. - -=item * -Flex (2.5.1 or better). - -=item * -Bison. - -=item * -Perl. The Makefile uses Perl for trivial operations, and you -could tinker with it to use sed or awk. - -=back - -LilyPond does use a lot of resources. For operation you need the following: - -=over 5 - -=item * -a fast computer (a full page of music typically takes 1 minute -on my 486/66, using the DEBUG compile. It's lot slower than most -MusiXTeX preprocessors) - -=item * -TeX - -=item * -The MusixTeX fonts. (I use version those found in MusixTeX -Taupin version T.59) - -=back - -=head1 COMPILING - -Do: - - tar zxf flower-1.11.9.tar.gz - tar zxf lilypond-1.2.13.tar.gz - cd lilypond-1.2.13 - configure - make - -You probably want to edit Variables.make to tailor the compilation -flags. If you're not into debugging C++, then you should go for no -debugging and C<-O2> - -=head1 AUTHORS - -=over 5 - -=item * -Han-Wen Nienhuys , Main author - -=item * -Jan Nieuwenhuizen , Context errors, Lyrics, -bits of FlowerLib, general comments. - -=item * -Mats Bengtsson , bugfixes, testing, general comments. - -=back - -Your name could be here! If you want to help, then take a look at the -SMALLISH PROJECTS section of in the file F. Some do not involve -coding C++ - -=head1 EXAMPLES - -At this time, LilyPond output looks nice, but is not of production -quality. If you're not discouraged; this is what I type in my xterm: - - lilypond someinput.ly - tex test - xdvi test& - -This is what the output looks like over here: - - LilyPond 0.0.pre32-3/FlowerLib 1.0.27. Compile: Feb 18 1997, 11:21:57 (g++ 2.7.2) - Parsing ... [./init//symbol.ini[./init//dutch.ini][./init//script.ini][./init//table_sixteen.ini]][./input/wohltemperirt.ly] - Setting up music ...Processing music ............ - Preprocessing ... - Calculating column positions ... [3][6][9] - Postprocessing ... - warning: slope_index(): beam steeper than 0.5 (-0.555556) - warning: slope_index(): beam steeper than 0.5 (-0.588346) - warning: slope_index(): beam steeper than 0.5 (-0.523166) - warning: slope_index(): beam steeper than 0.5 (0.571915) - warning: slope_index(): beam steeper than 0.5 (-0.555556) - warning: slope_index(): beam steeper than 0.5 (-0.588346) - warning: slope_index(): beam steeper than 0.5 (-0.523166) - warning: slope_index(): beam steeper than 0.5 (0.571915) - output to lelie.out... - - hw:~/musix/spacer$ tex test - This is TeX, Version 3.14159 (C version 6.1) - (test.tex - Hyphenation patterns for english, dutch, loaded. - (lilyponddefs.tex) (lelie.uit) [1] [2] ) - Output written on test.dvi (2 pages, 8420 bytes). - Transcript written on test.log. - - hw:~/musix/spacer$ xdvi test& - [1] 855 - -Check out the input files, some of them have comments - - -=head1 PROBLEMS - -If LilyPond bombs out, then please recompile using with debugging info -turned on, and send a copy of the input which causes the error and a -gdb stacktrace of the crash. It also helps if you can print the values -of the objects. So if your trace is - - (gdb) backtrace 12 - #0 Interval::operator+= (this=0x11fffec60..) - at ../flower/interval.hh:50 - #1 0x12005195c in Item::width (this=0x14008a680) at src/item.cc:39 - #2 0x12008fdbc in itemlist_width (its=0x11fffed58 .. - : - : - -Than it would help if you send a dump of the Interval and the Item -(use: C or use LilyPond C methods). - -This is a beta version of LilyPond. Please send your helpful comments -and patches to me (see AUTHORS section) - -LilyPond is updated very frequently, the latest version is always available at: -ftp://pcnov095.win.tue.nl/pub/lilypond. - - -=head1 FILES - -=over 5 - -=item F -The initialisation file with symbol tables etc. It -includes files from the directory F. - -=back - -=head1 SEE ALSO - -There are some documentation files in the subdirectory F, -among others: lilygut, lilyinput, error, faq, - -=head1 REMARKS - -LilyPond has no connection with the music package RoseGarden, other -than the names being similar :-) - -=head1 HISTORY - -(for a detailed changelog, see F) - -LilyPond's roots lie in MPP, a preprocessor to the rather arcane -MusiXTeX macro package for TeX. A friend of mine, Jan Nieuwenhuizen -wrote the first 44 versions (0.01 to 0.44), then his program caught my -attention, and I was slowly sucked in to the interesting problem of -easily producing beautifully printed music. I contributed some -code. We soon realised that MPP's design was too fundamentally broken -to be repaired. It was decided to rewrite MPP. We debated a lot about -the requirements to an inputformat (fall 1995). I sat down and started -with a parser-first, bottom-up rewrite called mpp95 (which totally -failed, obviously). - -After long and hard thinking, I came up with an algorithm for the -horizontal spacing of multiple staffs (april 1996) I coded it (and did -not test it). After starting with this fundamental piece, I slowly -added the stages which come before spacing, and after. A half year -later later, I had a first working version, (october 1996). I -announced Patchlevel 0.0.7 (or 8) to the mutex list after asking some -technical details on spacing; it was downloaded approximately 4 times. -Then I got the hang of it, and in the subsequent two months, I coded -until it had doubled in size (pl 23). diff --git a/Documentation/lelie_logo.png b/Documentation/lelie_logo.png deleted file mode 100644 index deaaa9d45c..0000000000 Binary files a/Documentation/lelie_logo.png and /dev/null differ diff --git a/bin/make_fversion b/bin/make_fversion deleted file mode 100755 index 185eaae445..0000000000 --- a/bin/make_fversion +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -echo '#ifndef FVERSION_HH' -echo '#define FVERSION_HH' -echo '#define FMAJOR_VERSION ' "$1" -echo '#define FMINOR_VERSION ' "$2" -echo '#define FPATCH_LEVEL ' "$3" -echo '#define FMY_PATCH_LEVEL ' "$4" -echo '#define FBUILD ' "$5" -echo '#define FVERSIONSTR "'$1.$2.$3$4 \#$5'"' -echo '#define FCOMPILER "'$6'"' -echo '#endif' diff --git a/lily/notename.cc b/lily/notename.cc deleted file mode 100644 index 99abaf605f..0000000000 --- a/lily/notename.cc +++ /dev/null @@ -1,50 +0,0 @@ -#include "glob.hh" -#include "string.hh" -#include "notename.hh" -#include "lexer.hh" -#include "identifier.hh" - - - -void -Notename_tab::lookup(int &large, int &small, String s) -{ - large = -1; - small = 0; - - for (int i =0; i < 7*5; i++) - if (s == notetab[i]) - { - large = i /5; - small = i %5 - 2; - return; - } -} - - -void -Notename_tab::set(int l, int s, String n) -{ - assert(l < 8 && s <= 2 && s >= -2 && l >=0); - notetab[l * 5 + s +2] = n; -} -/* *************** */ - -#if 0 -void -My_flex_lexer::set(Notename_tab *n) -{ - delete defaulttab; - defaulttab = n; -} - -void -My_flex_lexer::lookup_notename(int &large, int &small, String s) -{ - if (!defaulttab) - set(lookup_identifier("default_table")-> - notename_tab(true)); - - defaulttab->lookup(large, small, s); -} -#endif diff --git a/make/ACVariables.make.in b/make/ACVariables.make.in deleted file mode 100644 index 3a07df7b4d..0000000000 --- a/make/ACVariables.make.in +++ /dev/null @@ -1,16 +0,0 @@ -# -*-Makefile-*- - -# @AUTOHEADER@ - -#CXXFLAGS=@CXXFLAGS@ -#CXX=@CXX@ -bindir=@bindir@ -includedir=@includedir@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -DEFS=@DEFS@ -#SET_MAKE=@SET_MAKE@ -DEFINES=@DEFINES@ -COMPILEINFO=@COMPILEINFO@ -BISON=@BISON@ -FLEX=@FLEX@ diff --git a/make/configure.in b/make/configure.in deleted file mode 100644 index 2e80c14fa8..0000000000 --- a/make/configure.in +++ /dev/null @@ -1,85 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(flower/lib/choleski.cc) -AC_LANG_CPLUSPLUS - -AC_ARG_ENABLE(printing, - [ --enable-printing set debug printing], - [DEFINES="$DEFINES -DNPRINT"]) -AC_ARG_ENABLE(checking, - [ --enable-checking set debug checks], - [DEFINES="$DEFINES -DNDEBUG"]) -AC_ARG_ENABLE(debug, - [ --enable-debug set debug info], - [DEFINES="$DEFINES -g"], [DEFINES="$DEFINES -O2"]) - -dnl COMPILEINFO="$HOST $host $TARGET $target" -AUTOHEADER="This file was automatically generated by configure" -CXXFLAGS=${CXXFLAGS:-""} # don't want -g -O junk -AC_PROG_CXX - -AC_SUBST(DEFINES) -AC_SUBST(COMPILEINFO) -AC_SUBST(AUTOHEADER) -AC_SUBST(BISON) -AC_SUBST(FLEX) - -AC_CHECK_PROGS(BISON, bison, error) -AC_CHECK_PROGS(FLEX, flex, error) -AC_CHECK_PROGS(MAKE, make, error) -AC_CHECK_PROGS(PODMAN, pod2man, error) - -if test $MAKE = "error" -then - echo Please install GNU make -else - $MAKE -v| grep -q GNU - if test "$?" = 1 - then - AC_MSG_ERROR(Please install *GNU* make) - fi -fi - -if test $BISON = "error" -then - AC_MSG_ERROR(can't find bison. Please install Bison (1.24 or better)) -fi - -if test $PODMAN = "error" -then - AC_MSG_WARN(can't find pod. You should install Perl (version 5 or better)) -fi - -if test $FLEX = "error" -then - AC_MSG_ERROR(can't find flex. Please install Flex (2.5 or better)) -fi - -if $CXX --version | grep -q '2\.7' -then - true -else - AC_MSG_ERROR(can't find g++ 2.7) -fi - -AC_CHECK_HEADER(FlexLexer.h, true, - AC_MSG_ERROR(can't find flex header. Please install Flex headers correctly)) - - - - -AC_OUTPUT(make/out/ACVariables.make:make/ACVariables.make.in) - - -dnl AC_OUTPUT(config.hh) - - -cat << END - -Finished configuring. Please do the following command before -attempting to build anything: - - make -C make/ -f Initial.make #make is GNU make, of course. - - -END - diff --git a/make/lilypond.spec b/make/lilypond.spec deleted file mode 100644 index f7b50561d4..0000000000 --- a/make/lilypond.spec +++ /dev/null @@ -1,40 +0,0 @@ -Description: LilyPond is a program which converts a music-script (mudela) into\ -TeX output, or MIDI to produce multi-staff scores. Feature include multiple\ -meters, clefs, keys, lyrics, versatile input-language, cadenzas\ -beams, slurs, triplets\ -multiple voices within one staff. -Name: lilypond -Version: 0.0.39.hwn2 -Release: 1 -Copyright: GPL -Group: Applications/Publishing -Source0: pcnov095.win.tue.nl:/pub/lilypond/lilypond-0.0.39.hwn2.tar.gz -Summary: A preprocessor to make TeX typeset music. - -%prep -%setup -%build -PREFIX=/usr/lib ./configure -make all OPTIFLAG="-O2" -%install -make install -%files -%doc Documentation/README.txt Documentation/CodingStyle.txt -%doc Documentation/lilygut.txt Documentation/lilyinput.txt -%doc Documentation/error.txt Documentation/faq.txt Documentation/index.txt -%doc Documentation/language.txt Documentation/lelie_logo.png -/usr/bin/lilypond -/usr/bin/mi2mu -/usr/lib/lilypond/init/bare.ini -/usr/lib/lilypond/init/dutch.ini -/usr/lib/lilypond/init/english.ini -/usr/lib/lilypond/init/script.ini -/usr/lib/lilypond/init/swedish.ini -/usr/lib/lilypond/init/symbol.ini -/usr/lib/lilypond/init/table_sixteen.ini -/usr/lib/lilypond/init/table_twenty.ini -/usr/lib/lilypond/titledefs.tex -/usr/lib/lilypond/lilyponddefs.tex - - -