From ca3efc515227930fb593aab58022d3e213aa7350 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 22:25:40 +0000 Subject: [PATCH] lilypond-1.2.7 --- Documentation/ntweb/index.texi | 214 ++++++++++++++++++++++++ aclocal.m4 | 4 - lily/GNUmakefile | 2 +- lily/debug.cc | 10 +- lily/include/debug.hh | 6 +- lily/include/simple-spacer.hh | 18 ++ lily/simple-spacer.cc | 10 ++ ly/auto-beam-settings.ly | 3 + stepmake/aclocal.m4 | 4 - stepmake/stepmake/generic-targets.make | 6 - stepmake/stepmake/help2man-targets.make | 1 - stepmake/stepmake/help2man-vars.make | 3 +- 12 files changed, 256 insertions(+), 25 deletions(-) create mode 100644 Documentation/ntweb/index.texi create mode 100644 lily/include/simple-spacer.hh create mode 100644 lily/simple-spacer.cc diff --git a/Documentation/ntweb/index.texi b/Documentation/ntweb/index.texi new file mode 100644 index 0000000000..4880b8492c --- /dev/null +++ b/Documentation/ntweb/index.texi @@ -0,0 +1,214 @@ +\input texinfo @c -*-texinfo-*- +@setfilename index.info +@settitle LilyPond Windows NT 4-0/95 Distribution + +@chapter LilyPond Windows NT 4.0/95 Distribution + +This page documents the NT port of LilyPond. It reflects the latest +version of lilypond that was ported. + +@section Windows NT/95 Binary Distribution + + +This page is dedicated to the distribution of precompiled and +preformatted LilyPond binaries for Windows NT 4.0 . This package is +covered under the GNU General Public License and all of the source is +available on the official +@uref{http://www.cs.ruu.nl/people/hanwen/lilypond/index.html,LilyPond +Homepage}. A full set of +@uref{http://www.cs.ruu.nl/people/hanwen/lilypond/Documentation/tex/out-www/index.html,documentation} +in various formats is also available. + + + LilyPond is a music typesetter. It produces beautiful sheet music +using a high level description file as input. LilyPond is part of +the GNU Project. + + + + +@table @samp + @item BUG FIXES + @itemize @bullet + @item + @code{os.rename(this.__base + '.' + str(os.getpid()) + '.dvi', outfile) + os.error: (2, 'No such file or directory')} + This problem was reported by many and thoroughly debugged by + Wolf Lother. We have abandoned the use of @code{os.getpid()}, which + for one reason or another resulted in negative numbers on + windows 95, in favor of the tempfile module. We have also + attempted to use only one '.' in naming temporary files. + @end itemize +@end table + +@table @samp + @item NOTES + @itemize @bullet + @item We have had preliminary reports that the Windows 95 + installation works on Windows 98. Many thanks to Christian + Mondrup. + + @item Please use the Add/Remove program control panel entry to + unistall your current version of Lilypond before you attempt to + install this one. + + @item If you are upgrading from a previous version of lilypond you will most + likely need to flush your font cache. I generally just toss + @file{D:\localtexmf\fonts\tfm\public\ehrhardt} and + @file{D:\localtexmf\fonts\pk\ljfour\public\ehrhardt} in the Recyle + Bin. Your local font directory may be different, please refer to your + local installation of @code{TeX}. + + @item The FAT16, FAT32, and NTFS file system problems have been + corrected. I have tested various installations that are known + to be operational. + @end itemize +@end table + +The installer was created with +@uref{http://www.gentee.com/,CreateInstall}. This is a shareware +application that has capabilities close to the high dollar installers +@strong{InstallShield}, @strong{Install Vise}, and @strong{WiseInstaller}. +@strong{CreateInstall} does cost $38 to register which is probably going to +be frowned upon, but I was unable to find a freeware install builder +that was suitable. The self extracting distribution currently: + +@itemize @bullet + @item Installs the lilypond distribution on any valid file system. + @item Optionally creates a @emph{Lilypond} shortcut group on your start + menu with the following shortcuts. + @itemize @bullet + @item @strong{lilyshell} + @item @strong{uninstall} + @end itemize + @item Allows unistall through the Add/Remove Program interface on the + control panel. + @item The @strong{lilyshell} uses the /E and /K switches to extend the + environment size and initialize the shell environment. + @item It has the look and feel of a real Windows installer +@end itemize + +The @strong{lilyshell} shortcut initializes the environment so you can +generate music from a MSDOS prompt with commands like: + +@itemize @bullet + @item ly2dvi + @item convert-mudela + @item mudela-book + @item lilypond + @item midi2ly +@end itemize + +This release has been tested on Windows NT 4.0sp3 and Windows 95 and +found to be operational. If you have any troubles and or comments +please do not hesitate to drop me a line +@uref{mailto:daboys@@austin.rr.com,Jeffrey B. Reed}. + + + +@itemize @bullet + + @item Using any text that contains '@{@}' for the value of the any + valid mudela @strong{header} construct will cause @strong{ly2dvi} to + fail. A work around for the @strong{latexheaders} construct is to + create a @strong{TeX} file and set @strong{latexheaders} to "\input + foo.tex". +@end itemize + + + + +LilyPond uses the @code{TeX} package as its rendering engine. @code{TeX} +represents the state-of-the-art in computer typesetting. It is used to +generate documentation, article, and book quality output. It is an +assume tool to have in your toolbox. + +LilyPond uses a @code{Python} script named @code{ly2dvi} to render a +professional quality music score. @code{Python} is an interpreted, +interactive, object-oriented programming language. It is often +compared to @code{Tcl}, @code{Perl}, @code{Scheme} or @code{Java}. + +Gsview is used to display and print the music scores created by +LilyPond. + +@itemize @bullet + @item @uref{http://www.snafu.de/~cschenk/miktex/,code(MiKTeX)}. Versions + 1.10b, 1.11, and 1.20b are known to work. + @item @uref{http://www.python.org,code(Python)}. Version 1.5.1 and + possibly 1.5 work. + @item @uref{http://www.cs.wisc.edu/~ghost/gsview/index.html,code(gsview)}. + Version 5.10 is known to work. +@end itemize + + + + +@itemize @bullet + @item Windows 95 + @uref{lilypond-VERSION-95.exe,lilypond-VERSION-95} + @item Windows NT 4.0 + @uref{lilypond-VERSION-nt.exe,lilypond-VERSION-nt} +@end itemize + + + + +@itemize @bullet + the distribution. + @item run downloaded executable. + @item The first installation of LilyPond also requires these + additional steps: + @table @samp + @item LaTeX geometry package + @itemize @bullet + @item @uref{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/supported/geometry.zip,download} the zip file to @code{\Temp}. + @item Extract the zip file into the LaTeX package area of + @code{MiKTeX}. This will be @strong{@emph{MiKTeX-dir}\tex\latex} + @item From a Command Prompt change directory into geometry + directory that was just extracted. + @item In the geometry directory type @strong{latex geometry.ins} + @end itemize + @item Miscellaneous fonts + @itemize @bullet + @item In your favorite editor create a file named + @code{cmbx14.mf}. Add the following lines: + @strong{design_size=14.4; } + @strong{input b-cmbx;} + @item From a Command Prompt copy cmbx14.mf to the public font + area of MiKTeX: + @strong{copy cmbx14.mf @emph{MiKTeX-dir}\fonts\source\public\cm\base} + @end itemize + @item NOTE + MiKTeX-1.11 localtexmf configurations should use + @strong{@emph{localtexmf-dir}} in place of @strong{@emph{MiKTeX-dir}}. + @end table + instructions below +@end itemize + + + + +@itemize @bullet + @item Take a look at @uref{angels.ly,angels.ly} + @item Save angels.ly to your local disk + @item Select the @strong{lilyshell} shortcut from the @emph{Lilypond} group + @item From a LilyPond Command Prompt run: + @strong{ly2dvi angels.ly} + @strong{dvips angels.dvi} + @strong{start angels.ps} +@end itemize + + + + +@itemize @bullet + @item @uref{http://www.cs.ruu.nl/people/hanwen/lilypond/index.html,LilyPond Homepage} + @item @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/,LilyPond Ftp Site} + @item @uref{http://jab.org/mail/gnu-music-discuss@@gnu.org/,gnu-music-discuss mail archive} + @item Please feel free to mail us at @uref{mailto:gnu-music-discuss@@gnu.org,gnu-music-discuss} +@end itemize + + + + +@bye diff --git a/aclocal.m4 b/aclocal.m4 index a7127718d8..1bbc0f1cc9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,9 +1,5 @@ dnl WARNING WARNING WARNING WARNING dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4 -dnl WARNING WARNING WARNING WARNING -dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4 -dnl WARNING WARNING WARNING WARNING -dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4 dnl aclocal.m4 -*-shell-script-*- dnl StepMake subroutines for configure.in diff --git a/lily/GNUmakefile b/lily/GNUmakefile index b40f17484d..638a618ace 100644 --- a/lily/GNUmakefile +++ b/lily/GNUmakefile @@ -20,7 +20,7 @@ $(outdir)/my-lily-parser.o: $(outdir)/parser.hh $(outdir)/my-lily-lexer.o: $(outdir)/parser.hh $(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/lily-version.o: $(outdir)/version.hh -$(outdir)/main.o: $(outdir)/BLURB.hh $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh +$(outdir)/main.o: $(outdir)/BLURB.hh diff --git a/lily/debug.cc b/lily/debug.cc index 200af4ec32..3534df6710 100644 --- a/lily/debug.cc +++ b/lily/debug.cc @@ -21,7 +21,7 @@ #include "misc.hh" #include "main.hh" -Dstream *monitor=0; +Dstream *lily_monitor=0; ostream * nulldev =0; @@ -30,12 +30,12 @@ struct _Dinit { _Dinit() { nulldev = new ofstream ("/dev/null"); - monitor = new Dstream (&cout,".dstreamrc"); + lily_monitor = new Dstream (&cout,".dstreamrc"); } ~_Dinit() { delete nulldev; - delete monitor; + delete lily_monitor; } } dinit; @@ -65,7 +65,7 @@ debug_init() // libg++ 2.8.0 doesn't have set_new_handler // set_new_handler (&mynewhandler); #endif - set_flower_debug (*monitor, check_debug); + set_flower_debug (*lily_monitor, check_debug); signal (SIGFPE, float_handler); } @@ -132,7 +132,7 @@ void set_debug (bool b) { check_debug =b; - set_flower_debug (*monitor, check_debug); + set_flower_debug (*lily_monitor, check_debug); #ifdef MEMORY_PARANOID if (check_malloc_b) if (mcheck (0)) diff --git a/lily/include/debug.hh b/lily/include/debug.hh index aca896309d..d8a5d47294 100644 --- a/lily/include/debug.hh +++ b/lily/include/debug.hh @@ -22,15 +22,15 @@ extern ostream &warnout ; extern ostream *mlog; // debugging -extern Dstream *monitor; // monitor +extern Dstream *lily_monitor; // monitor #ifdef NPRINT /** Global debug output. Compare with cin, cout, cerr, DOUT is DEBUG OUTPUT */ -#define DOUT if (0) *monitor // clever hack +#define DOUT if (0) *lily_monitor // clever hack #else -#define DOUT if (check_debug) monitor->identify_as (__PRETTY_FUNCTION__) +#define DOUT if (check_debug) lily_monitor->identify_as (__PRETTY_FUNCTION__) #endif extern bool check_debug; diff --git a/lily/include/simple-spacer.hh b/lily/include/simple-spacer.hh new file mode 100644 index 0000000000..c122c64e2c --- /dev/null +++ b/lily/include/simple-spacer.hh @@ -0,0 +1,18 @@ +/* + simple-spacer.hh -- declare Simple_spacer + + source file of the GNU LilyPond music typesetter + + (c) 1999 Han-Wen Nienhuys + + */ + +#ifndef SIMPLE_SPACER_HH +#define SIMPLE_SPACER_HH + +class Simple_spacer { + +}; + +#endif /* SIMPLE_SPACER_HH */ + diff --git a/lily/simple-spacer.cc b/lily/simple-spacer.cc new file mode 100644 index 0000000000..3616155b02 --- /dev/null +++ b/lily/simple-spacer.cc @@ -0,0 +1,10 @@ +/* + simple-spacer.cc -- implement Simple_spacer + + source file of the GNU LilyPond music typesetter + + (c) 1999 Han-Wen Nienhuys + + */ + + diff --git a/ly/auto-beam-settings.ly b/ly/auto-beam-settings.ly index dfdd44297e..71b2c55cab 100644 --- a/ly/auto-beam-settings.ly +++ b/ly/auto-beam-settings.ly @@ -42,6 +42,7 @@ time3_8beamAutoEnd = "3/8"; time4_4beamAutoEnd = "1/2"; time4_4beamAutoEnd_12 = "1/4"; +time4_4beamAutoEnd_16 = "1/4"; time4_4beamAutoEnd_32 = "1/8"; time4_8beamAutoEnd = "1/4"; @@ -62,6 +63,8 @@ time12_8beamAutoEnd = "3/8"; time12_8beamAutoEnd_16 = "3/8"; time12_8beamAutoEnd_32 = "1/8"; + + %{ Users may override in most cases, simply by issuing diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index c71271fe54..03d82fc7c7 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -1,7 +1,3 @@ -dnl WARNING WARNING WARNING WARNING -dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4 -dnl WARNING WARNING WARNING WARNING -dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4 dnl aclocal.m4 -*-shell-script-*- dnl StepMake subroutines for configure.in diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index 4a2a70dbc4..327e1e9207 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -92,16 +92,10 @@ doc++: (cd $(outdir); sh ../$(step-bindir)/tar-docxx.sh $(package)-$(TOPLEVEL_VERSION).tar.gz) - local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES) -# echo topdir=$(topdir) -# echo distdir=$(distdir) -# echo locladir=$(localdir) mkdir -p $(distdir)/$(localdir) $(LN) $(DIST_FILES) $(distdir)/$(localdir) -#UGH UGH . make ifdef doesn't mix with string substitution semantics (late expansion vs. early expansion) -# case "$(NON_ESSENTIAL_DIST_FILES)x" in x) ;; *) \ $(LN) $(NON_ESSENTIAL_DIST_FILES) $(distdir)/$(localdir);; \ esac diff --git a/stepmake/stepmake/help2man-targets.make b/stepmake/stepmake/help2man-targets.make index 422357acee..02c49f2584 100644 --- a/stepmake/stepmake/help2man-targets.make +++ b/stepmake/stepmake/help2man-targets.make @@ -10,7 +10,6 @@ man: $(HELP2MAN_GROFFS) localuninstall: uninstall-help2man - uninstall-help2man: $(foreach a, $(notdir $(MANGROFFS)), rm -f $(a) && ) true diff --git a/stepmake/stepmake/help2man-vars.make b/stepmake/stepmake/help2man-vars.make index 4d9b9c9854..6ae6dd819e 100644 --- a/stepmake/stepmake/help2man-vars.make +++ b/stepmake/stepmake/help2man-vars.make @@ -1,4 +1,5 @@ HELP2MAN_GROFFS = $(addsuffix .1, $(addprefix $(outdir)/, $(HELP2MAN_EXECS))) -OUT_DIST_FILES += $(HELP2MAN_GROFFS) +# triggers recompilations. Ugh. +OUT_DIST_FILES += # $(wildcard $(outdir)/*.1) -- 2.39.5