From: fred Date: Wed, 27 Mar 2002 01:24:36 +0000 (+0000) Subject: lilypond-1.3.150 X-Git-Tag: release/1.5.59~523 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=552679133034dc639dd9f329032cdaccf8d44902;p=lilypond.git lilypond-1.3.150 --- diff --git a/Documentation/topdocs/WINDOWS.texi b/Documentation/topdocs/WINDOWS.texi deleted file mode 100644 index f3eff2dbfa..0000000000 --- a/Documentation/topdocs/WINDOWS.texi +++ /dev/null @@ -1,191 +0,0 @@ -\input texinfo @c -*-texinfo-*- -@setfilename WINDOWS.info -@settitle WINDOWS - compiling and installing GNU LilyPond on Windows - -@node Top -@top - -@chapter WINDOWS - compiling and installing GNU LilyPond on Windows - -This document is a supplement to INSTALL.txt, you may want to read -that too. - -@section Obtaining LilyPond - -You can get the latest version of LilyPond at -@uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/, -ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/}. - -@section Windows build requirements -You need the following packages to compile Lilypond on Windows. - -@table @code -@item The GNU + Cygnus tools, 1.1.7 or newer. -Check out the @uref{http://sources.redhat.com/cygwin,Cygwin webpage}. -You can get the latest version of the GNU + Cygnus tools from cygnus -@uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}. -Install everything, including tetex. -@item GUILE 1.4, or newer. -Check out the @uref{http://www.gnu.org/software/guile.html,GUILE -webpage}. You may need the patch @file{guile-1.4-gnu-windows.patch} -included in LilyPond's source distribution. -@end table - -@section Windows precompiled binaries - -@table @code -@item LilyPond -Click @uref{http://appel.lilypond.org/lilypond/gnu-windows/setup.exe, -here} to install LilyPond, or visit @uref{http://appel.lilypond.org/lilypond/gnu-windows, -LilyPond on Windows}. - -This will install the minimal set of cygwin tools needed to run -LilyPond. If you already have cygwin installed, don't worry: nothing -will be installed twice. To expand on this minimal set, click -@uref{http://sources.redhat.com/cygwin/setup.exe,here}, -or visit a Cygwin -@uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}. -@end table - -Note that none of the developers uses Windows, of course. In fact, we -recommend you to use GNU/Linux for running LilyPond. We provide these -binaries anyway, because it saves us the trouble of helping Windows -users trying to compile LilyPond themselves. - -These binaries are cross compiled for Windows on a GNU/Linux box. You -may want to check out the -@uref{http://appel.lilypond.org/lilypond/gnu-windows/cross-1.1.8.tar.gz,cross -compilation scripts}. - -@section Windows running requirements - -GNU LilyPond does use a lot of resources. For operation you need the -following software - -@table @code -@item GUILE -Included in binary installation. -@item TeX -A full TeX installation. -Click -@uref{http://prdownloads.sourceforge.net/miktex/miktex-2.0-lvl-1.zip,here} -to install basic MiKTeX commands, -or visit @uref{http://www.miktex.org,www.miktex.org}. -@c See @file{/usr/doc/cygwin/tetex-beta-20001218.README} for details. -@item PostScript tools -@table @code -@item GSView-2.6, or -This old package has two advantages. It has gsview and ghostscript -bundeled, and it doesn't popup @emph{Register Now|Cancel} windows all -the time. It doesn't work together with Yap to display PostScript -specials. - -Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv26w32.exe,here} to -install GSView-2.6 (GhostView for Windows), or visit -@uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}. - -@item GSView-3.6 and GhostScript-6.50 -If you install both these packages, Yap will display PostScript -specials. You get annoying @emph{Register Now|Cancel} popups, though. - -Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv36w32.exe,here} for -GSview and -Click @uref{ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs650/gs650w32.exe -,here} for GhostScript. -@uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}. -or visit the -@uref{http://www.cs.wisc.edu/~ghost/,Ghostscript, Ghostview and GSview site}. -@end table - -@item Python -Click @uref{http://www.python.org/ftp/python/win32/py152.exe,here} to -install Python-1.5.2, or visit -@uref{http://www.python.org,www.python.org}. - -Python > 1.5.2 has ugly licensing issues, so we only used and tested -1.5.2. -@end table - - -@section Windows running setup - -If you're lucky, after running @file{setup.exe} you're all set up. - -Open a LilyPond shell (or any bash shell), and type -@example -lilypond --help -@end example - -If you don't see something similar to -@example -Usage: lilypond [OPTION]... [FILE]... - -Typeset music and or play MIDI from FILE - -LilyPond is a music typesetter. It produces beautiful sheet music -using a high level description file as input. LilyPond is part of -the GNU Project. - -Options: - -h,--help this help -[..] -@end example - -you should try adding @file{/usr/lilypond-x.y.z/bin} to your @var{PATH}, -do: -@example -PATH=/usr/lilypond-1.3.147/bin:$PATH -@end example - -and try again. - -[TODO: - -* politely ask windows users not to complain but rather send instructive -bug reports along with patches. - -* emacs-mode installation, figure out and describe proper -emacs-on-cygwin setup. - -* talk about /etc/profile.d/lilypond-profile.sh - -* GUILE errors, simple guile test - -* (La)TEX errors, simple tex test - - -] -@ignore - - guile -v - Guile 1.4.1 - - guile -e %load-path - ERROR: Wrong type to apply: ("/usr/share/guile/site" /usr/share/guile/1.4.1") - - - -Mats? - -Let's take this step by step. - -It should not be critical which MikTeX version you use. -Let's first verify that your MikTeX works as it should. -Open a DOS window. Run the commands ->> latex sample2e - Should produce some lines of output ->> yap sample2e - Should display a three page document. - -Next step; verify that the geometry package is in place. -Save the attached file to the directory where you run -your DOS window. Run the commands ->> latex geometrytest ->> yap geometrytest -This one you should get a single page document with some text -in each corner. -] - -@end ignore - - diff --git a/Documentation/windows/lily-tex.sh b/Documentation/windows/lily-tex.sh deleted file mode 100644 index d2caa6c22b..0000000000 --- a/Documentation/windows/lily-tex.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# /etc/profile.d/lily-tex.sh -- Check for TeX or try to setup MiKTeX - -texmf='//c/Program Files/MiKTeX' -texmf_bin='//c/Program Files/MiKTeX/miktex' - -if [ ! -e /usr/share/texmf ]; then - echo /usr/share/texmf not found - if [ -e "$texmf" ]; then - ln -s "$texmf" /usr/share/texmf - echo MiKTeX found: linked to "$texmf" - else - echo setup /usr/share/texmf yourself - fi -fi -if type -p tex; then - echo no TeX in PATH - if [ -e "$texmf_bin" ]; then - echo MiKTeX found: added "$texmf_bin" to PATH - PATH=`cygpath -u "$texmf/miktex"`:"$PATH" - fi -fi - diff --git a/Documentation/windows/lilypond-profile.z.sh b/Documentation/windows/lilypond-profile.z.sh deleted file mode 100644 index 444c94c8ba..0000000000 --- a/Documentation/windows/lilypond-profile.z.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# /etc/profile.d/lilypond-profile.z.sh -- profile additions for Windows -# run after lilypond-profile.sh - -POSIX_GS_LIB="$(cygpath -apu $GS_LIB)" -WINDOWS_GS_LIB="$(cygpath -apw $POSIX_GS_LIB)" - -POSIX_GS_FONTPATH="$(cygpath -apu $GS_FONTPATH)" -WINDOWS_GS_FONTPATH="$(cygpath -apw $POSIX_GS_FONTPATH)" - -POSIX_TEXINPUTS="$(cygpath -apu $TEXINPUTS)" -WINDOWS_TEXINPUTS="$(cygpath -apw $POSIX_TEXINPUTS)" - -POSIX_TFMFONTS="$(cygpath -apu $TFMFONTS)" -WINDOWS_TFMFONTS="$(cygpath -apw $POSIX_TFMFONTS)" - -POSIX_MFINPUTS="$(cygpath -apu $MFINPUTS)" -WINDOWS_MFINPUTS="$(cygpath -apw $POSIX_MFINPUTS)" - -# we assume running dos-based TeX, ie, MiKTeX -# maybe move to /etc/profile.d/lily-tex.sh -TEXINPUTS="$WINDOWS_TEXINPUTS" -# TFMFONTS="$WINDOWS_TFMFONTS" - -rm -f /usr/lilypond -# ugh -# ln -s /usr/lilypond-@TOPLEVEL_VERSION@ /usr/lilypond -lily=$(ls -utrd1 /usr/lilypond-* | tail -1) -ln -s $lily /usr/lilypond - -PATH="/usr/lilypond/bin:$PATH" -PATH="$lily/bin:$PATH" - -# gsv-2.7-gs-5.50 -PATH="//c/gstools/gsview://c/gstools/gs:$PATH" - -# gsv-3.6-gs-6.50 -PATH="//c/Ghostgum/gsview://c/gstools/gs:$PATH" - -# python-1.5.2 -PATH="//c/Program Files/Python:$PATH" -PATH="//c/Program Files/MiKTeX/miktex:$PATH" - diff --git a/Documentation/windows/ly2dvi-wrapper.sh b/Documentation/windows/ly2dvi-wrapper.sh deleted file mode 100644 index 1a8a71013d..0000000000 --- a/Documentation/windows/ly2dvi-wrapper.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# ly2dvi.sh -- ly2dvi wrapper for Windows - -if echo | python - >/dev/null 2>&1; then - echo -else - cat < - \paper { Gourlay_maxmeaures = 2. } -} - - diff --git a/input/test/staff-side-slur.ly b/input/test/staff-side-slur.ly deleted file mode 100644 index b667e6d7a8..0000000000 --- a/input/test/staff-side-slur.ly +++ /dev/null @@ -1,22 +0,0 @@ -\version "1.3.146" -\score{ - \context Staff \notes\relative c''{ - \property Staff.instrument = "Toeters" - c c c c(\break - )c c c c ~\break - c c c c\break - } - \paper{ - linewidth=60.0\mm -% \translator { \HaraKiriStaffContext } - \translator { \OrchestralScoreContext } - \translator { - \StaffContext - \consists "Instrument_name_engraver" - marginHangOnClef = 1 - } - } -} - - - diff --git a/input/tutorial/menuet.ly b/input/tutorial/menuet.ly deleted file mode 100644 index 6fba5af310..0000000000 --- a/input/tutorial/menuet.ly +++ /dev/null @@ -1,30 +0,0 @@ - -% lines preceded by a percent sign are comments. -\include "paper16.ly" -\score { - \notes - \relative c'' - \sequential { - \key g \major - \time 3/4 - - \repeat "volta" 2 \sequential { - d4 g,8 a b c d4 g, g | - e'4 c8 d e fis g4 g, g | - c4 d8( )c b a( )b4 c8 b a g | - a4 [b8 a] [g fis] g2. | - } - - b'4 g8 a b g - a4 d,8 e fis d | - g4 e8 fis g d cis4 b8 cis a4 | - a8-. b-. cis-. d-. e-. fis-. - g4 fis e | - fis a, r8 cis8 - d2.-\fermata - \bar "|." - } - \paper { - linewidth = 10.0 \cm % standard settings are too wide for a book - } -} diff --git a/ps/lily.ps b/ps/lily.ps deleted file mode 100644 index 154fa206c0..0000000000 --- a/ps/lily.ps +++ /dev/null @@ -1,265 +0,0 @@ -%!PS-Adobe-1.0: lily.ps -% -% Functions for direct and embedded PostScript - -% round cappings -1 setlinecap - -/euclidean_length -{ - 1 copy mul exch 1 copy mul add sqrt -} bind def - -/draw_beam % width slope thick -{ - 2 div /beam_thick exch def - /beam_slope exch def - /beam_wd exch def - beam_slope beam_wd mul /beam_ht exch def - 0 beam_thick neg moveto - beam_wd beam_ht rlineto - 0 beam_thick 2 mul rlineto - 0 beam_thick lineto - closepath fill -} bind def - -/draw_repeat_slash % width slope thick -{ - /beamthick exch def - /slope exch def - /width exch def - beamthick beamthick slope div euclidean_length - /xwid exch def - 0 0 moveto - xwid 0 rlineto - width slope width mul rlineto - xwid neg 0 rlineto -% width neg width angle sin mul neg rlineto - closepath fill -} bind def - -/draw_hairpin % width start_h end_h thick -{ - setlinewidth - /end_h exch def - /start_h exch def - /wid exch def - 0 start_h moveto - wid end_h lineto - stroke - 0 start_h neg moveto - wid end_h neg lineto - stroke -} bind def - -/draw_tuplet % height gap dx dy thick dir -{ - /dir exch def - setlinewidth - 1 setlinecap - 1 setlinejoin - /tuplet_dy exch def - /tuplet_dx exch def - /tuplet_gapx exch def - /tuplet_h exch def - tuplet_dy tuplet_dx div tuplet_gapx mul /tuplet_gapy exch def - - - 0 0 moveto - 0 tuplet_h dir mul lineto - tuplet_dx tuplet_gapx sub 2 div - tuplet_dy tuplet_gapy sub 2 div tuplet_h dir mul add lineto - tuplet_dx tuplet_gapx add 2 div - tuplet_dy tuplet_gapy add 2 div tuplet_h dir mul add moveto - tuplet_dx tuplet_dy tuplet_h dir mul add lineto - tuplet_dx tuplet_dy lineto - stroke -} bind def - -/difficult_draw_ez_ball % ch letter_col ball_col font -{ - % font - findfont 0.7 scalefont setfont - 0.1 setlinewidth - 0 0 moveto - 0 setgray - 0.5 0 0.5 0 360 arc closepath fill stroke - % ball_col - 1 eq { - 0.01 setlinewidth - 1 setgray - 0.5 0 0.4 0 360 arc closepath - fill stroke - } if - % letter_col - setgray - % 0.25 is empiric centering. Change to taste - 0.25 -0.25 moveto - % ch - show -} bind def - -% Simple, but does it work everywhere? -% The filled circles are drawn by setting the linewidth -% to 2*radius and drawing a point. Is that (defined to be) -% a nice filled circle? -/draw_ez_ball % ch letter_col ball_col font -{ - % font - findfont 0.85 scalefont setfont - /origin { 0.45 0 } def - 0 setgray - 1.1 setlinewidth - origin moveto - origin lineto stroke - % ball_col - setgray - 0.9 setlinewidth - origin moveto - origin lineto stroke - % letter_col - setgray - % 0.25 is empiric centering. Change to taste - origin moveto - -0.28 -0.30 rmoveto - % ch - show -} bind def - -/draw_volta % h w thick vert_start vert_end -{ - /vert_end exch def - /vert_start exch def - setlinewidth - /volta_w exch def - /volta_h exch def - 1 setlinecap - 1 setlinejoin - vert_start 0 eq { - 0 0 moveto - 0 volta_h lineto - } if - 0 volta_h moveto - volta_w volta_h lineto - vert_end 0 eq { - volta_w 0 lineto - } if - stroke -} bind def - -% this is for drawing slurs. -/draw_bezier_sandwich % thickness controls -{ - setlinewidth - moveto - curveto - lineto - curveto - gsave - fill - grestore - stroke -} bind def - -/draw_dashed_line % dash thickness dx dy -{ - 1 setlinecap - 1 setlinejoin - setdash - setlinewidth - 0 0 moveto - lineto - stroke -} bind def - -/draw_dashed_slur % dash thickness controls -{ - 1 setlinecap - 1 setlinejoin - setdash - setlinewidth - 8 -2 roll - moveto - curveto - stroke -} bind def - - - -/bracket_traject -{ - /traject_ds exch def - /traject_alpha exch def - traject_ds traject_alpha sin mul add - exch - traject_ds traject_alpha cos mul add - exch -} bind def - - - -/half_bracket -{ -%6 - 0 0 -%5a - bracket_thick arch_height add half_height arch_thick sub arch_width add - arch_angle arch_height -0.15 mul bracket_traject -%5b - bracket_thick 0.5 mul half_height - 0 arch_height 0.5 mul bracket_traject -%5c - 0 half_height -%4a - bracket_thick half_height arch_thick sub - 0 arch_height 0.4 mul bracket_traject -%4b - bracket_thick arch_height add half_height arch_thick sub arch_width add - arch_angle arch_height -0.25 mul bracket_traject -%4c - bracket_thick arch_height add half_height arch_thick sub arch_width add -%3 - bracket_thick half_height arch_thick sub -%2 - bracket_thick 0 -%1 - 0 0 -} bind def - -/draw_half_bracket { - moveto - lineto - lineto - curveto - curveto - lineto - gsave - fill - grestore -} bind def - -/draw_bracket % arch_angle arch_width arch_height bracket_height arch_thick bracket_thick -{ - % urg - - /bracket_thick exch def - /arch_thick exch def - /bracket_height exch def - /arch_height exch def - /arch_width exch def - /arch_angle exch def - - bracket_height 2 div bracket_thick add /half_height exch def - bracket_thick 0.5 mul setlinewidth - 1 setlinecap - 1 setlinejoin - half_bracket - 20 copy - 1 -1 scale - draw_half_bracket - stroke - 1 -1 scale - draw_half_bracket - stroke -} bind def -