From f3467e6b78be6d8497cf4d0a43ffd01656a33300 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 22 Feb 1999 08:57:22 +0100 Subject: [PATCH] release: 1.1.32 --- AUTHORS.txt | 653 ++- Documentation/GNUmakefile | 2 +- Documentation/tex/lilypond-overview.doc | 25 +- Documentation/tex/refman.yo | 3 - INSTALL.txt | 3612 ++++++++++++++--- NEWS | 57 +- PATCHES.txt | 1534 +++++-- README.txt | 1335 +++++- TODO | 53 +- VERSION | 4 +- buildscripts/set-lily.sh | 6 +- config.make.in | 1 + configure | 10 + configure.in | 8 + {lily => flower}/include/direction.hh | 2 +- {lily => flower}/include/drul-array.hh | 23 +- flower/include/interval.hh | 88 +- flower/include/interval.tcc | 45 +- input/bugs/auto-grace.ly | 17 +- input/bugs/rediculous-dim.ly | 8 - input/star-spangled-banner.ly | 2 +- input/test/memory.ly | 13 + lily/abbrev.cc | 2 +- lily/align-element.cc | 2 +- lily/auto-beam-engraver.cc | 1 + lily/axis-group-spanner.cc | 15 +- lily/bar-script-engraver.cc | 11 +- lily/beam.cc | 2 +- lily/bow.cc | 14 +- lily/break.cc | 22 +- lily/collision.cc | 2 +- lily/direction.cc | 2 + lily/dot-column.cc | 2 +- lily/engraver-group.cc | 1 - lily/extender-spanner.cc | 2 +- lily/g-staff-side.cc | 2 +- lily/gourlay-breaking.cc | 14 +- lily/hara-kiri-vertical-group-spanner.cc | 2 +- lily/include/abbrev.hh | 2 +- lily/include/align-element.hh | 2 +- lily/include/atom.hh | 1 + lily/include/bar.hh | 2 - lily/include/beam.hh | 4 +- lily/include/bow.hh | 2 - lily/include/break.hh | 1 - lily/include/collision.hh | 2 +- lily/include/cons.hh | 68 +- lily/include/dot-column.hh | 2 +- lily/include/extender-spanner.hh | 2 +- lily/include/g-staff-side.hh | 2 +- .../hara-kiri-vertical-group-spanner.hh | 2 +- lily/include/killing-cons.tcc | 23 +- lily/include/local-key-item.hh | 2 +- lily/include/multi-measure-rest.hh | 3 +- lily/include/music-iterator.hh | 2 +- lily/include/note-column.hh | 2 +- lily/include/p-score.hh | 33 +- lily/include/rest-collision.hh | 2 +- lily/include/rhythmic-head.hh | 2 +- lily/include/score-element.hh | 10 +- lily/include/script-column.hh | 2 +- lily/include/script.hh | 2 +- lily/include/separating-group-spanner.hh | 6 +- lily/include/simple-spacer.hh | 48 - lily/include/simultaneous-music-iterator.hh | 3 +- lily/include/single-malt-grouping-item.hh | 9 +- lily/include/slur.hh | 4 +- lily/include/span-bar.hh | 4 +- lily/include/spanner.hh | 20 +- lily/include/spring-spacer.hh | 4 +- lily/include/staff-side.hh | 2 +- lily/include/stem.hh | 2 +- lily/include/text-spanner.hh | 2 +- lily/include/tie.hh | 2 +- lily/include/translator-group.hh | 4 +- lily/include/tuplet-spanner.hh | 2 +- lily/include/volta-spanner.hh | 2 +- lily/item.cc | 12 +- lily/lexerinit.cc | 30 - lily/local-key-item.cc | 2 +- lily/lookup.cc | 4 +- lily/main.cc | 1 - lily/molecule.cc | 4 +- lily/multi-measure-rest.cc | 13 +- lily/note-column.cc | 4 +- lily/note.cc | 74 - lily/p-col.cc | 4 - lily/p-score.cc | 266 +- lily/parser.yy | 80 +- lily/rest-collision.cc | 10 +- lily/rhythmic-grouping.cc | 28 +- lily/rhythmic-head.cc | 2 +- lily/score-element.cc | 19 +- lily/script-column.cc | 2 +- lily/script.cc | 4 +- lily/separating-group-spanner.cc | 6 +- lily/separating-line-group-engraver.cc | 2 +- lily/simple-spacer.cc | 124 - lily/simultaneous-music-iterator.cc | 29 +- lily/single-malt-grouping-item.cc | 3 +- lily/slur-engraver.cc | 1 - lily/slur.cc | 2 +- lily/span-bar.cc | 2 +- lily/spanner.cc | 113 +- lily/spring-spacer.cc | 48 +- lily/staff-side.cc | 2 +- lily/stem.cc | 4 +- lily/template1.cc | 25 - lily/template2.cc | 14 - lily/template6.cc | 8 - lily/template7.cc | 3 +- lily/text-engraver.cc | 6 - lily/text-spanner.cc | 2 +- lily/tie.cc | 2 +- lily/translator-ctors.cc | 1 - lily/translator-group.cc | 60 +- lily/tuplet-spanner.cc | 10 +- lily/volta-spanner.cc | 2 +- lily/warn.cc | 1 - lily/word-wrap.cc | 55 +- ly/params.ly | 2 - ly/script.ly | 7 + make/lilypond-vars.make | 2 +- make/out/lelievijver.lsm | 8 +- make/out/lilypond.lsm | 8 +- make/out/lilypond.spec | 23 +- make/toplevel.make.in | 2 - mutopia/GNUmakefile | 2 +- mutopia/N.W.Gade/GNUmakefile | 10 - mutopia/N.W.Gade/brass.ly | 834 ---- mutopia/N.W.Gade/global.ly | 49 - mutopia/N.W.Gade/parts.ly | 313 -- mutopia/N.W.Gade/score.ly | 150 - mutopia/N.W.Gade/strings.ly | 1335 ------ mutopia/N.W.Gade/wood.ly | 1066 ----- stepmake/make/out/stepmake.lsm | 8 +- stepmake/make/out/stepmake.spec | 4 +- 137 files changed, 7015 insertions(+), 5778 deletions(-) rename {lily => flower}/include/direction.hh (95%) rename {lily => flower}/include/drul-array.hh (64%) delete mode 100644 input/bugs/rediculous-dim.ly create mode 100644 input/test/memory.ly delete mode 100644 lily/include/simple-spacer.hh delete mode 100644 lily/lexerinit.cc delete mode 100644 lily/note.cc delete mode 100644 lily/simple-spacer.cc delete mode 100644 lily/template1.cc delete mode 100644 lily/template2.cc delete mode 100644 lily/template6.cc delete mode 100644 mutopia/N.W.Gade/GNUmakefile delete mode 100644 mutopia/N.W.Gade/brass.ly delete mode 100644 mutopia/N.W.Gade/global.ly delete mode 100644 mutopia/N.W.Gade/parts.ly delete mode 100644 mutopia/N.W.Gade/score.ly delete mode 100644 mutopia/N.W.Gade/strings.ly delete mode 100644 mutopia/N.W.Gade/wood.ly diff --git a/AUTHORS.txt b/AUTHORS.txt index ac3b84b09d..69f0e8bae7 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,76 +1,577 @@ - - - - - - - - - - AUTHORS - who did what on GNU LilyPond? - - -Contents - - -This file lists authors of GNU LilyPond, and what they -wrote. This list is alphabetically ordered. - - -o Tom Cato Amundsen , cembalo-par- - tita in mudela, accordion symbols, some mudela-book.py - -o Mats Bengtsson , - http://www.s3.kth.se/~matsb/ clef stuff, key stuff, - swedish notenames, testing, general comments. - -o Eric Bullinger , accidental trans- - position. - -o Jan Arne Fagertun , - TeX titling and lytodvi.sh - -o Anthony Fok , debian package: debian/* - -o Neil Jerram . parts of Documenta- - tion/Vocab* - -o Donald Ervin Knuth, http://www.cs-staff.stan- - ford.edu/~knuth/ mf/ital-*.mf (these were taken from - the CM fonts) - -o Werner Lemberg , misc - bugfixes, some Beam and Stem code. - -o David R. Linn , Mailing list - maintenance. - -o Adrian Mariano <> Reference manual, tutorial fixes, - glossary. - -o Han-Wen Nienhuys , - http://www.cs.uu.nl/~hanwen/ Main author (initials: - HWN). - -o Jan Nieuwenhuizen , - http://www.xs4all.nl/~jantien/ Main author (initials: - JCN). - -o Alexandre Oliva , http://sun- - site.unicamp.br/~oliva/ testing - -o Franc,ois Pinard , parts of - Documentation/Vocab*, started internationalization - stuff - -o Jeffrey B. Reed , Windows-NT support. - -o Shay Rojanski Some mudela source. - - -Your name could be here! If you want to help, then take a -look at the SMALLISH PROJECTS section of in the file TODO. -Some do not involve coding C++ - -[And of course we sincerely thank J.S.Bach, F.Schubert, T. -Merula and W.A.Mozart for their beautiful music] +x T ascii +x res 240 24 40 +x init +p1 +x font 3 B +f3 +s10 +V400 +H240 +tAUTHORS +wh24 +t- +wh24 +twho +wh24 +tdid +wh24 +twhat +wh24 +ton +wh24 +tGNU +wh24 +tLilyPond? +n40 0 +V520 +H0 +tContents +n40 0 +V2560 +H1440 +n40 0 +V2640 +p2 +x font 1 R +f1 +s10 +V160 +H696 +t-2- +h672 +n40 0 +V280 +H0 +tThis +wh48 +tfile +wh48 +tlists +wh48 +tauthors +wh48 +tof +wh48 +tGNU +wh48 +tLilyPond, +wh24 +tand +wh24 +twhat +wh24 +tthey +n40 0 +V320 +H0 +twrote. +wh48 +tThis +wh24 +tlist +wh24 +tis +wh24 +talphabetically +wh24 +tordered. +n40 0 +V440 +H0 +to +h96 +tTom +wh24 +tCato +wh24 +tAmundsen +wh24 +t, +wh48 +tcembalo-par +Chy +h24 +n40 0 +V480 +H120 +ttita +wh24 +tin +wh24 +tmudela, +wh24 +taccordion +wh24 +tsymbols, +wh24 +tsome +wh24 +tmudela-book.py +n40 0 +V560 +H0 +to +h96 +tMats +wh288 +tBengtsson +wh288 +t, +n40 0 +V600 +H120 +thttp://www.s3.kth.se/~matsb/ +wh48 +tclef +wh48 +tstuff, +wh48 +tkey +wh48 +tstuff, +n40 0 +V640 +H120 +tswedish +wh24 +tnotenames, +wh24 +ttesting, +wh24 +tgeneral +wh24 +tcomments. +n40 0 +V720 +H0 +to +h96 +tEric +wh24 +tBullinger +wh24 +t, +wh24 +taccidental +wh24 +ttrans +Chy +h24 +n40 0 +V760 +H120 +tposition. +n40 0 +V840 +H0 +to +h96 +tJan +wh48 +tArne +wh48 +tFagertun +wh48 +t, +n40 0 +V880 +H120 +tTeX +wh24 +ttitling +wh24 +tand +wh24 +tlytodvi.sh +n40 0 +V960 +H0 +to +h96 +tAnthony +wh24 +tFok +wh24 +t, +wh24 +tdebian +wh24 +tpackage: +wh24 +tdebian/* +n40 0 +V1040 +H0 +to +h96 +tNeil +wh24 +tJerram +wh24 +t. +wh48 +tparts +wh24 +tof +wh24 +tDocumenta +Chy +h24 +n40 0 +V1080 +H120 +ttion/Vocab* +n40 0 +V1160 +H0 +to +h96 +tDonald +wh96 +tErvin +wh96 +tKnuth, +wh120 +thttp://www.cs-staff.stan +Chy +h24 +n40 0 +V1200 +H120 +tford.edu/~knuth/ +wh24 +tmf/ital-*.mf +wh24 +t(these +wh48 +twere +wh48 +ttaken +wh48 +tfrom +n40 0 +V1240 +H120 +tthe +wh24 +tCM +wh24 +tfonts) +n40 0 +V1320 +H0 +to +h96 +tWerner +wh48 +tLemberg +wh24 +t, +wh24 +tmisc +n40 0 +V1360 +H120 +tbugfixes, +wh24 +tsome +wh24 +tBeam +wh24 +tand +wh24 +tStem +wh24 +tcode. +n40 0 +V1440 +H0 +to +h96 +tDavid +wh24 +tR. +wh24 +tLinn +wh24 +t, +wh48 +tMailing +wh48 +tlist +n40 0 +V1480 +H120 +tmaintenance. +n40 0 +V1560 +H0 +to +h96 +tAdrian +wh48 +tMariano +wh48 +t<> +wh48 +tReference +wh48 +tmanual, +wh24 +ttutorial +wh24 +tfixes, +n40 0 +V1600 +H120 +tglossary. +n40 0 +V1680 +H0 +to +h96 +tHan-Wen +wh264 +tNienhuys +wh264 +t, +n40 0 +V1720 +H120 +thttp://www.cs.uu.nl/~hanwen/ +wh72 +tMain +wh48 +tauthor +wh48 +t(initials: +n40 0 +V1760 +H120 +tHWN). +n40 0 +V1840 +H0 +to +h96 +tJan +wh240 +tNieuwenhuizen +wh264 +t, +n40 0 +V1880 +H120 +thttp://www.xs4all.nl/~jantien/ +wh48 +tMain +wh48 +tauthor +wh24 +t(initials: +n40 0 +V1920 +H120 +tJCN). +n40 0 +V2000 +H0 +to +h96 +tAlexandre +wh48 +tOliva +wh48 +t, +wh72 +thttp://sun +Chy +h24 +n40 0 +V2040 +H120 +tsite.unicamp.br/~oliva/ +wh24 +ttesting +n40 0 +V2120 +H0 +to +h96 +tFranc,ois +wh48 +tPinard +wh48 +t, +wh48 +tparts +wh24 +tof +n40 0 +V2160 +H120 +tDocumentation/Vocab*, +wh72 +tstarted +wh96 +tinternationalization +n40 0 +V2200 +H120 +tstuff +n40 0 +V2280 +H0 +to +h96 +tJeffrey +wh24 +tB. +wh24 +tReed +wh24 +t, +wh24 +tWindows-NT +wh24 +tsupport. +n40 0 +V2360 +H0 +to +h96 +tShay +wh24 +tRojanski +wh24 +tSome +wh24 +tmudela +wh24 +tsource. +n40 0 +V2560 +H1440 +n40 0 +V2640 +p3 +x font 1 R +f1 +s10 +V160 +H696 +t-3- +h672 +n40 0 +V280 +H0 +tYour +wh48 +tname +wh48 +tcould +wh48 +tbe +wh24 +there! +wh24 +tIf +wh24 +tyou +wh24 +twant +wh24 +tto +wh24 +thelp, +wh24 +tthen +wh24 +ttake +wh24 +ta +n40 0 +V320 +H0 +tlook +wh24 +tat +wh24 +tthe +wh24 +tSMALLISH +wh24 +tPROJECTS +wh24 +tsection +wh24 +tof +wh24 +tin +wh24 +tthe +wh48 +tfile +wx font 3 B +f3 +h48 +tTODO +f1 +t. +n40 0 +V360 +H0 +tSome +wh24 +tdo +wh24 +tnot +wh24 +tinvolve +wh24 +tcoding +wh24 +tC++ +n40 0 +V440 +H0 +t[And +wh48 +tof +wh48 +tcourse +wh24 +twe +wh24 +tsincerely +wh24 +tthank +wh24 +tJ.S.Bach, +wh24 +tF.Schubert, +wh24 +tT. +n40 0 +V480 +H0 +tMerula +wh24 +tand +wh24 +tW.A.Mozart +wh24 +tfor +wh24 +ttheir +wh24 +tbeautiful +wh24 +tmusic] +n40 0 +V2560 +H1440 +n40 0 +x trailer +V2640 +x stop diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 76f54de971..1bba1d360f 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -6,7 +6,7 @@ NAME = documentation SUBDIRS=man tex pictures topdocs ntweb STEPMAKE_TEMPLATES=documentation README_TOP_FILES=NEWS DEDICATION TODO ANNOUNCE-0.1 -# INFO_FILES = $(wildcard $(outdir)/$(package).info*) +INFO_FILES = $(wildcard $(outdir)/$(package).info*) EXTRA_DIST_FILES = gnu-music-history TODO diff --git a/Documentation/tex/lilypond-overview.doc b/Documentation/tex/lilypond-overview.doc index eae2c17b7c..dbbd19d296 100644 --- a/Documentation/tex/lilypond-overview.doc +++ b/Documentation/tex/lilypond-overview.doc @@ -505,17 +505,16 @@ Figure~\ref{fig:spacing}. \end{center} \end{figure} -Another clearly visible example of music typography is visible in -collisions. When chords or separate voices are printed, the notes -that start at the same time should be printed aligned (ie., with the -same $x$ position). If the pitches are close to each other, the note -heads would collide. To prevent this, some notes (or note heads) have -to be shifted horizontally. An example of this is given in Figure~\ref{fig:collision}. +Another example of music typography is clearly visible in collisions. +When chords or separate voices are printed, the notes that start at +the same time should be printed aligned (ie., with the same $x$ +position). If the pitches are close to each other, the note heads +would collide. To prevent this, some notes (or note heads) have to be +shifted horizontally. An example of this is given in +Figure~\ref{fig:collision}. \begin{figure}[h] \begin{center} - \begin{mudela} - c4 - \end{mudela} + [todo] \caption{Collisions} \label{fig:collision} \end{center} @@ -524,6 +523,14 @@ to be shifted horizontally. An example of this is given in Figure~\ref{fig:coll \bibliographystyle{hw-plain} \bibliography{engraving,boeken,colorado,computer-notation,other-packages} +\section{Requirements} + +\section{Approach} + +\subsection{Input} + +\section{Discussion} + \end{document} diff --git a/Documentation/tex/refman.yo b/Documentation/tex/refman.yo index 998ec95377..6cad45cc87 100644 --- a/Documentation/tex/refman.yo +++ b/Documentation/tex/refman.yo @@ -1475,9 +1475,6 @@ note. Set to \center to align the center of the text with the note. dit(code(textstyle)) Set the text style for superscripts and subscripts. See above for list of text styles. -dit(code(textScriptPadding)) Determines the extra space added between -super-/subscripted text and the closest staff line or note. - dit(code(fontsize)) Can be used to select smaller font sizes for music. The normal font size is 0, and the two smaller sizes are -1 and -2. diff --git a/INSTALL.txt b/INSTALL.txt index e4a952b2a5..3c65b2fa56 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,484 +1,3128 @@ - - - - - - - - - - INSTALL - compiling and installing GNU LilyPond - - HWN & JCN - - -Contents - - 1: ABSTRACT -2: PREREQUISITES -3: RUNNING -4: RECOMMENDED -5: WEBSITE -6: CONFIGURING and COMPILING -7: CONFIGURING FOR MULTIPLE PLATFORMS -8: INSTALLING -9: REDHAT LINUX -10: DEBIAN GNU/LINUX -11: WINDOWS NT/95 -12: AUTHORS - - -1: ABSTRACT - - -This document explains what you need to install LilyPond, -and what you should do. If you are going to compile and -install LilyPond often, e.g. when doing development, you -might want to check out the buildscripts/set-lily.sh script. -It sets some environment variables and symlinks, which comes -in handly when you have to compile LilyPond more often. - - -2: PREREQUISITES - - -For compilation you need: - - -o A GNU system: GNU LilyPond is known to run on these GNU - systems: Linux (PPC, intel), FreeBSD, AIX, NeXTStep, - IRIX, Digital Unix and Solaris. - - -o Lots of disk space: LilyPond takes between 50 and 100 - mb to compile if you use debugging information. If you - are short on disk-space run configure with --disable- - debugging. - - Although we recommend to use Unix, LilyPond is known to - run on Windows NT/95/98 as well. See Section 11. - - -o GNU C++ version 2.8 or newer (egcs-1.1 or newer is also - fine). - -o Python 1.5 (Strictly speaking, you shouldn't need - Python for compiling and installing, but you'll need it - to regenerate the font tables, e.g.). - -o GUILE 1.3 (no, GUILE 1.2 won't work), check out - http://www.gnu.org/software/guile/guile.html. - - -3: RUNNING - - -GNU LilyPond does use a lot of resources. For operation you -need the following: - - -o TeX - -o A PostScript printer and/or viewer (such as - Ghostscript) is strongly recommended. Xdvi will show - all embedded PostScript too if you have Ghostscript - - - installed. - -o GUILE 1.3 (no, GUILE 1.2 won't work), check out - http://www.gnu.org/programs/guile.html - -For running LilyPond successfully you have to help TeX and -MetaFont find various files. The recommended way of doing -so is adjusting the environment variables in the start-up -scripts of your shell. An example is given here for the -Bourne shell: - - - - - export MFINPUTS="/usr/local/share/lilypond/mf:" - export TEXINPUTS="/usr/local/share/lilypond/tex:" - - - - -The empty path component represents and MetaFont's default -search paths. Scripts with the proper paths for the bourne -and C-shell respectively are generated in build- -scripts/out/lilypond-profile and buildscripts/out/lilypond- -login during compilation. - - -4: RECOMMENDED - - -Although not strictly necessary, these are recommended to -have. - - -o GNU make. Check out ftp://ftp.gnu.org or any mirror of - this site. - -o Flex (version 2.5.4 or newer). Check out - ftp://ftp.gnu.org or any mirror of this site. - -o Bison (version 1.25 or newer). Check out - ftp://ftp.gnu.org or any mirror of this site. - -o GUILE 1.3 (no, GUILE 1.2 won't work), check out - http://www.gnu.org/programs/guile.html - - -o Python (version 1.5 or newer). Check out - ftp://ftp.python.org or ftp://ftp.cwi.nl/pub/python. - - -o Yodl. All documentation will be in Yodl. (1.30.17) - ftp://ftp.lilypond.org/pub/yodl - http://www.cs.uu.nl/~hanwen/yodl - - -o Texinfo. (version 3.12 or newer) - - -o GNU find Check out ftp://ftp.gnu.org or any mirror of - this site. - - -o The geometry package for LaTeX is needed to use ly2dvi. - Available at ftp://ftp.ctan.org/tex- - archive/macros/latex/contrib/supported/geometry or at - mirror site ftp://ftp.dante.de - - -o A fast computer: a full page of music typically takes 1 - minute on my 486/133, using the --enable-checking com- - pile. - - -5: WEBSITE - - -If you want to auto-generate Lily's website, you'll need -some additional conversion tools. - - -o xpmtoppm (from the Portable Bitmap Utilities) (For Red- - Hat Linux users: it is included within the package - libgr-progs). - -o Bib2html http://pertsserver.cs.uiuc.edu/~hull/bib2html. - Which, in turn depends on man2html for proper installa- - tion. man2html can be had from http://askdon- - ald.ask.uni-karlsruhe.de/hppd/hpux/Network- - ing/WWW/Man2html-1.05. - - TeTeX users should not forget to rerun texhash. - -Building the website requires pnmtopng. The version of pnm- -topng that is distributed with RedHat 5.1 contains a bug -(pnmtopng is dynamically linked to the wrong version of -libpng). Recompile it from source, and make sure that the -pnmtopng binary is linked statically to the libpng that is -included in libgr. - - - tar xzf libgr-2.0.13.tar.gz - make - cd png - rm libpng.so* - make pnmtopng - - - - - -You can then install the new pnmtopng into /usr/local/bin/ - - -6: CONFIGURING and COMPILING - - -to install GNU LilyPond, simply type: - - - - - - gunzip -c lilypond-x.y.z | tar xf - - cd lilypond-x.y.z - configure # fill in your standard prefix with --prefix - make - make install - - - - - -This will install a number of files, something close to: - - - - - - /usr/local/man/man1/mi2mu.1 - /usr/local/man/man1/convert-mudela.1 - /usr/local/man/man1/mudela-book.1 - /usr/local/man/man1/lilypond.1 - /usr/local/bin/lilypond - /usr/local/bin/mi2mu - /usr/local/share/lilypond/* - /usr/local/share/locale/{it,nl}/LC_MESSAGES/lilypond.mo - - - - - -The above assumes that you are root and have the GNU devel- -opment tools, and your make is GNU make. If this is not the -case, you can adjust your environment variables to your - - -taste: - - - - - - - export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR" - configure - - - - - -CPPFLAGS are the preprocessor flags. - -The configure script is Cygnus configure, and it will accept ---help. If you are not root, you will probably have to make -it with a different --prefix option. Our favourite location -is - - - - - - - configure --prefix=$HOME/usr - - - - - -In this case, you will have to set up MFINPUTS, and TEXIN- -PUTS accordingly. - -Since GNU LilyPond currently is beta, you are advised to -also use - - - - - - - --enable-debugging - --enable-checking - - - - - -Options to configure include: - - ---enable-printing - Enable debugging print routines (lilypond -D option) - ---enable-optimise - Set maximum optimisation: compile with -O2. This can - be unreliable on some compiler/platform combinations - (eg, DEC Alpha and PPC) - ---enable-profiling - Compile with support for profiling. - ---enable-config - Output to a different configuration file. Needed for - multi-platform builds - -All options are documented in the configure help The option ---enable-optimise is recommended for Real Life usage. - -If you do - - - - - - - make all - - - - - -everything will be compiled, but nothing will be installed. -The resulting binaries can be found in the subdirectories -out/ (which contain all files generated during compilation). - - -7: CONFIGURING FOR MULTIPLE PLATFORMS - - -If you want to compile LilyPond with different configuration -settings, then, you can use the --enable-config option. -Example: suppose I want to build with and without profil- -ing. Then I'd use the following for the normal build, - - - - - - - configure --prefix=~ --disable-optimise --enable-checking - make - make install - - -and for the profiling version, I specify a different config- -uration. - - - - - - - configure --prefix=~ --enable-profiling --enable-config=optprof --enable-optimise --disable-checking - make config=optprof - make config=optprof install - - - - - - -8: INSTALLING - - -If you have done a successful make, then a simple - - - - - - - make install - - - - - -should do the trick. - -If you are doing an upgrade, please remember to remove obso- -lete .pk and .tfm files of the fonts. A script has been -provided to do the work for you, see bin/clean-fonts.sh. - - -CAVEATS - - - -o The -O2 option to gcc triggers a gcc bug on DEC Alpha - in dstream.cc. You should turn off this flag for this - file. - - -EXAMPLE - - -This is what I type in my xterm: - - - lilypond someinput.ly - tex someinput.tex - xdvi someinput& - - - - - -This is what the output looks like over here: - - - - - - - GNU LilyPond 0.0.78 #4/FlowerLib 1.1.24 #0 - Parsing ... [/home/hw/share/lilypond/init// - <..etc..> - init//performer.ly]]][input/kortjakje.ly] - Creating elements ...[8][16][24][25] - Preprocessing elements... - Calculating column positions ... [14][25] - Postprocessing elements... - TeX output to someinput.tex ... - Creating MIDI elements ...MIDI output to someinput.midi ... - - - hw:~/musix/spacer$ xdvi someinput& - [1] 855 - - - - - -Check out the input files, some of them have comments Please -refer to the man page for more information. - - -9: REDHAT LINUX - - -RedHat Linux users can compile an RPM. A spec file is in -make/out/lilypond.spec, it is distributed along with the -sources. - -You can make the rpm by issuing - - - rpm -tb lilypond-x.y.z.tar.gz - rpm -i /usr/src/redhat/RPMS/i386/lilypond-x.y.z - - - - - - -10: DEBIAN GNU/LINUX - - -A Debian package is also available; contact Anthony Fok -foka@debian.org . The build scripts are in -the subdirectory debian/. - - -11: WINDOWS NT/95 - - -Separate instructions on building for W32 are avaible in the -file README-W32.yo. - - -12: AUTHORS - - -Han-Wen Nienhuys - -Jan Nieuwenhuizen - -Have fun! +x T ascii +x res 240 24 40 +x init +p1 +x font 3 B +f3 +s10 +V400 +H144 +tINSTALL +wh24 +t- +wh24 +tcompiling +wh24 +tand +wh24 +tinstalling +wh24 +tGNU +wh24 +tLilyPond +n40 0 +x font 2 I +f2 +V480 +H600 +tHWN +wh24 +t& +wh24 +tJCN +n40 0 +f3 +V600 +H0 +tContents +n40 0 +x font 1 R +f1 +V680 +H120 +t1: +wh24 +tABSTRACT +n40 0 +V720 +H0 +t2: +wh24 +tPREREQUISITES +n40 0 +V760 +H0 +t3: +wh24 +tRUNNING +n40 0 +V800 +H0 +t4: +wh24 +tRECOMMENDED +n40 0 +V840 +H0 +t5: +wh24 +tWEBSITE +n40 0 +V880 +H0 +t6: +wh24 +tCONFIGURING +wh24 +tand +wh24 +tCOMPILING +n40 0 +V920 +H0 +t7: +wh24 +tCONFIGURING +wh24 +tFOR +wh24 +tMULTIPLE +wh24 +tPLATFORMS +n40 0 +V960 +H0 +t8: +wh24 +tINSTALLING +n40 0 +V1000 +H0 +t9: +wh24 +tREDHAT +wh24 +tLINUX +n40 0 +V1040 +H0 +t10: +wh24 +tDEBIAN +wh24 +tGNU/LINUX +n40 0 +V1080 +H0 +t11: +wh24 +tWINDOWS +wh24 +tNT/95 +n40 0 +V1120 +H0 +t12: +wh24 +tAUTHORS +n40 0 +V2560 +H1440 +n40 0 +V2640 +p2 +x font 1 R +f1 +s10 +V160 +H696 +t-2- +h672 +n40 0 +x font 3 B +f3 +V280 +H0 +t1: +wh24 +tABSTRACT +n40 0 +f1 +V400 +H0 +tThis +wh48 +tdocument +wh48 +texplains +wh48 +twhat +wh24 +tyou +wh24 +tneed +wh24 +tto +wh24 +tinstall +wh24 +tLilyPond, +n40 0 +V440 +H0 +tand +wh24 +twhat +wh24 +tyou +wh24 +tshould +wh24 +tdo. +wh48 +tIf +wh24 +tyou +wh24 +tare +wh48 +tgoing +wh48 +tto +wh48 +tcompile +wh48 +tand +n40 0 +V480 +H0 +tinstall +wh48 +tLilyPond +wh48 +toften, +wh48 +te.g. +wh48 +twhen +wh24 +tdoing +wh24 +tdevelopment, +wh24 +tyou +n40 0 +V520 +H0 +tmight +wh24 +twant +wh24 +tto +wh24 +tcheck +wh24 +tout +wh24 +tthe +wf3 +h24 +tbuildscripts/set-lily.sh +wf1 +h24 +tscript. +n40 0 +V560 +H0 +tIt +wh24 +tsets +wh24 +tsome +wh24 +tenvironment +wh24 +tvariables +wh24 +tand +wh24 +tsymlinks, +wh24 +twhich +wh24 +tcomes +n40 0 +V600 +H0 +tin +wh24 +thandly +wh24 +twhen +wh24 +tyou +wh24 +thave +wh24 +tto +wh24 +tcompile +wh24 +tLilyPond +wh24 +tmore +wh24 +toften. +n40 0 +f3 +V720 +H0 +t2: +wh24 +tPREREQUISITES +n40 0 +f1 +V840 +H0 +tFor +wh24 +tcompilation +wh24 +tyou +wh24 +tneed: +n40 0 +V960 +H0 +to +h96 +tA +wh24 +tGNU +wh24 +tsystem: +wh24 +tGNU +wh24 +tLilyPond +wh24 +tis +wh24 +tknown +wh24 +tto +wh24 +trun +wh24 +ton +wh24 +tthese +wh24 +tGNU +n40 0 +V1000 +H120 +tsystems: +wh48 +tLinux +wh48 +t(PPC, +wh48 +tintel), +wh24 +tFreeBSD, +wh24 +tAIX, +wh24 +tNeXTStep, +n40 0 +V1040 +H120 +tIRIX, +wh24 +tDigital +wh24 +tUnix +wh24 +tand +wh24 +tSolaris. +n40 0 +V1160 +H0 +to +h96 +tLots +wh24 +tof +wh24 +tdisk +wh24 +tspace: +wh24 +tLilyPond +wh24 +ttakes +wh24 +tbetween +wh24 +t50 +wh48 +tand +wh48 +t100 +n40 0 +V1200 +H120 +tmb +wh24 +tto +wh24 +tcompile +wh24 +tif +wh24 +tyou +wh24 +tuse +wh24 +tdebugging +wh24 +tinformation. +wh48 +tIf +wh24 +tyou +n40 0 +V1240 +H120 +tare +wh24 +tshort +wh24 +ton +wh24 +tdisk-space +wh24 +trun +wh24 +tconfigure +wh48 +twith +wh48 +t--disable- +n40 0 +V1280 +H120 +tdebugging. +n40 0 +V1360 +H120 +tAlthough +wh24 +twe +wh24 +trecommend +wh24 +tto +wh24 +tuse +wh24 +tUnix, +wh24 +tLilyPond +wh24 +tis +wh24 +tknown +wh24 +tto +n40 0 +V1400 +H120 +trun +wh24 +ton +wh24 +tWindows +wh24 +tNT/95/98 +wh24 +tas +wh24 +twell. +wh48 +tSee +wh24 +tSection +wh24 +t11. +n40 0 +V1520 +H0 +to +h96 +tGNU +wh24 +tC++ +wh24 +tversion +wh24 +t2.8 +wh24 +tor +wh24 +tnewer +wh24 +t(egcs-1.1 +wh24 +tor +wh24 +tnewer +wh24 +tis +wh24 +talso +n40 0 +V1560 +H120 +tfine). +n40 0 +V1640 +H0 +to +h96 +tPython +wh48 +t1.5 +wh48 +t(Strictly +wh48 +tspeaking, +wh48 +tyou +wh48 +tshouldn +Caa +h24 +tt +wh48 +tneed +n40 0 +V1680 +H120 +tPython +wh24 +tfor +wh24 +tcompiling +wh24 +tand +wh24 +tinstalling, +wh24 +tbut +wh24 +tyou +Caa +h24 +tll +wh24 +tneed +wh24 +tit +n40 0 +V1720 +H120 +tto +wh24 +tregenerate +wh24 +tthe +wh24 +tfont +wh24 +ttables, +wh24 +te.g.). +n40 0 +V1800 +H0 +to +h96 +tGUILE +wh48 +t1.3 +wh48 +t(no, +wh48 +tGUILE +wh48 +t1.2 +wh48 +twon +Caa +h24 +tt +wh48 +twork), +wh48 +tcheck +wh48 +tout +n40 0 +V1840 +H120 +thttp://www.gnu.org/software/guile/guile.html. +n40 0 +f3 +V1960 +H0 +t3: +wh24 +tRUNNING +n40 0 +f1 +V2080 +H0 +tGNU +wh24 +tLilyPond +wh24 +tdoes +wh24 +tuse +wh24 +ta +wh24 +tlot +wh24 +tof +wh24 +tresources. +wh24 +tFor +wh24 +toperation +wh48 +tyou +n40 0 +V2120 +H0 +tneed +wh24 +tthe +wh24 +tfollowing: +n40 0 +V2240 +H0 +to +h96 +tTeX +n40 0 +V2320 +H0 +to +h96 +tA +wh72 +tPostScript +wh72 +tprinter +wh72 +tand/or +wh72 +tviewer +wh72 +t(such +wh72 +tas +n40 0 +V2360 +H120 +tGhostscript) +wh24 +tis +wh24 +tstrongly +wh24 +trecommended. +wh48 +tXdvi +wh48 +twill +wh48 +tshow +n40 0 +V2400 +H120 +tall +wh48 +tembedded +wh48 +tPostScript +wh48 +ttoo +wh48 +tif +wh24 +tyou +wh24 +thave +wh24 +tGhostscript +n40 0 +V2560 +H1440 +n40 0 +V2640 +p3 +x font 1 R +f1 +s10 +V160 +H696 +t-3- +h672 +n40 0 +V280 +H120 +tinstalled. +n40 0 +V360 +H0 +to +h96 +tGUILE +wh48 +t1.3 +wh48 +t(no, +wh48 +tGUILE +wh48 +t1.2 +wh48 +twon +Caa +h24 +tt +wh48 +twork), +wh48 +tcheck +wh48 +tout +n40 0 +V400 +H120 +thttp://www.gnu.org/programs/guile.html +n40 0 +V480 +H0 +tFor +wh48 +trunning +wh48 +tLilyPond +wh24 +tsuccessfully +wh24 +tyou +wh24 +thave +wh24 +tto +wh24 +thelp +wh24 +tTeX +wh24 +tand +n40 0 +V520 +H0 +tMetaFont +wh24 +tfind +wh24 +tvarious +wh24 +tfiles. +wh48 +tThe +wh24 +trecommended +wh24 +tway +wh48 +tof +wh48 +tdoing +n40 0 +V560 +H0 +tso +wh48 +tis +wh48 +tadjusting +wh48 +tthe +wh24 +tenvironment +wh24 +tvariables +wh24 +tin +wh24 +tthe +wh24 +tstart-up +n40 0 +V600 +H0 +tscripts +wh24 +tof +wh24 +tyour +wh24 +tshell. +wh48 +tAn +wh24 +texample +wh24 +tis +wh48 +tgiven +wh48 +there +wh48 +tfor +wh48 +tthe +n40 0 +V640 +H0 +tBourne +wh24 +tshell: +n40 0 +V840 +H120 +texport +wh24 +tMFINPUTS="/usr/local/share/lilypond/mf:" +n40 0 +V880 +H120 +texport +wh24 +tTEXINPUTS="/usr/local/share/lilypond/tex:" +n40 0 +V1080 +H0 +tThe +wh48 +tempty +wh24 +tpath +wh24 +tcomponent +wh24 +trepresents +wh48 +tand +wh24 +tMetaFont +Caa +h24 +ts +wh24 +tdefault +n40 0 +V1120 +H0 +tsearch +wh24 +tpaths. +wh48 +tScripts +wh24 +twith +wh24 +tthe +wh24 +tproper +wh24 +tpaths +wh24 +tfor +wh24 +tthe +wh48 +tbourne +n40 0 +V1160 +H0 +tand +wh72 +tC-shell +wh72 +trespectively +wh72 +tare +wh72 +tgenerated +wh72 +tin +wx font 3 B +f3 +h72 +tbuild +Chy +h24 +n40 0 +V1200 +H0 +tscripts/out/lilypond-profile +wf1 +h24 +tand +wf3 +h48 +tbuildscripts/out/lilypond- +n40 0 +V1240 +H0 +tlogin +wf1 +h24 +tduring +wh24 +tcompilation. +n40 0 +f3 +V1360 +H0 +t4: +wh24 +tRECOMMENDED +n40 0 +f1 +V1480 +H0 +tAlthough +wh48 +tnot +wh48 +tstrictly +wh48 +tnecessary, +wh24 +tthese +wh24 +tare +wh24 +trecommended +wh24 +tto +n40 0 +V1520 +H0 +thave. +n40 0 +V1640 +H0 +to +h96 +tGNU +wh24 +tmake. +wh48 +tCheck +wh24 +tout +wh24 +tftp://ftp.gnu.org +wh24 +tor +wh24 +tany +wh24 +tmirror +wh24 +tof +n40 0 +V1680 +H120 +tthis +wh24 +tsite. +n40 0 +V1760 +H0 +to +h96 +tFlex +wh96 +t(version +wh96 +t2.5.4 +wh72 +tor +wh72 +tnewer). +wh96 +tCheck +wh72 +tout +n40 0 +V1800 +H120 +tftp://ftp.gnu.org +wh24 +tor +wh24 +tany +wh24 +tmirror +wh24 +tof +wh24 +tthis +wh24 +tsite. +n40 0 +V1880 +H0 +to +h96 +tBison +wh72 +t(version +wh72 +t1.25 +wh72 +tor +wh72 +tnewer). +wh120 +tCheck +wh96 +tout +n40 0 +V1920 +H120 +tftp://ftp.gnu.org +wh24 +tor +wh24 +tany +wh24 +tmirror +wh24 +tof +wh24 +tthis +wh24 +tsite. +n40 0 +V2000 +H0 +to +h96 +tGUILE +wh48 +t1.3 +wh48 +t(no, +wh48 +tGUILE +wh48 +t1.2 +wh48 +twon +Caa +h24 +tt +wh48 +twork), +wh72 +tcheck +wh24 +tout +n40 0 +V2040 +H120 +thttp://www.gnu.org/programs/guile.html +n40 0 +V2160 +H0 +to +h96 +tPython +wh72 +t(version +wh72 +t1.5 +wh72 +tor +wh72 +tnewer). +wh120 +tCheck +wh96 +tout +n40 0 +V2200 +H120 +tftp://ftp.python.org +wh24 +tor +wh24 +tftp://ftp.cwi.nl/pub/python. +n40 0 +V2320 +H0 +to +h96 +tYodl. +wh72 +tAll +wh48 +tdocumentation +wh48 +twill +wh48 +tbe +wh24 +tin +wh24 +tYodl. +wh24 +t(1.30.17) +n40 0 +V2360 +H120 +tftp://ftp.lilypond.org/pub/yodl +n40 0 +V2400 +H120 +thttp://www.cs.uu.nl/~hanwen/yodl +n40 0 +V2560 +H1440 +n40 0 +V2640 +p4 +x font 1 R +f1 +s10 +V160 +H696 +t-4- +h672 +n40 0 +V280 +H0 +to +h96 +tTexinfo. +wh24 +t(version +wh24 +t3.12 +wh24 +tor +wh24 +tnewer) +n40 0 +V400 +H0 +to +h96 +tGNU +wh48 +tfind +wh48 +tCheck +wh24 +tout +wh24 +tftp://ftp.gnu.org +wh24 +tor +wh24 +tany +wh24 +tmirror +wh24 +tof +n40 0 +V440 +H120 +tthis +wh24 +tsite. +n40 0 +V560 +H0 +to +h96 +tThe +wh24 +tgeometry +wh24 +tpackage +wh24 +tfor +wh24 +tLaTeX +wh24 +tis +wh24 +tneeded +wh24 +tto +wh24 +tuse +wh24 +tly2dvi. +n40 0 +V600 +H120 +tAvailable +wh264 +tat +wh240 +tftp://ftp.ctan.org/tex- +n40 0 +V640 +H120 +tarchive/macros/latex/contrib/supported/geometry +wh48 +tor +wh48 +tat +n40 0 +V680 +H120 +tmirror +wh24 +tsite +wh24 +tftp://ftp.dante.de +n40 0 +V800 +H0 +to +h96 +tA +wh24 +tfast +wh24 +tcomputer: +wh24 +ta +wh24 +tfull +wh24 +tpage +wh24 +tof +wh24 +tmusic +wh24 +ttypically +wh24 +ttakes +wh24 +t1 +n40 0 +V840 +H120 +tminute +wh24 +ton +wh24 +tmy +wh24 +t486/133, +wh24 +tusing +wh24 +tthe +wx font 3 B +f3 +h24 +t--enable-checking +wf1 +h48 +tcom +Chy +h24 +n40 0 +V880 +H120 +tpile. +n40 0 +f3 +V1000 +H0 +t5: +wh24 +tWEBSITE +n40 0 +f1 +V1120 +H0 +tIf +wh48 +tyou +wh48 +twant +wh48 +tto +wh48 +tauto-generate +wh24 +tLily +Caa +h24 +ts +wh24 +twebsite, +wh24 +tyou +Caa +h24 +tll +wh24 +tneed +n40 0 +V1160 +H0 +tsome +wh24 +tadditional +wh24 +tconversion +wh24 +ttools. +n40 0 +V1280 +H0 +to +h96 +txpmtoppm +wh24 +t(from +wh24 +tthe +wh24 +tPortable +wh24 +tBitmap +wh24 +tUtilities) +wh24 +t(For +wh24 +tRed +Chy +h24 +n40 0 +V1320 +H120 +tHat +wh48 +tLinux +wh48 +tusers: +wh48 +tit +wh48 +tis +wh48 +tincluded +wh24 +twithin +wh24 +tthe +wh24 +tpackage +n40 0 +V1360 +H120 +tlibgr-progs). +n40 0 +V1440 +H0 +to +h96 +tBib2html +wh24 +thttp://pertsserver.cs.uiuc.edu/~hull/bib2html. +n40 0 +V1480 +H120 +tWhich, +wh24 +tin +wh24 +tturn +wh24 +tdepends +wh24 +ton +wh24 +tman2html +wh24 +tfor +wh24 +tproper +wh24 +tinstalla +Chy +h24 +n40 0 +V1520 +H120 +ttion. +wh72 +tman2html +wh48 +tcan +wh48 +tbe +wh72 +thad +wh72 +tfrom +wh72 +thttp://askdon +Chy +h24 +n40 0 +V1560 +H120 +tald.ask.uni-karlsruhe.de/hppd/hpux/Network +Chy +h24 +n40 0 +V1600 +H120 +ting/WWW/Man2html-1.05. +n40 0 +V1680 +H120 +tTeTeX +wh24 +tusers +wh24 +tshould +wh24 +tnot +wh24 +tforget +wh24 +tto +wh24 +trerun +wh24 +ttexhash. +n40 0 +V1760 +H0 +tBuilding +wh24 +tthe +wh24 +twebsite +wh24 +trequires +wh24 +tpnmtopng. +wh48 +tThe +wh24 +tversion +wh24 +tof +wf3 +h24 +tpnm +Chy +h24 +n40 0 +V1800 +H0 +ttopng +wf1 +h48 +tthat +wh48 +tis +wh48 +tdistributed +wh48 +twith +wh24 +tRedHat +wh24 +t5.1 +wh24 +tcontains +wh24 +ta +wh24 +tbug +n40 0 +V1840 +H0 +t(pnmtopng +wh24 +tis +wh24 +tdynamically +wh24 +tlinked +wh48 +tto +wh48 +tthe +wh48 +twrong +wh48 +tversion +wh48 +tof +n40 0 +V1880 +H0 +tlibpng). +wh72 +tRecompile +wh48 +tit +wh24 +tfrom +wh24 +tsource, +wh24 +tand +wh24 +tmake +wh24 +tsure +wh24 +tthat +wh24 +tthe +n40 0 +V1920 +H0 +tpnmtopng +wh24 +tbinary +wh24 +tis +wh24 +tlinked +wh24 +tstatically +wh24 +tto +wh24 +tthe +wh24 +tlibpng +wh48 +tthat +wh48 +tis +n40 0 +V1960 +H0 +tincluded +wh24 +tin +wh24 +tlibgr. +n40 0 +V2560 +H1440 +n40 0 +V2640 +p5 +x font 1 R +f1 +s10 +V160 +H696 +t-5- +h672 +n40 0 +V280 +H144 +ttar +wh24 +txzf +wh24 +tlibgr-2.0.13.tar.gz +n40 0 +V320 +H264 +tmake +n40 0 +V360 +H264 +tcd +wh24 +tpng +n40 0 +V400 +H264 +trm +wh24 +tlibpng.so* +n40 0 +V440 +H264 +tmake +wh24 +tpnmtopng +n40 0 +V680 +H0 +tYou +wh24 +tcan +wh24 +tthen +wh24 +tinstall +wh24 +tthe +wh24 +tnew +wh24 +tpnmtopng +wh24 +tinto +wh24 +t/usr/local/bin/ +n40 0 +x font 3 B +f3 +V800 +H0 +t6: +wh24 +tCONFIGURING +wh24 +tand +wh24 +tCOMPILING +n40 0 +f1 +V920 +H0 +tto +wh24 +tinstall +wh24 +tGNU +wh24 +tLilyPond, +wh24 +tsimply +wh24 +ttype: +n40 0 +V1160 +H240 +tgunzip +wh24 +t-c +wh24 +tlilypond-x.y.z +wh24 +t| +wh24 +ttar +wh24 +txf +wh24 +t- +n40 0 +V1200 +H240 +tcd +wh24 +tlilypond-x.y.z +n40 0 +V1240 +H240 +tconfigure +h144 +t# +wh24 +tfill +wh24 +tin +wh24 +tyour +wh24 +tstandard +wh24 +tprefix +wh24 +twith +wh24 +t--prefix +n40 0 +V1280 +H240 +tmake +n40 0 +V1320 +H240 +tmake +wh24 +tinstall +n40 0 +V1560 +H0 +tThis +wh24 +twill +wh24 +tinstall +wh24 +ta +wh24 +tnumber +wh24 +tof +wh24 +tfiles, +wh24 +tsomething +wh24 +tclose +wh24 +tto: +n40 0 +V1800 +H240 +t/usr/local/man/man1/mi2mu.1 +n40 0 +V1840 +H240 +t/usr/local/man/man1/convert-mudela.1 +n40 0 +V1880 +H240 +t/usr/local/man/man1/mudela-book.1 +n40 0 +V1920 +H240 +t/usr/local/man/man1/lilypond.1 +n40 0 +V1960 +H240 +t/usr/local/bin/lilypond +n40 0 +V2000 +H240 +t/usr/local/bin/mi2mu +n40 0 +V2040 +H240 +t/usr/local/share/lilypond/* +n40 0 +V2080 +H240 +t/usr/local/share/locale/{it,nl}/LC_MESSAGES/lilypond.mo +n40 0 +V2320 +H0 +tThe +wh48 +tabove +wh24 +tassumes +wh24 +tthat +wh24 +tyou +wh24 +tare +wh24 +troot +wh24 +tand +wh24 +thave +wh24 +tthe +wh24 +tGNU +wh24 +tdevel +Chy +h24 +n40 0 +V2360 +H0 +topment +wh24 +ttools, +wh24 +tand +wh24 +tyour +wh24 +tmake +wh24 +tis +wh24 +tGNU +wh24 +tmake. +wh48 +tIf +wh24 +tthis +wh24 +tis +wh24 +tnot +wh24 +tthe +n40 0 +V2400 +H0 +tcase, +wh48 +tyou +wh48 +tcan +wh48 +tadjust +wh48 +tyour +wh48 +tenvironment +wh24 +tvariables +wh24 +tto +wh24 +tyour +n40 0 +V2560 +H1440 +n40 0 +V2640 +p6 +x font 1 R +f1 +s10 +V160 +H696 +t-6- +h672 +n40 0 +V280 +H0 +ttaste: +n40 0 +V560 +H240 +texport +wh24 +tCPPFLAGS="-I +wh24 +t/home/me/my_include +wh24 +t-DWEIRD_FOOBAR" +n40 0 +V600 +H240 +tconfigure +n40 0 +V840 +H0 +tCPPFLAGS +wh24 +tare +wh24 +tthe +wh24 +tpreprocessor +wh24 +tflags. +n40 0 +V920 +H0 +tThe +wh24 +tconfigure +wh24 +tscript +wh24 +tis +wh24 +tCygnus +wh24 +tconfigure, +wh24 +tand +wh24 +tit +wh24 +twill +wh24 +taccept +n40 0 +x font 3 B +f3 +V960 +H0 +t--help +f1 +t. +wh48 +tIf +wh24 +tyou +wh24 +tare +wh24 +tnot +wh24 +troot, +wh24 +tyou +wh24 +twill +wh24 +tprobably +wh24 +thave +wh24 +tto +wh24 +tmake +n40 0 +V1000 +H0 +tit +wh24 +twith +wh24 +ta +wh24 +tdifferent +wf3 +h24 +t--prefix +wf1 +h24 +toption. +wh48 +tOur +wh24 +tfavourite +wh24 +tlocation +n40 0 +V1040 +H0 +tis +n40 0 +V1320 +H240 +tconfigure +wh24 +t--prefix=$HOME/usr +n40 0 +V1560 +H0 +tIn +wh48 +tthis +wh48 +tcase, +wh24 +tyou +wh24 +twill +wh24 +thave +wh24 +tto +wh24 +tset +wh24 +tup +wh24 +tMFINPUTS, +wh24 +tand +wh24 +tTEXIN +Chy +h24 +n40 0 +V1600 +H0 +tPUTS +wh24 +taccordingly. +n40 0 +V1680 +H0 +tSince +wh24 +tGNU +wh24 +tLilyPond +wh24 +tcurrently +wh24 +tis +wh24 +tbeta, +wh48 +tyou +wh48 +tare +wh48 +tadvised +wh48 +tto +n40 0 +V1720 +H0 +talso +wh24 +tuse +n40 0 +V2000 +H240 +t--enable-debugging +n40 0 +V2040 +H240 +t--enable-checking +n40 0 +V2280 +H0 +tOptions +wh24 +tto +wh24 +tconfigure +wh24 +tinclude: +n40 0 +V2560 +H1440 +n40 0 +V2640 +p7 +x font 1 R +f1 +s10 +V160 +H696 +t-7- +h672 +n40 0 +x font 3 B +f3 +V280 +H0 +t--enable-printing +n40 0 +f1 +V320 +H120 +tEnable +wh24 +tdebugging +wh24 +tprint +wh24 +troutines +wh24 +t(lilypond +wf3 +h24 +t-D +wf1 +h24 +toption) +n40 0 +f3 +V400 +H0 +t--enable-optimise +n40 0 +f1 +V440 +H120 +tSet +wh48 +tmaximum +wh48 +toptimisation: +wh24 +tcompile +wh24 +twith +wf3 +h24 +t-O2 +f1 +t. +wh48 +tThis +wh24 +tcan +n40 0 +V480 +H120 +tbe +wh24 +tunreliable +wh24 +ton +wh48 +tsome +wh48 +tcompiler/platform +wh48 +tcombinations +n40 0 +V520 +H120 +t(eg, +wh24 +tDEC +wh24 +tAlpha +wh24 +tand +wh24 +tPPC) +n40 0 +f3 +V600 +H0 +t--enable-profiling +n40 0 +f1 +V640 +H120 +tCompile +wh24 +twith +wh24 +tsupport +wh24 +tfor +wh24 +tprofiling. +n40 0 +f3 +V720 +H0 +t--enable-config +n40 0 +f1 +V760 +H120 +tOutput +wh48 +tto +wh48 +ta +wh24 +tdifferent +wh24 +tconfiguration +wh24 +tfile. +wh48 +tNeeded +wh24 +tfor +n40 0 +V800 +H120 +tmulti-platform +wh24 +tbuilds +n40 0 +V880 +H0 +tAll +wh24 +toptions +wh24 +tare +wh24 +tdocumented +wh24 +tin +wh24 +tthe +wf3 +h24 +tconfigure +wf1 +h24 +thelp +wh24 +tThe +wh48 +toption +n40 0 +f3 +V920 +H0 +t--enable-optimise +wf1 +h24 +tis +wh24 +trecommended +wh24 +tfor +wh24 +tReal +wh24 +tLife +wh24 +tusage. +n40 0 +V1000 +H0 +tIf +wh24 +tyou +wh24 +tdo +n40 0 +V1280 +H240 +tmake +wh24 +tall +n40 0 +V1520 +H0 +teverything +wh48 +twill +wh24 +tbe +wh24 +tcompiled, +wh24 +tbut +wh24 +tnothing +wh24 +twill +wh24 +tbe +wh24 +tinstalled. +n40 0 +V1560 +H0 +tThe +wh24 +tresulting +wh24 +tbinaries +wh24 +tcan +wh24 +tbe +wh24 +tfound +wh48 +tin +wh48 +tthe +wh48 +tsubdirectories +n40 0 +f3 +V1600 +H0 +tout/ +wf1 +h24 +t(which +wh24 +tcontain +wh24 +tall +wh24 +tfiles +wh24 +tgenerated +wh24 +tduring +wh24 +tcompilation). +n40 0 +f3 +V1720 +H0 +t7: +wh24 +tCONFIGURING +wh24 +tFOR +wh24 +tMULTIPLE +wh24 +tPLATFORMS +n40 0 +f1 +V1840 +H0 +tIf +wh24 +tyou +wh24 +twant +wh24 +tto +wh24 +tcompile +wh24 +tLilyPond +wh24 +twith +wh24 +tdifferent +wh24 +tconfiguration +n40 0 +V1880 +H0 +tsettings, +wh48 +tthen, +wh48 +tyou +wh48 +tcan +wh48 +tuse +wh48 +tthe +wf3 +h24 +t--enable-config +wf1 +h24 +toption. +n40 0 +V1920 +H0 +tExample: +wh24 +tsuppose +wh24 +tI +wh24 +twant +wh24 +tto +wh24 +tbuild +wh24 +twith +wh24 +tand +wh72 +twithout +wh48 +tprofil +Chy +h24 +n40 0 +V1960 +H0 +ting. +wh48 +tThen +wh24 +tI +Caa +h24 +td +wh24 +tuse +wh24 +tthe +wh24 +tfollowing +wh24 +tfor +wh24 +tthe +wh24 +tnormal +wh24 +tbuild, +n40 0 +V2240 +H264 +tconfigure +wh24 +t--prefix=~ +wh24 +t--disable-optimise +wh24 +t--enable-checking +n40 0 +V2280 +H264 +tmake +n40 0 +V2320 +H264 +tmake +wh24 +tinstall +n40 0 +V2560 +H1440 +n40 0 +V2640 +p8 +x font 1 R +f1 +s10 +V160 +H696 +t-8- +h672 +n40 0 +V280 +H0 +tand +wh24 +tfor +wh24 +tthe +wh24 +tprofiling +wh24 +tversion, +wh24 +tI +wh24 +tspecify +wh24 +ta +wh24 +tdifferent +wh24 +tconfig +Chy +h24 +n40 0 +V320 +H0 +turation. +n40 0 +V600 +H264 +tconfigure +wh24 +t--prefix=~ +wh24 +t--enable-profiling +wh24 +t--enable-config=optprof +wh24 +t--enable-optimise +wh24 +t--disable-checking +n40 0 +V640 +H264 +tmake +wh24 +tconfig=optprof +n40 0 +V680 +H264 +tmake +wh24 +tconfig=optprof +wh24 +tinstall +n40 0 +x font 3 B +f3 +V960 +H0 +t8: +wh24 +tINSTALLING +n40 0 +f1 +V1080 +H0 +tIf +wh24 +tyou +wh24 +thave +wh24 +tdone +wh24 +ta +wh24 +tsuccessful +wh24 +tmake, +wh24 +tthen +wh24 +ta +wh24 +tsimple +n40 0 +V1360 +H240 +tmake +wh24 +tinstall +n40 0 +V1600 +H0 +tshould +wh24 +tdo +wh24 +tthe +wh24 +ttrick. +n40 0 +V1680 +H0 +tIf +wh24 +tyou +wh24 +tare +wh24 +tdoing +wh24 +tan +wh24 +tupgrade, +wh24 +tplease +wh24 +tremember +wh24 +tto +wh24 +tremove +wh24 +tobso +Chy +h24 +n40 0 +V1720 +H0 +tlete +wf3 +h48 +t.pk +wf1 +h48 +tand +wf3 +h48 +t.tfm +wf1 +h48 +tfiles +wh24 +tof +wh24 +tthe +wh24 +tfonts. +wh48 +tA +wh24 +tscript +wh24 +thas +wh24 +tbeen +n40 0 +V1760 +H0 +tprovided +wh24 +tto +wh24 +tdo +wh24 +tthe +wh24 +twork +wh24 +tfor +wh24 +tyou, +wh24 +tsee +wf3 +h24 +tbin/clean-fonts.sh +f1 +t. +n40 0 +f3 +V1880 +H0 +tCAVEATS +n40 0 +f1 +V2040 +H0 +to +h96 +tThe +wh24 +t-O2 +wh24 +toption +wh24 +tto +wh24 +tgcc +wh24 +ttriggers +wh24 +ta +wh24 +tgcc +wh24 +tbug +wh24 +ton +wh48 +tDEC +wh48 +tAlpha +n40 0 +V2080 +H120 +tin +wh48 +tdstream.cc. +wh48 +tYou +wh24 +tshould +wh24 +tturn +wh24 +toff +wh24 +tthis +wh24 +tflag +wh24 +tfor +wh24 +tthis +n40 0 +V2120 +H120 +tfile. +n40 0 +f3 +V2240 +H0 +tEXAMPLE +n40 0 +f1 +V2360 +H0 +tThis +wh24 +tis +wh24 +twhat +wh24 +tI +wh24 +ttype +wh24 +tin +wh24 +tmy +wh24 +txterm: +n40 0 +V2560 +H1440 +n40 0 +V2640 +p9 +x font 1 R +f1 +s10 +V160 +H696 +t-9- +h672 +n40 0 +V280 +H240 +tlilypond +wh24 +tsomeinput.ly +n40 0 +V320 +H240 +ttex +wh24 +tsomeinput.tex +n40 0 +V360 +H240 +txdvi +wh24 +tsomeinput& +n40 0 +V600 +H0 +tThis +wh24 +tis +wh24 +twhat +wh24 +tthe +wh24 +toutput +wh24 +tlooks +wh24 +tlike +wh24 +tover +wh24 +there: +n40 0 +V880 +H240 +tGNU +wh24 +tLilyPond +wh24 +t0.0.78 +wh24 +t#4/FlowerLib +wh24 +t1.1.24 +wh24 +t#0 +n40 0 +V920 +H240 +tParsing +wh24 +t... +wh24 +t[/home/hw/share/lilypond/init// +n40 0 +V960 +H360 +t<..etc..> +n40 0 +V1000 +H360 +tinit//performer.ly]]][input/kortjakje.ly] +n40 0 +V1040 +H240 +tCreating +wh24 +telements +wh24 +t...[8][16][24][25] +n40 0 +V1080 +H240 +tPreprocessing +wh24 +telements... +n40 0 +V1120 +H240 +tCalculating +wh24 +tcolumn +wh24 +tpositions +wh24 +t... +wh24 +t[14][25] +n40 0 +V1160 +H240 +tPostprocessing +wh24 +telements... +n40 0 +V1200 +H240 +tTeX +wh24 +toutput +wh24 +tto +wh24 +tsomeinput.tex +wh24 +t... +n40 0 +V1240 +H240 +tCreating +wh24 +tMIDI +wh24 +telements +wh24 +t...MIDI +wh24 +toutput +wh24 +tto +wh24 +tsomeinput.midi +wh24 +t... +n40 0 +V1360 +H240 +thw:~/musix/spacer$ +wh24 +txdvi +wh24 +tsomeinput& +n40 0 +V1400 +H240 +t[1] +wh24 +t855 +n40 0 +V1640 +H0 +tCheck +wh24 +tout +wh24 +tthe +wh24 +tinput +wh24 +tfiles, +wh24 +tsome +wh24 +tof +wh24 +tthem +wh24 +thave +wh24 +tcomments +wh24 +tPlease +n40 0 +V1680 +H0 +trefer +wh24 +tto +wh24 +tthe +wh24 +tman +wh24 +tpage +wh24 +tfor +wh24 +tmore +wh24 +tinformation. +n40 0 +x font 3 B +f3 +V1800 +H0 +t9: +wh24 +tREDHAT +wh24 +tLINUX +n40 0 +f1 +V1920 +H0 +tRedHat +wh48 +tLinux +wh48 +tusers +wh48 +tcan +wh48 +tcompile +wh24 +tan +wh24 +tRPM. +wh24 +tA +wh24 +tspec +wh24 +tfile +wh24 +tis +wh24 +tin +n40 0 +f3 +V1960 +H0 +tmake/out/lilypond.spec +f1 +t, +wh24 +tit +wh24 +tis +wh48 +tdistributed +wh48 +talong +wh48 +twith +wh48 +tthe +n40 0 +V2000 +H0 +tsources. +n40 0 +V2080 +H0 +tYou +wh24 +tcan +wh24 +tmake +wh24 +tthe +wh24 +trpm +wh24 +tby +wh24 +tissuing +n40 0 +V2560 +H1440 +n40 0 +V2640 +p10 +x font 1 R +f1 +s10 +V160 +H672 +t-10- +h672 +n40 0 +V280 +H240 +trpm +wh24 +t-tb +wh24 +tlilypond-x.y.z.tar.gz +n40 0 +V320 +H240 +trpm +wh24 +t-i +wh24 +t/usr/src/redhat/RPMS/i386/lilypond-x.y.z +n40 0 +x font 3 B +f3 +V600 +H0 +t10: +wh24 +tDEBIAN +wh24 +tGNU/LINUX +n40 0 +f1 +V720 +H0 +tA +wh48 +tDebian +wh48 +tpackage +wh48 +tis +wh48 +talso +wh48 +tavailable; +wh24 +tcontact +wh24 +tAnthony +wh24 +tFok +n40 0 +V760 +H0 +tfoka@debian.org +wh24 +t. +wh48 +tThe +wh24 +tbuild +wh24 +tscripts +wh24 +tare +wh24 +tin +n40 0 +V800 +H0 +tthe +wh24 +tsubdirectory +wf3 +h24 +tdebian/ +f1 +t. +n40 0 +f3 +V920 +H0 +t11: +wh24 +tWINDOWS +wh24 +tNT/95 +n40 0 +f1 +V1040 +H0 +tSeparate +wh24 +tinstructions +wh24 +ton +wh24 +tbuilding +wh24 +tfor +wh24 +tW32 +wh24 +tare +wh24 +tavaible +wh24 +tin +wh24 +tthe +n40 0 +V1080 +H0 +tfile +wh24 +tREADME-W32.yo. +n40 0 +f3 +V1200 +H0 +t12: +wh24 +tAUTHORS +n40 0 +f1 +V1320 +H0 +tHan-Wen +wh24 +tNienhuys +wh24 +t +n40 0 +V1400 +H0 +tJan +wh24 +tNieuwenhuizen +wh24 +t +n40 0 +V1480 +H0 +tHave +wh24 +tfun! +n40 0 +V2560 +H1440 +n40 0 +x trailer +V2640 +x stop diff --git a/NEWS b/NEWS index 9bc2f9ead6..2ad024d647 100644 --- a/NEWS +++ b/NEWS @@ -1,48 +1,31 @@ ---- ../lilypond-1.1.31.mb1/NEWS Fri Feb 19 03:00:33 1999 -++ b/NEWS Sun Feb 21 23:40:31 1999 -@@ -1,3 +1,6 @@ -pl 31.mb2 - - Added example: "Imellan Fjeldene" by Niels W. Gade. - - pl 31.mb1 - - bf: don't attach staff margin text to clef changes within the - lines. (Still not perfect: no text when a clef change happens--- ../lilypond-1.1.31.jcn3/NEWS Sun Feb 21 14:29:39 1999 -++ b/NEWS Sun Feb 21 17:53:29 1999 -@@ -1,3 +1,6 @@ +pl 31.hwn2 + - be somewhat lazy in break/object multiplication. + - print # elements for memory usage impression (try -t) + - Paper_score cleanup + - junked various Pointer_list instances. Executable now is smaller. + - junked various cruft + - merged do_substitute_dependen{t,cy} to +do_substitute_element_pointer () + - more parser cleanup + - Interval uses Drul_array + - bf: I've been drinking too much + - delete break helpers before object breaking/multiplication. Try +to save some memory. + pl 31.jcn4 - bf: toplevel install, kpsewhich - - pl 31.jcn3 - - sm 71, require yodl-1.31.11 - - fix: slur macros--- ../lilypond-1.1.31.jcn2/NEWS Wed Feb 17 17:03:12 1999 -++ b/NEWS Sun Feb 21 14:29:39 1999 -@@ -1,3 +1,8 @@ -pl 31.jcn3 - sm 71, require yodl-1.31.11 - fix: slur macros - bf: info in rpm, if available - - pl 31.jcn2 - - fix: rat != float - --- ../lilypond-1.1.31/NEWS Wed Feb 17 10:39:09 1999 -++ b/NEWS Fri Feb 19 03:00:33 1999 -@@ -1,3 +1,11 @@ -pl 31.mb1 - - bf: don't attach staff margin text to clef changes within the - lines. (Still not perfect: no text when a clef change happens - at the line break). - - Added property textScriptPadding. - - A failing attempt to fix spacing of multi- measure rests -pl 31.jcn1 - - bf: slur-follow-music - - pl 30.jcn1 - - sm fixes, intl/ fixespl 31.jcn2 - fix: rat != float - -pl 31.jcn1 - bf: slur-follow-music +pl 31.uu1 + - config.make: include GUILE_LDFLAGS + +****** +pl 31 (feb 16) + pl 30.jcn1 - sm fixes, intl/ fixes diff --git a/PATCHES.txt b/PATCHES.txt index f801d8ef5a..51fe20196e 100644 --- a/PATCHES.txt +++ b/PATCHES.txt @@ -1,232 +1,1302 @@ - - - - - - -NAME - - PATCHES - track and distribute your code changes - -DESCRIPTION - - This page documents how to distribute your changes to -GNU lilypond (or in fact any other StepMake package). - -ABSTRACT - - Distributing a change normally goes like this: - -o make your fix/add your code - -o Add changes to NEWS, and add yourself to Documenta- - tion/AUTHORS.yo - -o generate a patch, - -o e-mail your patch to one of the mailing lists gnu- - music-discuss@gnu.org or bug-gnu-music@gnu.org - -GENERATING A PATCH - - In VERSION, set MY_PATCH_LEVEL: - - - - - - VERSION: - ... - MY_PATCH_LEVEL=jcn1 - - - - - -In NEWS, enter a summary of changes: - - - - - - - NEWS: - pl 0.1.73.jcn1 - - added PATCHES.yo - - -Then, from the top of Lily's source tree, type - - - - - - - make dist - make diff - - - - - -which rolls the tarball ../releases/lilypond-0.1.73.tar.gz -and leaves your patch as ./lilypond-0.1.73.jcn1.diff. [1] -We assume that there is a tarball lilypond-0.1.73.tar.gz in -the directory ../releases. - -If you didn't configure Lily using --srcdir, you can do: - - - - - - - make release - - tar-ball: ../patches/lilypond-0.1.73.jcn1.gz - patch: ../patches/lilypond-0.1.73.jcn1.gz - updeet: ../test/updeet - - - - - - -PREREQUISITES - - -For creating a patch you need - - -o All items mentioned in INSTALL. You're not going to - send a patch that you haven't even built, right? - -o GNU diff - -o Python (version 1.5 or newer). You can of course make - a patch by hand, which would go something like: - ------------ -[1] 'Make diff' generates a patch between two tar- -balls. For more info type 'make diff help=='. - - - make distclean - cd .. - diff -urN lilypond-0.1.73 lilypond-0.1.73.jcn1 > lilypond-0.1.73.jcn1 - - - - - - but there are handy python scripts available. If - you're doing development, you'll need Python for other - LilyPond scripts anyway. - - -o The Lily directory structure, which looks like: - - - - - - - doos/ # gnu/windows32 build and binary releases - harmonia -> harmonia-x.y.z - harmonia-x.y.z/ - lilypond -> lilypond-x.y.z # symlink to development directory - lilypond-x.y.z/ # current development - patches/ # patches between different releases - RedHat/BUILD # RedHat build and binary releases - RedHat/RPMS - RedHat/SPECS - releases/ # .tar.gz releases - test/ # tarballs and diffs from current version - yodl -> yodl-1.30.17 - yodl-1.30.17 - - - - - with prefix $HOME/usr/src and (for building rpms only) - in $HOME/.rpmrc: - - - - - - topdir: /home/fred/usr/src/RedHat - - -APPLYING PATCHES - - -If you're following LilyPond development regularly, you -probably want to download just the patch for each subsequent -release. After downloading the patch (into the patches -directory, of course), simply apply it: - - - - - - - gzip -dc ../patches/lilypond-0.1.74.diff.gz | patch -p1 -E - - - - - -and don't forget to make automatically generated files: - - - - - - - autoconf footnote(patches don't include automatically generated files, - i.e. file(configure) and files generated by file(configure).) - - configure - - - - - - -SYNCHRONISE - - -If you're not very quick with sending your patch, there's a -good chance that an new release of LilyPond comes available. -In such a case (and sometimes for other unkown reasons :-), -the maintainer will probably ask you to make a new patch -against the latest release. Your best bet is to download -the latest release, and apply your patch against this new -source tree: - - - cd lilypond-0.1.74 - gzip -dc ../patches/lilypond-0.1.73.jcn1.diff.gz | patch -p1 -E - autoconf - configure - - - - - -Then, make a patch as shown above. - - -SEE ALSO - - -stepmake/INSTALL.txt - - -MAINTAINER - - -Han-Wen Nienhuys - -Just keep on sending those patches! +x T ascii +x res 240 24 40 +x init +p1 +x font 3 B +f3 +s10 +V280 +H0 +tNAME +n40 0 +x font 1 R +f1 +V360 +H120 +tPATCHES +wh24 +t- +wh24 +ttrack +wh24 +tand +wh24 +tdistribute +wh24 +tyour +wh24 +tcode +wh24 +tchanges +n40 0 +f3 +V440 +H0 +tDESCRIPTION +n40 0 +f1 +V520 +H120 +tThis +wh48 +tpage +wh48 +tdocuments +wh24 +thow +wh24 +tto +wh24 +tdistribute +wh24 +tyour +wh24 +tchanges +wh24 +tto +n40 0 +V560 +H0 +tGNU +wh24 +tlilypond +wh24 +t(or +wh24 +tin +wh24 +tfact +wh24 +tany +wh24 +tother +wh24 +tStepMake +wh24 +tpackage). +n40 0 +f3 +V640 +H0 +tABSTRACT +n40 0 +f1 +V720 +H120 +tDistributing +wh24 +ta +wh24 +tchange +wh24 +tnormally +wh24 +tgoes +wh24 +tlike +wh24 +tthis: +n40 0 +V800 +H0 +to +h96 +tmake +wh24 +tyour +wh24 +tfix/add +wh24 +tyour +wh24 +tcode +n40 0 +V880 +H0 +to +h96 +tAdd +wh24 +tchanges +wh24 +tto +wh24 +tNEWS, +wh24 +tand +wh48 +tadd +wh48 +tyourself +wh48 +tto +wh48 +tDocumenta +Chy +h24 +n40 0 +V920 +H120 +ttion/AUTHORS.yo +n40 0 +V1000 +H0 +to +h96 +tgenerate +wh24 +ta +wh24 +tpatch, +n40 0 +V1080 +H0 +to +h96 +te-mail +wh48 +tyour +wh48 +tpatch +wh48 +tto +wh48 +tone +wh48 +tof +wh24 +tthe +wh24 +tmailing +wh24 +tlists +wh24 +tgnu- +n40 0 +V1120 +H120 +tmusic-discuss@gnu.org +wh24 +tor +wh24 +tbug-gnu-music@gnu.org +n40 0 +f3 +V1200 +H0 +tGENERATING +wh24 +tA +wh24 +tPATCH +n40 0 +f1 +V1280 +H120 +tIn +wf3 +h24 +tVERSION +f1 +t, +wh24 +tset +wh24 +tMY_PATCH_LEVEL: +n40 0 +V1520 +H216 +tVERSION: +n40 0 +V1560 +H240 +t... +n40 0 +V1600 +H240 +tMY_PATCH_LEVEL=jcn1 +n40 0 +V1840 +H0 +tIn +wf3 +h24 +tNEWS +f1 +t, +wh24 +tenter +wh24 +ta +wh24 +tsummary +wh24 +tof +wh24 +tchanges: +n40 0 +V2120 +H216 +tNEWS: +n40 0 +V2160 +H240 +tpl +wh24 +t0.1.73.jcn1 +n40 0 +V2200 +H360 +t- +wh24 +tadded +wh24 +tPATCHES.yo +n40 0 +V2560 +H1440 +n40 0 +V2640 +p2 +x font 1 R +f1 +s10 +V160 +H696 +t-2- +h672 +n40 0 +V280 +H0 +tThen, +wh24 +tfrom +wh24 +tthe +wh24 +ttop +wh24 +tof +wh24 +tLily +Caa +h24 +ts +wh24 +tsource +wh24 +ttree, +wh24 +ttype +n40 0 +V560 +H216 +tmake +wh24 +tdist +n40 0 +V600 +H216 +tmake +wh24 +tdiff +n40 0 +V840 +H0 +twhich +wh24 +trolls +wh24 +tthe +wh48 +ttarball +wx font 3 B +f3 +h48 +t../releases/lilypond-0.1.73.tar.gz +n40 0 +f1 +V880 +H0 +tand +wh24 +tleaves +wh24 +tyour +wh24 +tpatch +wh24 +tas +wf3 +h48 +t./lilypond-0.1.73.jcn1.diff +f1 +t. +wh72 +t[1] +n40 0 +V920 +H0 +tWe +wh48 +tassume +wh24 +tthat +wh24 +tthere +wh24 +tis +wh24 +ta +wh24 +ttarball +wf3 +h24 +tlilypond-0.1.73.tar.gz +wf1 +h24 +tin +n40 0 +V960 +H0 +tthe +wh24 +tdirectory +wf3 +h24 +t../releases +f1 +t. +n40 0 +V1040 +H0 +tIf +wh24 +tyou +wh24 +tdidn +Caa +h24 +tt +wh24 +tconfigure +wh24 +tLily +wh24 +tusing +wh24 +t--srcdir, +wh24 +tyou +wh24 +tcan +wh24 +tdo: +n40 0 +V1320 +H216 +tmake +wh24 +trelease +n40 0 +V1400 +H216 +ttar-ball: +wh24 +t../patches/lilypond-0.1.73.jcn1.gz +n40 0 +V1440 +H216 +tpatch: +wh24 +t../patches/lilypond-0.1.73.jcn1.gz +n40 0 +V1480 +H216 +tupdeet: +wh24 +t../test/updeet +n40 0 +f3 +V1760 +H0 +tPREREQUISITES +n40 0 +f1 +V1880 +H0 +tFor +wh24 +tcreating +wh24 +ta +wh24 +tpatch +wh24 +tyou +wh24 +tneed +n40 0 +V2000 +H0 +to +h96 +tAll +wh24 +titems +wh24 +tmentioned +wh24 +tin +wf3 +h24 +tINSTALL +f1 +t. +wh48 +tYou +Caa +h24 +tre +wh48 +tnot +wh48 +tgoing +wh48 +tto +n40 0 +V2040 +H120 +tsend +wh24 +ta +wh24 +tpatch +wh24 +tthat +wh24 +tyou +wh24 +thaven +Caa +h24 +tt +wh24 +teven +wh24 +tbuilt, +wh24 +tright? +n40 0 +V2120 +H0 +to +h96 +tGNU +wh24 +tdiff +n40 0 +V2200 +H0 +to +h96 +tPython +wh48 +t(version +wh24 +t1.5 +wh24 +tor +wh24 +tnewer). +wh48 +tYou +wh24 +tcan +wh24 +tof +wh24 +tcourse +wh24 +tmake +n40 0 +V2240 +H120 +ta +wh24 +tpatch +wh24 +tby +wh24 +thand, +wh24 +twhich +wh24 +twould +wh24 +tgo +wh24 +tsomething +wh24 +tlike: +n40 0 +V2320 +H0 +Dl 240 0 +n40 0 +V2360 +H0 +t[1] +wh24 +Caa +h24 +tMake +wh24 +tdiff +Caa +wh48 +tgenerates +wh24 +ta +wh24 +tpatch +wh24 +tbetween +wh24 +ttwo +wh24 +ttar +Chy +h24 +n40 0 +V2400 +H0 +tballs. +wh48 +tFor +wh24 +tmore +wh24 +tinfo +wh24 +ttype +wh24 +Caa +h24 +tmake +wh24 +tdiff +wh24 +thelp== +Caa +h24 +t. +n40 0 +V2560 +H1440 +n40 0 +V2640 +p3 +x font 1 R +f1 +s10 +V160 +H696 +t-3- +h672 +n40 0 +V280 +H336 +tmake +wh24 +tdistclean +n40 0 +V320 +H336 +tcd +wh24 +t.. +n40 0 +V360 +H336 +tdiff +wh24 +t-urN +wh24 +tlilypond-0.1.73 +wh24 +tlilypond-0.1.73.jcn1 +wh24 +t> +wh24 +tlilypond-0.1.73.jcn1 +n40 0 +V600 +H120 +tbut +wh24 +tthere +wh48 +tare +wh48 +thandy +wh48 +tpython +wh48 +tscripts +wh48 +tavailable. +wh72 +tIf +n40 0 +V640 +H120 +tyou +Caa +h24 +tre +wh48 +tdoing +wh24 +tdevelopment, +wh24 +tyou +Caa +h24 +tll +wh24 +tneed +wh24 +tPython +wh24 +tfor +wh24 +tother +n40 0 +V680 +H120 +tLilyPond +wh24 +tscripts +wh24 +tanyway. +n40 0 +V800 +H0 +to +h96 +tThe +wh24 +tLily +wh24 +tdirectory +wh24 +tstructure, +wh24 +twhich +wh24 +tlooks +wh24 +tlike: +n40 0 +V1080 +H336 +tdoos/ +wh576 +t# +wh24 +tgnu/windows32 +wh24 +tbuild +wh24 +tand +wh24 +tbinary +wh24 +treleases +n40 0 +V1120 +H336 +tharmonia +wh24 +t-> +wh24 +tharmonia-x.y.z +n40 0 +V1160 +H336 +tharmonia-x.y.z/ +n40 0 +V1200 +H336 +tlilypond +wh24 +t-> +wh24 +tlilypond-x.y.z +wh72 +t# +wh24 +tsymlink +wh24 +tto +wh24 +tdevelopment +wh24 +tdirectory +n40 0 +V1240 +H336 +tlilypond-x.y.z/ +wh336 +t# +wh24 +tcurrent +wh24 +tdevelopment +n40 0 +V1280 +H336 +tpatches/ +wwh408 +t# +wh24 +tpatches +wh24 +tbetween +wh24 +tdifferent +wh24 +treleases +n40 0 +V1320 +H336 +tRedHat/BUILD +wh408 +t# +wh24 +tRedHat +wh24 +tbuild +wh24 +tand +wh24 +tbinary +wh24 +treleases +n40 0 +V1360 +H336 +tRedHat/RPMS +n40 0 +V1400 +H336 +tRedHat/SPECS +n40 0 +V1440 +H336 +treleases/ +wh480 +t# +wh24 +t.tar.gz +wh24 +treleases +n40 0 +V1480 +H336 +ttest/ +wh576 +t# +wh24 +ttarballs +wh24 +tand +wh24 +tdiffs +wh24 +tfrom +wh24 +tcurrent +wh24 +tversion +n40 0 +V1520 +H336 +tyodl +wh24 +t-> +wh24 +tyodl-1.30.17 +n40 0 +V1560 +H336 +tyodl-1.30.17 +n40 0 +V1760 +H120 +twith +wh24 +tprefix +wx font 3 B +f3 +h24 +t$HOME/usr/src +wf1 +h24 +tand +wh24 +t(for +wh24 +tbuilding +wh24 +trpms +wh48 +tonly) +n40 0 +V1800 +H120 +tin +wf3 +h24 +t$HOME/.rpmrc +f1 +t: +n40 0 +V2040 +H336 +ttopdir: +wh24 +t/home/fred/usr/src/RedHat +n40 0 +V2560 +H1440 +n40 0 +V2640 +p4 +x font 1 R +f1 +s10 +V160 +H696 +t-4- +h672 +n40 0 +x font 3 B +f3 +V280 +H0 +tAPPLYING +wh24 +tPATCHES +n40 0 +f1 +V400 +H0 +tIf +wh48 +tyou +Caa +h24 +tre +wh48 +tfollowing +wh48 +tLilyPond +wh48 +tdevelopment +wh48 +tregularly, +wh24 +tyou +n40 0 +V440 +H0 +tprobably +wh24 +twant +wh24 +tto +wh24 +tdownload +wh24 +tjust +wh24 +tthe +wh24 +tpatch +wh24 +tfor +wh24 +teach +wh24 +tsubsequent +n40 0 +V480 +H0 +trelease. +wh72 +tAfter +wh48 +tdownloading +wh48 +tthe +wh48 +tpatch +wh48 +t(into +wh24 +tthe +wh24 +tpatches +n40 0 +V520 +H0 +tdirectory, +wh24 +tof +wh24 +tcourse), +wh24 +tsimply +wh24 +tapply +wh24 +tit: +n40 0 +V800 +H216 +tgzip +wh24 +t-dc +wh24 +t../patches/lilypond-0.1.74.diff.gz +wh24 +t| +wh24 +tpatch +wh24 +t-p1 +wh24 +t-E +n40 0 +V1040 +H0 +tand +wh24 +tdon +Caa +h24 +tt +wh24 +tforget +wh24 +tto +wh24 +tmake +wh24 +tautomatically +wh24 +tgenerated +wh24 +tfiles: +n40 0 +V1320 +H216 +tautoconf +wh24 +tfootnote(patches +wh24 +tdon +Caa +h24 +tt +wh24 +tinclude +wh24 +tautomatically +wh24 +tgenerated +wh24 +tfiles, +n40 0 +V1360 +H216 +ti.e. +wh24 +tfile(configure) +wh24 +tand +wh24 +tfiles +wh24 +tgenerated +wh24 +tby +wh24 +tfile(configure).) +n40 0 +V1440 +H216 +tconfigure +n40 0 +f3 +V1720 +H0 +tSYNCHRONISE +n40 0 +f1 +V1840 +H0 +tIf +wh24 +tyou +Caa +h24 +tre +wh24 +tnot +wh24 +tvery +wh24 +tquick +wh24 +twith +wh24 +tsending +wh24 +tyour +wh24 +tpatch, +wh24 +tthere +Caa +h24 +ts +wh48 +ta +n40 0 +V1880 +H0 +tgood +wh24 +tchance +wh24 +tthat +wh24 +tan +wh24 +tnew +wh24 +trelease +wh24 +tof +wh24 +tLilyPond +wh24 +tcomes +wh24 +tavailable. +n40 0 +V1920 +H0 +tIn +wh24 +tsuch +wh24 +ta +wh24 +tcase +wh24 +t(and +wh24 +tsometimes +wh24 +tfor +wh24 +tother +wh24 +tunkown +wh24 +treasons +wh48 +t:-), +n40 0 +V1960 +H0 +tthe +wh48 +tmaintainer +wh48 +twill +wh48 +tprobably +wh48 +task +wh24 +tyou +wh24 +tto +wh24 +tmake +wh24 +ta +wh24 +tnew +wh24 +tpatch +n40 0 +V2000 +H0 +tagainst +wh24 +tthe +wh24 +tlatest +wh24 +trelease. +wh48 +tYour +wh24 +tbest +wh24 +tbet +wh48 +tis +wh48 +tto +wh48 +tdownload +n40 0 +V2040 +H0 +tthe +wh48 +tlatest +wh48 +trelease, +wh48 +tand +wh24 +tapply +wh24 +tyour +wh24 +tpatch +wh24 +tagainst +wh24 +tthis +wh24 +tnew +n40 0 +V2080 +H0 +tsource +wh24 +ttree: +n40 0 +V2560 +H1440 +n40 0 +V2640 +p5 +x font 1 R +f1 +s10 +V160 +H696 +t-5- +h672 +n40 0 +V280 +H216 +tcd +wh24 +tlilypond-0.1.74 +n40 0 +V320 +H216 +tgzip +wh24 +t-dc +wh24 +t../patches/lilypond-0.1.73.jcn1.diff.gz +wh24 +t| +wh24 +tpatch +wh24 +t-p1 +wh24 +t-E +n40 0 +V360 +H216 +tautoconf +n40 0 +V400 +H216 +tconfigure +n40 0 +V640 +H0 +tThen, +wh24 +tmake +wh24 +ta +wh24 +tpatch +wh24 +tas +wh24 +tshown +wh24 +tabove. +n40 0 +x font 3 B +f3 +V760 +H0 +tSEE +wh24 +tALSO +n40 0 +V880 +H0 +tstepmake/INSTALL.txt +n40 0 +V1000 +H0 +tMAINTAINER +n40 0 +f1 +V1120 +H0 +tHan-Wen +wh24 +tNienhuys +wh24 +t +n40 0 +V1200 +H0 +tJust +wh24 +tkeep +wh24 +ton +wh24 +tsending +wh24 +tthose +wh24 +tpatches! +n40 0 +V2560 +H1440 +n40 0 +x trailer +V2640 +x stop diff --git a/README.txt b/README.txt index e14181b913..482aff8126 100644 --- a/README.txt +++ b/README.txt @@ -1,137 +1,1198 @@ - - - - - - - - - - This is the toplevel README to LilyPond - - -LilyPond is the GNU Project music typesetter. This program -can print beautiful sheet music from a music definition -file. It can also play mechanical performances to a MIDI -file. Features include multiple staffs, meters, clefs, -keys, lyrics, versatile input language, cadenzas, beams, -slurs, triplets, named chords, transposing, formatting -scores, part extraction. It includes a nice font of musical -symbols. - - -1: VERSIONING - - -LilyPond uses a versioning scheme similar to the Linux ker- -nel. In a version "x.y.z", an even second number 'y' -denotes a stable version. For development versions 'y' is -odd. For using straightforward score production, please use -the latest stable version. Development versions may not -produce good or nice scores. - -If you have downloaded a - -*.pre* - -version, then this is version is *not* meant for producing -nice output (but to keep your patchsets up to date). It -might not even compile. The same goes for a version with a -4th version number, eg - -1.2.3.mypatch2 - -It will be safer if you download 1.2.3 or wait for 1.2.4. - - -2: REQUIREMENTS - - -For the compilation and running of LilyPond you need some -additional packages. Please refer to the installation -instructions. - -NOTE: If you downloaded a binary (.rpm or a W95/NT .zip -file), then you don't have to compile LilyPond. - - -3: INSTALLATION - - -For your convenience, a formatted copy of the INSTALL -instructions are in the toplevel directory, as INSTALL.txt - -The process is fairly straightforward, but chances are that -you have to specify directories for to configure: this is -done with the options --enable-tex-dir and --enable-mf-dir - - -4: DOCUMENTATION - - -The real documentation is the directory Documentation/ - -To generate the pretty-printed docs, you have to run config- -ure first, and then do this: - -make doc - -You can also simply read the .yo sources. They are ASCII -text. The complete documentation is accessible in formatted -form at the website http://www.cs.uu.nl/people/hanwen/lily- -pond/index.html - - -5: COMMENTS - - -LilyPond is a long way from finished and polished. We do -appreciate criticism, comments, bugreports, patches, etc. - -Please send your e-mail to one of the MAILING LISTS - -and not to us personally. See Documentation/links.yo for -more info. - - -6: WINDOWS 32 - - -If you have received this file as part of a DOS/Window32 -distribution (lilypond-*.zip), then it is advisable to also -download the source package, since it might contain more -documentation ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/ - -If you decide to build LilyPond from source, please read the -INSTALL.txt document first, especially the Windows NT/95 -section. - - -7: CAVEATS - - -* Please read the file BUGS for some ugly bugs. This espe- -cially applies Linux-Intel unix users. - -* If you have installed a previous version, be sure to -remove old font files, eg - - - - - rm `find /var/lib/texmf/fonts -name 'feta*'` - - - - -a script to do this for you is in buildscripts/clean- -fonts.sh - - -8: CDROM DISTRIBUTIONS - - -If you have received LilyPond on a cdrom, chances are that -development has moved a some patchlevels up. If possible, -please check the latest version of LilyPond before reporting -bugs. +x T ascii +x res 240 24 40 +x init +p1 +x font 3 B +f3 +s10 +V400 +H240 +tThis +wh24 +tis +wh24 +tthe +wh24 +ttoplevel +wh24 +tREADME +wh24 +tto +wh24 +tLilyPond +n40 0 +x font 1 R +f1 +V520 +H0 +tLilyPond +wh48 +tis +wh24 +tthe +wh24 +tGNU +wh24 +tProject +wh24 +tmusic +wh24 +ttypesetter. +wh48 +tThis +wh24 +tprogram +n40 0 +V560 +H0 +tcan +wh24 +tprint +wh24 +tbeautiful +wh24 +tsheet +wh48 +tmusic +wh48 +tfrom +wh48 +ta +wh48 +tmusic +wh48 +tdefinition +n40 0 +V600 +H0 +tfile. +wh72 +tIt +wh48 +tcan +wh48 +talso +wh24 +tplay +wh24 +tmechanical +wh24 +tperformances +wh24 +tto +wh24 +ta +wh24 +tMIDI +n40 0 +V640 +H0 +tfile. +wh48 +tFeatures +wh48 +tinclude +wh48 +tmultiple +wh48 +tstaffs, +wh48 +tmeters, +wh48 +tclefs, +n40 0 +V680 +H0 +tkeys, +wh48 +tlyrics, +wh48 +tversatile +wh48 +tinput +wh48 +tlanguage, +wh24 +tcadenzas, +wh24 +tbeams, +n40 0 +V720 +H0 +tslurs, +wh48 +ttriplets, +wh48 +tnamed +wh48 +tchords, +wh48 +ttransposing, +wh72 +tformatting +n40 0 +V760 +H0 +tscores, +wh24 +tpart +wh24 +textraction. +wh48 +tIt +wh24 +tincludes +wh24 +ta +wh24 +tnice +wh24 +tfont +wh24 +tof +wh24 +tmusical +n40 0 +V800 +H0 +tsymbols. +n40 0 +f3 +V920 +H0 +t1: +wh24 +tVERSIONING +n40 0 +f1 +V1040 +H0 +tLilyPond +wh24 +tuses +wh24 +ta +wh24 +tversioning +wh24 +tscheme +wh24 +tsimilar +wh24 +tto +wh24 +tthe +wh24 +tLinux +wh48 +tker +Chy +h24 +n40 0 +V1080 +H0 +tnel. +wh72 +tIn +wh48 +ta +wh48 +tversion +wh48 +t"x.y.z", +wh48 +tan +wh48 +teven +wh48 +tsecond +wh24 +tnumber +wh24 +Caa +h24 +ty +Caa +h24 +n40 0 +V1120 +H0 +tdenotes +wh24 +ta +wh24 +tstable +wh24 +tversion. +wh48 +tFor +wh24 +tdevelopment +wh24 +tversions +wh48 +Caa +h24 +ty +Caa +wh72 +tis +n40 0 +V1160 +H0 +todd. +wh48 +tFor +wh24 +tusing +wh24 +tstraightforward +wh24 +tscore +wh24 +tproduction, +wh24 +tplease +wh24 +tuse +n40 0 +V1200 +H0 +tthe +wh24 +tlatest +wh24 +tstable +wh24 +tversion. +wh72 +tDevelopment +wh48 +tversions +wh48 +tmay +wh48 +tnot +n40 0 +V1240 +H0 +tproduce +wh24 +tgood +wh24 +tor +wh24 +tnice +wh24 +tscores. +n40 0 +V1320 +H0 +tIf +wh24 +tyou +wh24 +thave +wh24 +tdownloaded +wh24 +ta +n40 0 +V1400 +H0 +t*.pre* +n40 0 +V1480 +H0 +tversion, +wh48 +tthen +wh48 +tthis +wh24 +tis +wh24 +tversion +wh24 +tis +wh24 +t*not* +wh24 +tmeant +wh24 +tfor +wh24 +tproducing +n40 0 +V1520 +H0 +tnice +wh24 +toutput +wh24 +t(but +wh24 +tto +wh24 +tkeep +wh24 +tyour +wh24 +tpatchsets +wh48 +tup +wh48 +tto +wh48 +tdate). +wh72 +tIt +n40 0 +V1560 +H0 +tmight +wh48 +tnot +wh24 +teven +wh24 +tcompile. +wh48 +tThe +wh24 +tsame +wh24 +tgoes +wh24 +tfor +wh24 +ta +wh24 +tversion +wh24 +twith +wh24 +ta +n40 0 +V1600 +H0 +t4th +wh24 +tversion +wh24 +tnumber, +wh24 +teg +n40 0 +V1680 +H0 +t1.2.3.mypatch2 +n40 0 +V1760 +H0 +tIt +wh24 +twill +wh24 +tbe +wh24 +tsafer +wh24 +tif +wh24 +tyou +wh24 +tdownload +wh24 +t1.2.3 +wh24 +tor +wh24 +twait +wh24 +tfor +wh24 +t1.2.4. +n40 0 +f3 +V1880 +H0 +t2: +wh24 +tREQUIREMENTS +n40 0 +f1 +V2000 +H0 +tFor +wh24 +tthe +wh24 +tcompilation +wh24 +tand +wh24 +trunning +wh24 +tof +wh24 +tLilyPond +wh48 +tyou +wh48 +tneed +wh48 +tsome +n40 0 +V2040 +H0 +tadditional +wh48 +tpackages. +wh72 +tPlease +wh48 +trefer +wh48 +tto +wh48 +tthe +wh48 +tinstallation +n40 0 +V2080 +H0 +tinstructions. +n40 0 +V2160 +H0 +tNOTE: +wh24 +tIf +wh24 +tyou +wh24 +tdownloaded +wh24 +ta +wh24 +tbinary +wh48 +t(.rpm +wh48 +tor +wh48 +ta +wh48 +tW95/NT +wh48 +t.zip +n40 0 +V2200 +H0 +tfile), +wh24 +tthen +wh24 +tyou +wh24 +tdon +Caa +h24 +tt +wh24 +thave +wh24 +tto +wh24 +tcompile +wh24 +tLilyPond. +n40 0 +V2560 +H1440 +n40 0 +V2640 +p2 +x font 1 R +f1 +s10 +V160 +H696 +t-2- +h672 +n40 0 +x font 3 B +f3 +V280 +H0 +t3: +wh24 +tINSTALLATION +n40 0 +f1 +V400 +H0 +tFor +wh48 +tyour +wh48 +tconvenience, +wh48 +ta +wh48 +tformatted +wh48 +tcopy +wh48 +tof +wh48 +tthe +wh24 +tINSTALL +n40 0 +V440 +H0 +tinstructions +wh24 +tare +wh24 +tin +wh24 +tthe +wh24 +ttoplevel +wh24 +tdirectory, +wh24 +tas +wh24 +tINSTALL.txt +n40 0 +V520 +H0 +tThe +wh24 +tprocess +wh24 +tis +wh24 +tfairly +wh24 +tstraightforward, +wh24 +tbut +wh24 +tchances +wh24 +tare +wh48 +tthat +n40 0 +V560 +H0 +tyou +wh48 +thave +wh48 +tto +wh24 +tspecify +wh24 +tdirectories +wh24 +tfor +wh48 +tto +wh24 +tconfigure: +wh24 +tthis +wh24 +tis +n40 0 +V600 +H0 +tdone +wh24 +twith +wh24 +tthe +wh24 +toptions +wh24 +t--enable-tex-dir +wh24 +tand +wh24 +t--enable-mf-dir +n40 0 +f3 +V720 +H0 +t4: +wh24 +tDOCUMENTATION +n40 0 +f1 +V840 +H0 +tThe +wh24 +treal +wh24 +tdocumentation +wh24 +tis +wh24 +tthe +wh24 +tdirectory +wh24 +tDocumentation/ +n40 0 +V920 +H0 +tTo +wh24 +tgenerate +wh24 +tthe +wh24 +tpretty-printed +wh24 +tdocs, +wh24 +tyou +wh24 +thave +wh24 +tto +wh24 +trun +wh24 +tconfig +Chy +h24 +n40 0 +V960 +H0 +ture +wh24 +tfirst, +wh24 +tand +wh24 +tthen +wh24 +tdo +wh24 +tthis: +n40 0 +V1040 +H0 +tmake +wh24 +tdoc +n40 0 +V1120 +H0 +tYou +wh48 +tcan +wh48 +talso +wh48 +tsimply +wh24 +tread +wh24 +tthe +wh24 +t.yo +wh24 +tsources. +wh48 +tThey +wh24 +tare +wh24 +tASCII +n40 0 +V1160 +H0 +ttext. +wh48 +tThe +wh24 +tcomplete +wh24 +tdocumentation +wh24 +tis +wh24 +taccessible +wh24 +tin +wh24 +tformatted +n40 0 +V1200 +H0 +tform +wh48 +tat +wh24 +tthe +wh24 +twebsite +wh24 +thttp://www.cs.uu.nl/people/hanwen/lily +Chy +h24 +n40 0 +V1240 +H0 +tpond/index.html +n40 0 +f3 +V1360 +H0 +t5: +wh24 +tCOMMENTS +n40 0 +f1 +V1480 +H0 +tLilyPond +wh24 +tis +wh24 +ta +wh24 +tlong +wh24 +tway +wh24 +tfrom +wh24 +tfinished +wh24 +tand +wh48 +tpolished. +wh72 +tWe +wh48 +tdo +n40 0 +V1520 +H0 +tappreciate +wh24 +tcriticism, +wh24 +tcomments, +wh24 +tbugreports, +wh24 +tpatches, +wh24 +tetc. +n40 0 +V1600 +H0 +tPlease +wh24 +tsend +wh24 +tyour +wh24 +te-mail +wh24 +tto +wh24 +tone +wh24 +tof +wh24 +tthe +wh24 +tMAILING +wh24 +tLISTS +n40 0 +V1680 +H0 +tand +wh48 +tnot +wh48 +tto +wh48 +tus +wh24 +tpersonally. +wh48 +tSee +wf3 +h24 +tDocumentation/links.yo +wf1 +h24 +tfor +n40 0 +V1720 +H0 +tmore +wh24 +tinfo. +n40 0 +f3 +V1840 +H0 +t6: +wh24 +tWINDOWS +wh24 +t32 +n40 0 +f1 +V1960 +H0 +tIf +wh24 +tyou +wh24 +thave +wh24 +treceived +wh24 +tthis +wh24 +tfile +wh24 +tas +wh48 +tpart +wh48 +tof +wh48 +ta +wh48 +tDOS/Window32 +n40 0 +V2000 +H0 +tdistribution +wh48 +t(lilypond-*.zip), +wh24 +tthen +wh24 +tit +wh24 +tis +wh24 +tadvisable +wh24 +tto +wh24 +talso +n40 0 +V2040 +H0 +tdownload +wh24 +tthe +wh24 +tsource +wh24 +tpackage, +wh24 +tsince +wh48 +tit +wh48 +tmight +wh48 +tcontain +wh48 +tmore +n40 0 +V2080 +H0 +tdocumentation +wh24 +tftp://ftp.cs.uu.nl/pub/GNU/LilyPond/ +n40 0 +V2160 +H0 +tIf +wh24 +tyou +wh24 +tdecide +wh24 +tto +wh24 +tbuild +wh24 +tLilyPond +wh24 +tfrom +wh24 +tsource, +wh24 +tplease +wh24 +tread +wh24 +tthe +n40 0 +V2200 +H0 +tINSTALL.txt +wh24 +tdocument +wh24 +tfirst, +wh48 +tespecially +wh48 +tthe +wh48 +tWindows +wh48 +tNT/95 +n40 0 +V2240 +H0 +tsection. +n40 0 +V2560 +H1440 +n40 0 +V2640 +p3 +x font 1 R +f1 +s10 +V160 +H696 +t-3- +h672 +n40 0 +x font 3 B +f3 +V280 +H0 +t7: +wh24 +tCAVEATS +n40 0 +f1 +V400 +H0 +t* +wh48 +tPlease +wh24 +tread +wh24 +tthe +wh24 +tfile +wh24 +tBUGS +wh24 +tfor +wh24 +tsome +wh24 +tugly +wh24 +tbugs. +wh48 +tThis +wh24 +tespe +Chy +h24 +n40 0 +V440 +H0 +tcially +wh24 +tapplies +wh24 +tLinux-Intel +wh24 +tunix +wh24 +tusers. +n40 0 +V520 +H0 +t* +wh24 +tIf +wh24 +tyou +wh24 +thave +wh24 +tinstalled +wh48 +ta +wh48 +tprevious +wh48 +tversion, +wh48 +tbe +wh48 +tsure +wh48 +tto +n40 0 +V560 +H0 +tremove +wh24 +told +wh24 +tfont +wh24 +tfiles, +wh24 +teg +n40 0 +V760 +H120 +trm +wh24 +t`find +wh24 +t/var/lib/texmf/fonts +wh24 +t-name +wh24 +Caa +h24 +tfeta* +Caa +h24 +t` +n40 0 +V960 +H0 +ta +wh48 +tscript +wh48 +tto +wh48 +tdo +wh48 +tthis +wh48 +tfor +wh48 +tyou +wh48 +tis +wh24 +tin +wf3 +h24 +tbuildscripts/clean- +n40 0 +V1000 +H0 +tfonts.sh +n40 0 +V1120 +H0 +t8: +wh24 +tCDROM +wh24 +tDISTRIBUTIONS +n40 0 +f1 +V1240 +H0 +tIf +wh24 +tyou +wh24 +thave +wh24 +treceived +wh24 +tLilyPond +wh24 +ton +wh24 +ta +wh24 +tcdrom, +wh24 +tchances +wh48 +tare +wh48 +tthat +n40 0 +V1280 +H0 +tdevelopment +wh48 +thas +wh48 +tmoved +wh24 +ta +wh24 +tsome +wh24 +tpatchlevels +wh24 +tup. +wh48 +tIf +wh24 +tpossible, +n40 0 +V1320 +H0 +tplease +wh24 +tcheck +wh24 +tthe +wh24 +tlatest +wh24 +tversion +wh24 +tof +wh24 +tLilyPond +wh24 +tbefore +wh24 +treporting +n40 0 +V1360 +H0 +tbugs. +n40 0 +V2560 +H1440 +n40 0 +x trailer +V2640 +x stop diff --git a/TODO b/TODO index 92f7be13bf..c4ca40e195 100644 --- a/TODO +++ b/TODO @@ -5,8 +5,8 @@ Features you cannot find in the doco as working, should be mentioned here. This is an assorted collection of stuff that will be done, might be done, or is an idea that I want to think about -Most of the items are marked in the code as well, with full explanation. -grep for TODO and ugh/ugr/urg +Most of the items are marked in the code as well +Grep for TODO and ugh/ugr/urg. .* BUGS . * .ly files @@ -63,18 +63,15 @@ c2 c | . * fix singleStaffBracket . * \shape 1st dim skipped? . * turn slope-damping on/off -. * c4 \! \> c4 . * tremolo stuff . * fix height of / collisions with lyrics (chords), see input/test/vertical-text.ly; input/test/repeat.ly . * We need feta-din*.mf files for more sizes than 10. . * latex bla.tex broken (titles / \lilyfooter stuff?) . * fix dynamics decently, ie. use kerning & ligatures. -. * fix "I've been drinking too much" . * support_l_arr_ empty in staff-margin's G_staff_side_item . * minVerticalAlign for StaffGroups. . * declaring \score -. * is \break broken? input/test/hara-kiri.ly . * fix OrchestralScore and Hara-kiri (i.e., fix Coriolan) . * Phrasing: Indicating the textual underlay of a piece, or otherwise dividing a piece into phrases. @@ -87,6 +84,7 @@ specify the third. Should there be? . * Check gcc 2.8.1 compatibility . * make "in-between" engraver (Tie, Extender) . * use Drul_array for Interval. +. * compulsory hshift . * ties to tie only notes of the same pitch, so that < a~ a,> a works as you'd expect it to. @@ -174,7 +172,6 @@ The beams are at the right angle, but they aren't in the right place. . * do --safe for PS output? . * convert-mudela --output . * Staff_margin (with a partial measure.) -. * fix "I've been drinking too much" . * fix pletvisibility properties: . * bracket on/off/no-bracket-when-beam . * num on/off/no-num-when-beam @@ -208,7 +205,6 @@ The beams are at the right angle, but they aren't in the right place. . * capitalization/use of underscores in property names . * fix SkipBars -> skipBars -. * fix marks/barnumbers/marginal notes . * broken scripts: lbheel = \script { "bheel" 0 0 -1 0 0 } rbheel = \script { "bheel" 0 0 1 0 0 } @@ -226,7 +222,6 @@ The beams are at the right angle, but they aren't in the right place. . * deps for ly2dvi .* STUFF . * check out legal/(c) matters for scores. -. * check out GCC signatures? . * Align_element::padding ? . * uniformise property names... . * ydirection <-> yDirection @@ -279,7 +274,7 @@ ydirection and hshift preset {\voicetwo cis,4 r r | r2. | r1 }> | } . * try to use template iso MACRO(Type) -. * NEWS: ... Musical_pitch (analogous to Duration and Rhythmic_req) +. * Musical_pitch (analogous to Duration and Rhythmic_req) think about, analogous to pitch: * { a4 a16 } c <-- duration of c? * < a4 b8 > c <-- duration of c? @@ -327,13 +322,14 @@ ydirection and hshift preset in the middle: . * the bracket is ugly (wings are too parabolic, should be more circular) . * better hshift (dots, distance, head dependent) - * clefs (AG): The "8" should appear closer to the actual clef, - touching it. +. * clefs (AG): The "8" should appear closer to the actual clef, +touching it. . * put errorlevel in Input class . * junk nesting slurs . * integrate midi-elts from mi2mu and lily? .* 3RD PARTY BUGS . * GNU diff 2.7: diff -rN does not see a new directory with empty file +. * check out GCC signatures? . * glibc 2.0: f = fopen ("/dev/null", "r") assert (feof (f)) @@ -367,11 +363,8 @@ ydirection and hshift preset . * fontlock: \melodic \melodic . * use properties for: -. * plet? . * Staff_sym size . * default tempo. -. * font size -. * bartypes (get rid of derived Span_bar_engravers) . * cadenza mode? . * page handling: @@ -443,20 +436,11 @@ ydirection and hshift preset . * quiet/ignore-version options . * logfile output -. * elaborate Staff_side baseclass: -. * scripts -. * text -. * slur start/end - . * PS . * speed up PS code. . * PS lines to .eps files . * write custom prolog -. * Output an output format independent (ofi) typeset file; and - make ofi2 TeX, MusiXTex, Display PostScript, PostScript, - Ascii... interpreters. (difficult) - . * NIFF ? . * Common Music Notation . * PostScript output (esp. Beams, Slurs, etc) @@ -474,14 +458,14 @@ ydirection and hshift preset . * Rewrite Stem, Beam and Rhythmic_grouping (hairy) . * [c8. c32 c32] - **** doc on Rhythmic_grouping +. * doc on Rhythmic_grouping . * general shaving on Beam and Stem . * use plet grouping . * separate visual from rhythmic info even more . * beams over bars . * lines: -. * Ledger lines, should be separate item: Ledger_lines, Ledger_lines +. * Ledger lines, should be separate item: Ledger_lines . * set different line sizes / thicknesses . * beam stem showthrough, inter beam sizes (french vs german style) @@ -503,11 +487,10 @@ ydirection and hshift preset . * caching breakpoints . * saving them . * specify number of lines + .* INPUTLANGUAGE . * c4 4 4 4 for c4 c4 c4 c4? -. * neatly (and readably) expressing concurrent - voices . * 4 ? . * Viola mode? @@ -518,15 +501,12 @@ ydirection and hshift preset @A c g e g for cis gis e gis -. * relative mode for pitch entering . * configure pitch_byte . * rest name configurable .* SMALLISH PROJECTS -. * limit memory usage; the full coriolan takes up too much resources. - . * fix confusing naming in Engraver vs Engraver_group_engraver (context) . * progress when creating MIDI elts. @@ -547,19 +527,13 @@ ydirection and hshift preset . * handle EOF graciously in error messages. -. * declare notenametab? - . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...) . * stafftypes: voice names/ instrument names. . * lily \tempo -. * C meter iso 4/4, idem for alla breve, etc. - -. * textspanner: center position - - * % toe to bheel four to five +. * % toe to bheel four to five % ^_u 4_5 % - % --|x-- --|x-- @@ -574,6 +548,7 @@ ydirection and hshift preset . * clean solution for staffsize in items. . * revise calcideal + .* IDEAS . * Output data structures of Mudela in XML/SGML. . * create libmudela, or liblily_frontend @@ -582,11 +557,7 @@ ydirection and hshift preset . * caching breakpoints . * used fixedpoint arithmetic for min. energy. . * move towards incremental algorithms. -. * far fetched language ideas -. * design meta-language like TeX and Metafont -. * programming/macros input . * versioning stuff (cvt mudela, mudela, etc.) -. * Klavarskribo? . * dynamic loading of engravers? .* SMOBS Han-Wen Nienhuys writes: diff --git a/VERSION b/VERSION index 5ad23665eb..ee2d5d9191 100644 --- a/VERSION +++ b/VERSION @@ -1,8 +1,8 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=1 -PATCH_LEVEL=31 -MY_PATCH_LEVEL=mb2 +PATCH_LEVEL=32 +MY_PATCH_LEVEL= # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/buildscripts/set-lily.sh b/buildscripts/set-lily.sh index 39833eb7c0..dcc41e444e 100755 --- a/buildscripts/set-lily.sh +++ b/buildscripts/set-lily.sh @@ -51,8 +51,10 @@ ln -sf $LILYPOND_SOURCEDIR/mf/out/ afm TFMDIR=`kpsewhich cmr10.tfm` ln -sf `dirname $TFMDIR` tfm mkdir -p $prefix/share/ -ln -sf $prefix/lilypond/ $sources/lilypond - +if [ ! -x $prefix/share/lilypond ]; then + echo ln -sf $sources/lilypond $prefix/share + ln -sf $sources/lilypond $prefix/ +fi if [ -f ../.gdbinit ]; then ln ../.gdbinit . diff --git a/config.make.in b/config.make.in index 442d65c0a4..8eef00972f 100644 --- a/config.make.in +++ b/config.make.in @@ -34,6 +34,7 @@ includedir = @includedir@ datadir = @datadir@ localedir = @localedir@ EXTRA_LIBES = @EXTRA_LIBES@ @LIBS@ +TEX_TFMDIR = @TEX_TFMDIR@ RANLIB = @RANLIB@ DEFS = @DEFS@ #SET_MAKE = @SET_MAKE@ diff --git a/configure b/configure index e1b187d738..17778d3abe 100755 --- a/configure +++ b/configure @@ -2846,6 +2846,14 @@ test -n "$MAKEINFO" || MAKEINFO="error" +echo $ac_n "checking Checking TFM directory""... $ac_c" 1>&6 +echo "configure:2851: checking Checking TFM directory" >&5 +CMR10=`kpsewhich tfm cmr10.tfm` +TEX_TFMDIR=`dirname $CMR10` +echo "$ac_t""$TEX_TFMDIR" 1>&6 + + + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -3037,6 +3045,7 @@ s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g s%@LIBOBJS@%$LIBOBJS%g s%@MAKEINFO@%$MAKEINFO%g +s%@TEX_TFMDIR@%$TEX_TFMDIR%g CEOF EOF @@ -3350,3 +3359,4 @@ fi chmod 444 GNUmakefile + diff --git a/configure.in b/configure.in index 854c957dd4..43abc3439b 100644 --- a/configure.in +++ b/configure.in @@ -54,5 +54,13 @@ AC_CHECK_PROGS(MAKEINFO, makeinfo, error) AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl, You should install Yodl 1.30.2 or newer) + +AC_MSG_CHECKING(Checking TFM directory) +CMR10=`kpsewhich tfm cmr10.tfm` +TEX_TFMDIR=`dirname $CMR10` +AC_MSG_RESULT($TEX_TFMDIR) + +AC_SUBST(TEX_TFMDIR) AC_STEPMAKE_END + diff --git a/lily/include/direction.hh b/flower/include/direction.hh similarity index 95% rename from lily/include/direction.hh rename to flower/include/direction.hh index 3b2029d3c8..33792a4849 100644 --- a/lily/include/direction.hh +++ b/flower/include/direction.hh @@ -55,6 +55,6 @@ flip (Direction *i) { */ template T minmax (Direction d, T, T); -String direction_str (Direction, Axis); +// String direction_str (Direction, Axis); #endif // DIRECTION_HH diff --git a/lily/include/drul-array.hh b/flower/include/drul-array.hh similarity index 64% rename from lily/include/drul-array.hh rename to flower/include/drul-array.hh index 55bfd14919..467cf9f40c 100644 --- a/lily/include/drul-array.hh +++ b/flower/include/drul-array.hh @@ -21,16 +21,33 @@ template struct Drul_array { T array_[2]; + T &elem (Direction d) + { + assert (d==1 || d== -1); + return array_[(d+1)/2]; + + } T &operator[] (Direction d) { + return elem (d); + } + T elem (Direction d) const + { assert (d==1 || d== -1); return array_[(d+1)/2]; - } + } + T operator[] (Direction d) const { - assert (d==1 || d== -1); - return array_[(d+1)/2]; + return elem (d); } + Drul_array () + {} + Drul_array (T t1, T t2) + { + array_[0] = t1; + array_[1] = t2; + } }; #endif // DRUL_ARRAY_HH diff --git a/flower/include/interval.hh b/flower/include/interval.hh index 20f5987e43..5f43a3c0e0 100644 --- a/flower/include/interval.hh +++ b/flower/include/interval.hh @@ -10,7 +10,7 @@ #include #include "fproto.hh" #include "real.hh" - +#include "drul-array.hh" /** a T interval. this represents the closed interval [left,right]. No invariants. T must be a totally ordered ring (with division, anyway ..) @@ -18,48 +18,30 @@ */ template -struct Interval_t { - T left, right; +struct Interval_t : public Drul_array { /* ************** */ static T infinity() ; static String T_to_str (T arg); - // ugh, egcs 1.02 ices on this -// T center() { return (left + right) / T(2);} - // and can't handle this either - // anyone want to make a bug report? - // better make one soon, egcs in rh5.1 barfs on this! - T center() { - T two (2); -// return (left + right) / two; - T result ((left + right) / two); - return result; - } - void translate (T t) { - left += t; - right += t; - } - T& idx (int j) { - if (j==-1) - return left; - else if (j==1) - return right; - else - assert (false); - return left; - } - T& operator[](int j) { - return idx (j); - } - T operator[](int j) const { - return ((Interval_t *)this)->idx (j); - } - T &max() { return right;} - T max() const { return right;} - T min() const{ return left; } - T &min(){ return left; } + /* + ugh, egcs 1.02 ices on this + */ + T center() { return (elem (LEFT) + elem (RIGHT)) / T(2);} + void translate (T t) + { + elem (LEFT) += t; + elem (RIGHT) += t; + } + + /* + junk us + */ + T &max() { return elem (RIGHT);} + T max() const { return elem (RIGHT);} + T min() const{ return elem (LEFT); } + T &min(){ return elem (LEFT); } /** PRE *this and h are comparable @@ -69,32 +51,30 @@ struct Interval_t { T length() const; void set_empty() ; - bool empty_b() const { return left > right; } + bool empty_b() const { return elem (LEFT) > elem (RIGHT); } bool contains_b (Interval_t const&) const; Interval_t() { set_empty(); } - Interval_t (T m, T M) { - left =m; - right = M; - } + Interval_t (T m, T M) : Drul_array (m,M) + {} Interval_t &operator -= (T r) { *this += -r; return *this; } Interval_t &operator += (T r) { - left += r; - right +=r; + elem (LEFT) += r; + elem (RIGHT) +=r; return *this; } Interval_t &operator *=(T r) { - left *= r; - right *= r; + elem (LEFT) *= r; + elem (RIGHT) *= r; if (r < T(0)) { - T t = left; - left = right; - right = t; + T t = elem (LEFT); + elem (LEFT) = elem (RIGHT); + elem (RIGHT) = t; } return *this; } @@ -102,10 +82,10 @@ struct Interval_t { void print () const; bool elem_b (T r); void negate () { - T r = -left; - T l = -right; - left = l; - right =r; + T r = -elem (LEFT); + T l = -elem (RIGHT); + elem (LEFT) = l; + elem (RIGHT) =r; } }; @@ -181,7 +161,7 @@ Interval_t operator *(Interval_t i,T a){ // again? see fproto.hh typedef Interval_t Interval; -typedef Interval_t Slice; +typedef Interval_t Slice; // weird name #endif // INTERVAL_HH diff --git a/flower/include/interval.tcc b/flower/include/interval.tcc index 65f1976ad7..df74ef3164 100644 --- a/flower/include/interval.tcc +++ b/flower/include/interval.tcc @@ -27,13 +27,13 @@ template int _Interval__compare (const Interval_t&a,Interval_t const&b) { - if (a.left == b.left && a.right == b.right) + if (a.elem (LEFT) == b.elem (LEFT) && a.elem (RIGHT) == b.elem (RIGHT)) return 0; - if (a.left <= b.left && a.right >= b.right) + if (a.elem (LEFT) <= b.elem (LEFT) && a.elem (RIGHT) >= b.elem (RIGHT)) return 1; - if (a.left >= b.left && a.right <= b.right) + if (a.elem (LEFT) >= b.elem (LEFT) && a.elem (RIGHT) <= b.elem (RIGHT)) return -1; return -2; @@ -63,44 +63,49 @@ template void Interval_t::set_empty() { - left = (T) infinity(); - right = (T) -infinity(); + elem (LEFT) = (T) infinity(); + elem (RIGHT) = (T) -infinity(); } template T Interval_t::length() const { - if (right < left) + if (elem (RIGHT) < elem (LEFT)) return 0; else - return right-left; + return elem (RIGHT)-elem (LEFT); } +/** + smallest Interval which includes *this and #h# + */ template void Interval_t::unite (Interval_t h) { - if (h.leftright) - right = h.right; + elem (LEFT) = h.elem (LEFT) ?elem (RIGHT); + +#if 0 + if (h.elem (LEFT)elem (RIGHT)) + elem (RIGHT) = h.elem (RIGHT); +#endif } -/** - smallest Interval which includes *this and #h# - */ template void Interval_t::intersect (Interval_t h) { #if defined (__GNUG__) && ! defined (__STRICT_ANSI__) - left = h.left >? left; - right = h.right ? elem (LEFT); + elem (RIGHT) = h.elem (RIGHT) ::str() const return "[empty]"; String s ("["); - return s + T_to_str (left) + String ("," ) + T_to_str (right ) + String ("]" ); + return s + T_to_str (elem (LEFT)) + String ("," ) + T_to_str (elem (RIGHT) ) + String ("]" ); } template bool Interval_t::elem_b (T r) { - return r >= left && r <= right; + return r >= elem (LEFT) && r <= elem (RIGHT); } diff --git a/input/bugs/auto-grace.ly b/input/bugs/auto-grace.ly index 1e858f0bc8..b8d0152360 100644 --- a/input/bugs/auto-grace.ly +++ b/input/bugs/auto-grace.ly @@ -1,19 +1,6 @@ - -\version "1.0.14"; - \score{ - \notes\relative c'' { - % set either property -> core dump: two autobeams? -% \property Voice.fontsize= "-2" - \property Voice.pletvisibility = 0 - - % strange staffs, but no core dump - \times 2/3 { [ c16 c c] } c4 c2 - } - \paper { - \translator { \VoiceContext -% \remove Auto_beam_engraver; - } + \notes \type Voice { + \times 2/3 {[c16 c16 c16]} } } diff --git a/input/bugs/rediculous-dim.ly b/input/bugs/rediculous-dim.ly deleted file mode 100644 index 1110e944ac..0000000000 --- a/input/bugs/rediculous-dim.ly +++ /dev/null @@ -1,8 +0,0 @@ -\score{ - \notes\relative c'' { - < - \property Voice.textstyle = "large" s4^"Moderato" - r4 - > - } -} diff --git a/input/star-spangled-banner.ly b/input/star-spangled-banner.ly index 299c10b610..177e20b8e0 100644 --- a/input/star-spangled-banner.ly +++ b/input/star-spangled-banner.ly @@ -105,7 +105,7 @@ global = \notes { > > \paper{ - \paper_sixteen; + \paper_sixteen textheight = 230.\mm; linewidth= 180.\mm; \translator { diff --git a/input/test/memory.ly b/input/test/memory.ly new file mode 100644 index 0000000000..fad3f4e313 --- /dev/null +++ b/input/test/memory.ly @@ -0,0 +1,13 @@ +%{ +do a memory stress test. +%} + + +bla = \notes { + c1(((( c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break ))))c1} + +\score { \type Score < + \bla \bla \bla \bla \bla \bla \bla + > + \paper { Gourlay_maxmeaures = 2.; } +} diff --git a/lily/abbrev.cc b/lily/abbrev.cc index d58eeaec81..d476552f27 100644 --- a/lily/abbrev.cc +++ b/lily/abbrev.cc @@ -121,7 +121,7 @@ Abbreviation::do_brew_molecule_p () const } void -Abbreviation::do_substitute_dependent (Score_element*o, Score_element*n) +Abbreviation::do_substitute_element_pointer (Score_element*o, Score_element*n) { if (stem_l_ == o) stem_l_ = dynamic_cast (n); diff --git a/lily/align-element.cc b/lily/align-element.cc index a0afa0dac9..c10392cda4 100644 --- a/lily/align-element.cc +++ b/lily/align-element.cc @@ -50,7 +50,7 @@ Align_element::add_element_priority (Score_element *el, int p) } void -Align_element::do_substitute_dependency (Score_element*o, +Align_element::do_substitute_element_pointer (Score_element*o, Score_element*n) { int i; diff --git a/lily/auto-beam-engraver.cc b/lily/auto-beam-engraver.cc index adb1e98b07..a29ec75e67 100644 --- a/lily/auto-beam-engraver.cc +++ b/lily/auto-beam-engraver.cc @@ -153,6 +153,7 @@ void Auto_beam_engraver::begin_beam () { DOUT << String ("starting autobeam at: ") + now_mom ().str () + "\n"; + assert (!beam_p_); beam_p_ = new Beam; grouping_p_ = new Rhythmic_grouping; diff --git a/lily/axis-group-spanner.cc b/lily/axis-group-spanner.cc index 3c9ce0ca7f..8517e93862 100644 --- a/lily/axis-group-spanner.cc +++ b/lily/axis-group-spanner.cc @@ -65,21 +65,22 @@ Axis_group_spanner::do_break_processing() /* this piece doesn't know where it belongs. Find out if it was broken, and use the broken remains */ - Spanner * sp =dynamic_cast (elt); + Item *it = dynamic_cast (elt) ; - if (sp) + if (Spanner * sp =dynamic_cast (elt)) { - for (int j =0; j < broken_into_l_arr_.size(); j++) + for (int j =0; j < sp->broken_info_.size(); j++) { + Line_of_score *l = sp->broken_info_[j].line_l_; + Axis_group_spanner * my_broken_l - = dynamic_cast(broken_into_l_arr_[j]); - + = dynamic_cast(find_broken_piece (l)); + Spanner * broken_span_l - = sp->find_broken_piece (dynamic_cast(my_broken_l)->line_l()); + = sp->find_broken_piece (l); if (broken_span_l) my_broken_l->add_element (broken_span_l); - } } else if (it && it->breakable_b_ && it->break_status_dir () == 0) diff --git a/lily/bar-script-engraver.cc b/lily/bar-script-engraver.cc index e22ef34cb2..5af8d286ff 100644 --- a/lily/bar-script-engraver.cc +++ b/lily/bar-script-engraver.cc @@ -57,11 +57,7 @@ Bar_script_engraver::cast_to_interesting_item (Score_element *e) Item * i =0; if (hang_on_clef_b_) { - Clef_item * c = dynamic_cast (e); - if (c && c->default_b_) - { - i = c; - } + i = dynamic_cast (e); } else { @@ -94,14 +90,12 @@ Bar_script_engraver::do_pre_move_processing () { if (text_p_) { - text_p_->breakable_b_ = true; // ugh typeset_element (text_p_); text_p_ =0; } if (staff_side_p_) { - staff_side_p_->breakable_b_ = true; // ugh typeset_element (staff_side_p_); staff_side_p_ = 0; } @@ -116,8 +110,11 @@ Bar_script_engraver::create_items (Request *rq) staff_side_p_ = new G_staff_side_item; staff_side_p_->axis_ = axis_; + staff_side_p_->breakable_b_ = true; // ugh + text_p_ = new G_text_item; + text_p_->breakable_b_ = true; // ugh Scalar prop = get_property (type_ + "Direction", 0); if (prop.isnum_b ()) diff --git a/lily/beam.cc b/lily/beam.cc index 429970ac0c..be8f73b1e1 100644 --- a/lily/beam.cc +++ b/lily/beam.cc @@ -123,7 +123,7 @@ Beam::do_post_processing () } void -Beam::do_substitute_dependent (Score_element*o,Score_element*n) +Beam::do_substitute_element_pointer (Score_element*o,Score_element*n) { if (Stem * os = dynamic_cast (o)) stems_.substitute (os, diff --git a/lily/bow.cc b/lily/bow.cc index 873613b121..db08356b32 100644 --- a/lily/bow.cc +++ b/lily/bow.cc @@ -44,8 +44,6 @@ Bow::do_brew_molecule_p () const { static int i = 1; cout << "******" << i++ << "******" << endl; - // gcc 2.7.2: ices -// cout << "c0.y: " << c[0].y << endl; cout << "c0.y: " << c[0].y () << endl; cout << "c3.y: " << c[3].y () << endl; cout << "dy: " << dy << endl; @@ -75,8 +73,7 @@ Bow::center () const /* - - ugh . Control points are too crude measures. + Ugh. Control points are too crude measures. */ Interval Bow::do_height () const @@ -92,15 +89,6 @@ Bow::do_height () const return iv; } -#if 0 -Interval -Bow::do_width () const -{ - Interval i = Spanner::do_width (); - Real dx = i.length(); - return Interval (0, dx); -} -#endif Array Bow::get_controls () const diff --git a/lily/break.cc b/lily/break.cc index 9211bfcf1e..a836d62da3 100644 --- a/lily/break.cc +++ b/lily/break.cc @@ -47,23 +47,11 @@ Col_stats::Col_stats () /* **************************************************************** */ -Line_of_cols -Break_algorithm::all_cols () const -{ - Line_of_cols retval; - for (PCursor c (pscore_l_->col_p_list_.top ()); - c.ok (); c++) - { - - retval.push (c); - } - return retval; -} Array Break_algorithm::find_break_indices () const { - Line_of_cols all (all_cols ()); + Line_of_cols all (pscore_l_->col_l_arr_); Array retval; for (int i=0; i < all.size (); i++) @@ -81,7 +69,7 @@ Break_algorithm::find_break_indices () const Line_of_cols Break_algorithm::find_breaks () const { - Line_of_cols all (all_cols ()); + Line_of_cols all (pscore_l_->col_l_arr_); Line_of_cols retval; for (int i=0; i < all.size (); i++) @@ -156,7 +144,7 @@ Break_algorithm::feasible (Line_of_cols curline) const void Break_algorithm::problem_OK () const { - if (!pscore_l_->col_p_list_.size ()) + if (pscore_l_->col_l_arr_.empty ()) error (_("score does not have any columns")); OK (); } @@ -165,11 +153,13 @@ void Break_algorithm::OK () const { #ifndef NDEBUG - iter_top (pscore_l_->col_p_list_,start); + #if 0 + iter_top (pscore_l_->col_p_list_,start); PCursor end (pscore_l_->col_p_list_.bottom ()); assert (start->breakable_b_); assert (end->breakable_b_); + #endif #endif } diff --git a/lily/collision.cc b/lily/collision.cc index 09b34bf27c..5da7436713 100644 --- a/lily/collision.cc +++ b/lily/collision.cc @@ -165,7 +165,7 @@ Collision::do_pre_processing() void -Collision::do_substitute_dependency (Score_element*o_l,Score_element*n_l) +Collision::do_substitute_element_pointer (Score_element*o_l,Score_element*n_l) { if (o_l) { diff --git a/lily/direction.cc b/lily/direction.cc index d073a901d8..a0ac3e6bbf 100644 --- a/lily/direction.cc +++ b/lily/direction.cc @@ -9,6 +9,7 @@ #include "direction.hh" +#if 0 String direction_str (Direction d, Axis a) { String s("center"); @@ -22,3 +23,4 @@ String direction_str (Direction d, Axis a) } return s; } +#endif diff --git a/lily/dot-column.cc b/lily/dot-column.cc index ccf4d1f912..c2e1d912b0 100644 --- a/lily/dot-column.cc +++ b/lily/dot-column.cc @@ -30,7 +30,7 @@ Dot_column::add_head (Rhythmic_head *r) } void -Dot_column::do_substitute_dependency (Score_element*o,Score_element*n) +Dot_column::do_substitute_element_pointer (Score_element*o,Score_element*n) { Item *oi =dynamic_cast (o); diff --git a/lily/engraver-group.cc b/lily/engraver-group.cc index 8e33175deb..104793dca4 100644 --- a/lily/engraver-group.cc +++ b/lily/engraver-group.cc @@ -7,7 +7,6 @@ */ #include "proto.hh" -#include "plist.hh" #include "engraver-group.hh" #include "engraver.hh" #include "debug.hh" diff --git a/lily/extender-spanner.cc b/lily/extender-spanner.cc index 4a06ed13f6..764d42c77a 100644 --- a/lily/extender-spanner.cc +++ b/lily/extender-spanner.cc @@ -100,7 +100,7 @@ Extender_spanner::do_post_processing () } void -Extender_spanner::do_substitute_dependency (Score_element* o, Score_element* n) +Extender_spanner::do_substitute_element_pointer (Score_element* o, Score_element* n) { Item* new_l = n ? dynamic_cast (n) : 0; if (dynamic_cast (o) == item_l_drul_[LEFT]) diff --git a/lily/g-staff-side.cc b/lily/g-staff-side.cc index 2a144dcfd2..660e9fefc2 100644 --- a/lily/g-staff-side.cc +++ b/lily/g-staff-side.cc @@ -53,7 +53,7 @@ G_staff_side_item::add_support (Score_element*e) void -G_staff_side_item::do_substitute_dependency (Score_element*o, Score_element*n) +G_staff_side_item::do_substitute_element_pointer (Score_element*o, Score_element*n) { if (o == to_position_l_) to_position_l_ = n; diff --git a/lily/gourlay-breaking.cc b/lily/gourlay-breaking.cc index b25cc0493d..c8dbf35e49 100644 --- a/lily/gourlay-breaking.cc +++ b/lily/gourlay-breaking.cc @@ -14,6 +14,9 @@ #include "p-score.hh" #include "paper-def.hh" +#include "killing-cons.tcc" + +/// How often to print operator pacification marks? const int HAPPY_DOTS_I = 3; /** @@ -36,14 +39,15 @@ struct Break_node { }; /** - This algorithms is adapted from + This algorithms is adapted from the OSU Tech report on breaking lines. + */ Array Gourlay_breaking::do_solve () const { Array optimal_paths; - Line_of_cols all = all_cols (); + Line_of_cols all = pscore_l_->col_l_arr_ ; Array breaks = find_break_indices (); optimal_paths.set_size (breaks.size ()); @@ -61,7 +65,7 @@ Gourlay_breaking::do_solve () const { Array candidates; Array candidate_lines; - Pointer_list spacer_p_list; + Cons_list spacer_p_list; /* start with a short line, add measures. At some point @@ -90,7 +94,7 @@ Gourlay_breaking::do_solve () const approx.spacer_l_ = generate_spacing_problem (line, pscore_l_->paper_l_->line_dimensions_int (optimal_paths[start_idx].line_i_)); - spacer_p_list.bottom ().add (approx.spacer_l_); + spacer_p_list.append (new Killing_cons (approx.spacer_l_,0)); ( (Break_algorithm*)this)->approx_stats_.add (approx.cols); approx.approximate_solve_line (); @@ -149,6 +153,8 @@ Gourlay_breaking::do_solve () const if (! (break_idx % HAPPY_DOTS_I)) *mlog << "[" << break_idx << "]" << flush; + + spacer_p_list.junk (); } if (break_idx % HAPPY_DOTS_I) diff --git a/lily/hara-kiri-vertical-group-spanner.cc b/lily/hara-kiri-vertical-group-spanner.cc index fa95b295cc..70a7f57ccb 100644 --- a/lily/hara-kiri-vertical-group-spanner.cc +++ b/lily/hara-kiri-vertical-group-spanner.cc @@ -39,7 +39,7 @@ Hara_kiri_vertical_group_spanner::do_post_processing () } void -Hara_kiri_vertical_group_spanner::do_substitute_dependency (Score_element*o, Score_element*n) +Hara_kiri_vertical_group_spanner::do_substitute_element_pointer (Score_element*o, Score_element*n) { if (Item *it = dynamic_cast (o)) interesting_items_.substitute (it, dynamic_cast (n)); diff --git a/lily/include/abbrev.hh b/lily/include/abbrev.hh index 7f8580228d..960956548a 100644 --- a/lily/include/abbrev.hh +++ b/lily/include/abbrev.hh @@ -16,7 +16,7 @@ class Abbreviation : public Item { protected: virtual void do_print () const; virtual Molecule *do_brew_molecule_p () const; - virtual void do_substitute_dependent (Score_element*, Score_element*); + virtual void do_substitute_element_pointer (Score_element*, Score_element*); public: int abbrev_flags_i_; Abbreviation (); diff --git a/lily/include/align-element.hh b/lily/include/align-element.hh index 3034773d45..0a9f1e6958 100644 --- a/lily/include/align-element.hh +++ b/lily/include/align-element.hh @@ -50,7 +50,7 @@ public: protected: virtual void do_print() const; - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); virtual void do_post_processing() ; virtual void do_pre_processing (); virtual void do_side_processing (); diff --git a/lily/include/atom.hh b/lily/include/atom.hh index 52d17f88f2..eb231dc7fd 100644 --- a/lily/include/atom.hh +++ b/lily/include/atom.hh @@ -15,6 +15,7 @@ #include "lily-proto.hh" #include "lily-guile.hh" + #ifdef ATOM_SMOB /// a symbol which can be translated, and freely copied diff --git a/lily/include/bar.hh b/lily/include/bar.hh index 7579c1dbdf..ee3ae12af8 100644 --- a/lily/include/bar.hh +++ b/lily/include/bar.hh @@ -9,8 +9,6 @@ #include "item.hh" /** A vertical bar. - - TODO: connections with pre and postbreak */ class Bar:public Item { public: diff --git a/lily/include/beam.hh b/lily/include/beam.hh index acfb81803b..f30098a427 100644 --- a/lily/include/beam.hh +++ b/lily/include/beam.hh @@ -59,10 +59,8 @@ protected: void set_steminfo (); virtual void do_pre_processing (); virtual void do_post_processing (); - virtual void do_substitute_dependent (Score_element*, Score_element*); - + virtual void do_substitute_element_pointer (Score_element*, Score_element*); virtual void do_print() const; - virtual void quantise_left_y (bool extend_b); virtual Molecule stem_beams (Stem *here, Stem *next, Stem *prev) const; virtual void calculate_slope (); diff --git a/lily/include/bow.hh b/lily/include/bow.hh index ba7e20ff6e..c6b946e87b 100644 --- a/lily/include/bow.hh +++ b/lily/include/bow.hh @@ -23,8 +23,6 @@ public: Bow (); Offset center () const; - - int dash_i_; Real interstaff_f_; Drul_array vertical_align_drul_; diff --git a/lily/include/break.hh b/lily/include/break.hh index af1cbcd699..f2b9d9df90 100644 --- a/lily/include/break.hh +++ b/lily/include/break.hh @@ -42,7 +42,6 @@ protected: /// search all pcols which are breakable. Line_of_cols find_breaks() const; - Line_of_cols all_cols() const; Array find_break_indices() const; diff --git a/lily/include/collision.hh b/lily/include/collision.hh index 4f6ef42da8..832ac89704 100644 --- a/lily/include/collision.hh +++ b/lily/include/collision.hh @@ -22,7 +22,7 @@ */ class Collision : public Horizontal_vertical_group_item { protected: - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); virtual void do_pre_processing(); public: Link_array clash_l_arr_; diff --git a/lily/include/cons.hh b/lily/include/cons.hh index 472f0a89a8..d0ba58d9cf 100644 --- a/lily/include/cons.hh +++ b/lily/include/cons.hh @@ -9,29 +9,6 @@ #ifndef CONS_HH #define CONS_HH -#if 0 -template -class NCons -{ -public: - T car_; - U cdr_; - NCons (T t, U u) : car_ (t), cdr_ (u) {} - virtual ~NCons () {} -}; - -template -class Pointer_cons : public NCons -{ - Pointer_cons () : Cons (0,0){} - Pointer_cons (T t, Pointer_cons*c) - : Cons (t,c) - { - car_ = t; - next_ = c; - } -}; -#endif template @@ -40,10 +17,11 @@ class Cons public: T * car_; Cons * next_; - Cons () { - car_=0; - next_ =0; - } + Cons () + { + car_=0; + next_ =0; + } Cons (T*t, Cons*c) { car_ = t; @@ -67,6 +45,17 @@ public: }; +/// remove the link pointed to by *p. +template +Cons *remove_cons (Cons **pp) +{ + Cons *knip = *pp; + *pp = (*pp)->next_; + knip->next_ = 0; + return knip; +} + + template class Cons_list { @@ -74,13 +63,34 @@ public: Cons * head_; Cons ** tail_; Cons_list () { head_ =0; tail_ = &head_; } + void append (Cons *c) + { + assert (!c->next_); + *tail_ = c; + while (*tail_) + tail_ = &(*tail_)->next_; + } + Cons *remove_cons (Cons **pp) + { + if (&(*pp)->next_ == tail_) + tail_ = pp; + + return ::remove_cons (pp); + } + void junk () + { + delete head_; + head_ =0; + } + ~Cons_list () { junk (); } }; template -Cons_list copy_killing_cons_list (Cons *src); +void copy_killing_cons_list (Cons_list&, Cons *src); template -Cons_list clone_killing_cons_list (Cons *src); +void +clone_killing_cons_list (Cons_list&, Cons *src); #endif /* CONS_HH */ diff --git a/lily/include/dot-column.hh b/lily/include/dot-column.hh index 42dfc2dd14..67a62429c2 100644 --- a/lily/include/dot-column.hh +++ b/lily/include/dot-column.hh @@ -27,6 +27,6 @@ public: protected: virtual void do_pre_processing (); - virtual void do_substitute_dependency (Score_element *o, Score_element*n); + virtual void do_substitute_element_pointer (Score_element *o, Score_element*n); }; #endif // DOT_COLUMN_HH diff --git a/lily/include/extender-spanner.hh b/lily/include/extender-spanner.hh index ca061a2fc9..d97edc8401 100644 --- a/lily/include/extender-spanner.hh +++ b/lily/include/extender-spanner.hh @@ -41,7 +41,7 @@ protected: virtual Molecule* do_brew_molecule_p () const; void do_add_processing (); Interval do_height () const; - void do_substitute_dependency (Score_element* o, Score_element* n); + void do_substitute_element_pointer (Score_element* o, Score_element* n); void do_post_processing (); VIRTUAL_COPY_CONS (Score_element); diff --git a/lily/include/g-staff-side.hh b/lily/include/g-staff-side.hh index b6c55dd7c9..b489844e8f 100644 --- a/lily/include/g-staff-side.hh +++ b/lily/include/g-staff-side.hh @@ -29,7 +29,7 @@ public: virtual void set_default_direction (); VIRTUAL_COPY_CONS(Score_element); protected: - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); virtual void do_pre_processing (); virtual void do_post_processing (); }; diff --git a/lily/include/hara-kiri-vertical-group-spanner.hh b/lily/include/hara-kiri-vertical-group-spanner.hh index 33bf0a4f6f..3f5031ba48 100644 --- a/lily/include/hara-kiri-vertical-group-spanner.hh +++ b/lily/include/hara-kiri-vertical-group-spanner.hh @@ -26,7 +26,7 @@ public: protected: VIRTUAL_COPY_CONS(Score_element); - virtual void do_substitute_dependency (Score_element*, Score_element*); + virtual void do_substitute_element_pointer (Score_element*, Score_element*); virtual void do_print ()const; Link_array interesting_items_; diff --git a/lily/include/killing-cons.tcc b/lily/include/killing-cons.tcc index d67e6b56b7..9135aae3d8 100644 --- a/lily/include/killing-cons.tcc +++ b/lily/include/killing-cons.tcc @@ -10,6 +10,7 @@ #ifndef KILLING_CONS_TCC #define KILLING_CONS_TCC +#include "cons.hh" template Killing_cons::~Killing_cons () @@ -18,35 +19,25 @@ Killing_cons::~Killing_cons () } template -Cons_list -copy_killing_cons_list (Cons *src) +void +copy_killing_cons_list (Cons_list &dest, Cons *src) { - Cons_list kl; - for (; src; src = src->next_) { T *t = new T(*src->car_); - *kl.tail_ = new Killing_cons (t, 0); - kl.tail_ = &(*kl.tail_)->next_; + dest.append ( new Killing_cons (t, 0)); } - - return kl; } template -Cons_list -clone_killing_cons_list (Cons *src) +void +clone_killing_cons_list (Cons_list & dest, Cons *src) { - Cons_list kl; - for (; src; src = src->next_) { T *t = src->car_->clone (); - *kl.tail_ = new Killing_cons (t, 0); - kl.tail_ = &(*kl.pp)->next_; + dest.append (new Killing_cons (t, 0)); } - - return kl; } diff --git a/lily/include/local-key-item.hh b/lily/include/local-key-item.hh index 01d3171563..2e85d6dc56 100644 --- a/lily/include/local-key-item.hh +++ b/lily/include/local-key-item.hh @@ -32,7 +32,7 @@ public: void add (Musical_pitch); protected: virtual void do_pre_processing(); - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); virtual Molecule* do_brew_molecule_p() const; }; #endif // LOCALKEYITEM_HH diff --git a/lily/include/multi-measure-rest.hh b/lily/include/multi-measure-rest.hh index f26b2aa0b9..b675686929 100644 --- a/lily/include/multi-measure-rest.hh +++ b/lily/include/multi-measure-rest.hh @@ -28,8 +28,7 @@ protected: virtual void do_add_processing (); virtual void do_post_processing (); virtual void do_print () const; - virtual void do_substitute_dependency (Score_element*,Score_element*); - Array get_rods () const; + virtual void do_substitute_element_pointer (Score_element*,Score_element*); }; #endif /* MULTI_MEASURE_REST_HH */ diff --git a/lily/include/music-iterator.hh b/lily/include/music-iterator.hh index aaf67c6aea..7060c70576 100644 --- a/lily/include/music-iterator.hh +++ b/lily/include/music-iterator.hh @@ -18,7 +18,7 @@ #include "interpretation-context-handle.hh" /** Walk through music and deliver music to translation units, synced - in time. This classa provides both the implementation of the shared + in time. This class provides both the implementation of the shared code, and the public interface. Derived classes should only have a public constructor. diff --git a/lily/include/note-column.hh b/lily/include/note-column.hh index 097079c712..88417f162d 100644 --- a/lily/include/note-column.hh +++ b/lily/include/note-column.hh @@ -19,7 +19,7 @@ class Note_column : public Script_column { protected: virtual void do_pre_processing(); virtual void do_print () const; - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); public: /** The relative position of the "voice" containing this chord. Normally this would be the same as the stem direction, diff --git a/lily/include/p-score.hh b/lily/include/p-score.hh index 8f8a5f7bbf..88e2d54f24 100644 --- a/lily/include/p-score.hh +++ b/lily/include/p-score.hh @@ -13,7 +13,6 @@ #include "colhpos.hh" #include "parray.hh" #include "lily-proto.hh" -#include "plist.hh" #include "music-output.hh" /** all stuff which goes onto paper. notes, signs, symbols in a score @@ -23,18 +22,19 @@ class Paper_score : public Music_output { + /// crescs etc; no particular order + Link_array span_p_arr_; + + /// other elements + Link_array elem_p_arr_; + + public: Paper_def *paper_l_; /// the columns, ordered left to right - Link_list col_p_list_; - - /// crescs etc; no particular order - Pointer_list span_p_list_; + Link_array col_l_arr_; - /// other elements - Pointer_list elem_p_list_; - Paper_outputter *outputter_l_; Line_of_score * line_l_; @@ -45,12 +45,10 @@ public: void add_column (Paper_column*); /** - @return argument as a cursor of the list + @return index of argument. */ - PCursor find_col (Paper_column const *) const; + int find_col_idx (Paper_column const *) const; - Link_array col_range (Paper_column *left_l, Paper_column *right_l) const; - Link_array breakable_col_range (Paper_column*,Paper_column*) const; Link_array broken_col_range (Item const*,Item const*) const; @@ -69,12 +67,13 @@ protected: /* MAIN ROUTINES */ virtual void process(); -// can't instantiate template with cygnus' gcc... -// virtual ~Paper_score(); private: - void remove_line (Line_of_score*); + + Link_array remove_line (Line_of_score*); + Link_array remove_break_helpers (); + /// before calc_breaking void preprocess(); @@ -84,9 +83,7 @@ private: /// after calc_breaking void postprocess(); - - /// delete unused columns - void clean_cols(); + Paper_score (Paper_score const &); }; #endif diff --git a/lily/include/rest-collision.hh b/lily/include/rest-collision.hh index f380032604..2ddb2da351 100644 --- a/lily/include/rest-collision.hh +++ b/lily/include/rest-collision.hh @@ -24,6 +24,6 @@ protected: virtual void do_post_processing(); virtual void do_pre_processing(); virtual void do_print() const; - virtual void do_substitute_dependency (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); }; #endif // REST_COLLISION_HH diff --git a/lily/include/rhythmic-head.hh b/lily/include/rhythmic-head.hh index 49669f77ab..6187a2f645 100644 --- a/lily/include/rhythmic-head.hh +++ b/lily/include/rhythmic-head.hh @@ -26,7 +26,7 @@ public: protected: virtual void do_add_processing (); virtual void do_print () const; - virtual void do_substitute_dependent (Score_element*,Score_element*); + virtual void do_substitute_element_pointer (Score_element*,Score_element*); }; #endif // RHYTHMIC_HEAD_HH diff --git a/lily/include/score-element.hh b/lily/include/score-element.hh index 919333c9a6..69f8eb998f 100644 --- a/lily/include/score-element.hh +++ b/lily/include/score-element.hh @@ -1,7 +1,7 @@ /* - score-element.hh -- part of GNU LilyPond + score-element.hh -- declare Score_element - (c) 1996,97 Han-Wen Nienhuys + (c) 1996-1999 Han-Wen Nienhuys */ #ifndef STAFFELEM_HH @@ -26,6 +26,8 @@ typedef void (Score_element::*Score_element_method_pointer) (void); (elem) */ class Score_element : private Directed_graph_node, public virtual Graphical_element { public: + /// delete after linebreak calculation. + bool break_helper_only_b_; Paper_score *pscore_l_; Molecule * output_p_; Score_element (); @@ -101,8 +103,7 @@ protected: /// do calculations after determining horizontal spacing virtual void do_post_processing (); - virtual void do_substitute_dependency (Score_element * , Score_element *); - virtual void do_substitute_dependent (Score_element *, Score_element *); + virtual void do_substitute_element_pointer (Score_element * , Score_element *); virtual void do_break_processing (); virtual void handle_broken_dependencies (); virtual void handle_prebroken_dependencies (); @@ -110,7 +111,6 @@ protected: virtual Link_array get_extra_dependencies () const; virtual void do_unlink (); virtual void do_junk_links (); - }; diff --git a/lily/include/script-column.hh b/lily/include/script-column.hh index 70464204f3..94d1e481e1 100644 --- a/lily/include/script-column.hh +++ b/lily/include/script-column.hh @@ -18,7 +18,7 @@ class Script_column : public Horizontal_vertical_group_item { protected: virtual void do_print() const; - virtual void do_substitute_dependency (Score_element*, Score_element*); + virtual void do_substitute_element_pointer (Score_element*, Score_element*); virtual void do_pre_processing() ; public: Link_array