1 \input texinfo @c -*-texinfo-*-
2 @setfilename installing.info
3 @settitle LilyPond on Windows
6 <!--- @@WEB-TITLE@@=Windows Installation --->
12 @chapter WINDOWS - Installing GNU LilyPond on Windows
14 This document explains how to install the binary release for windows
15 on a Microsoft Windows 95, 98, NT or 2000 machine.
17 This release is a free extra service of the developers to assist windows
18 users. Please remember that we (the developers) rather dislike windows,
19 and none of us use it. Don't complain to us that installing LilyPond is
20 too difficult; rather, if you know something about your Windows, send us
21 code that works better (see @uref{compiling.html,compiling}).
23 @section Windows binary setup
25 Apart from LilyPond itself, you need Cygwin, GUILE, Python and a TeX
26 installation, but all this software be installed by running setup.exe:
31 @c let's do http, so that people read the README
32 @uref{http://www.lilypond.org/gnu-windows/setup.exe, setup.exe}
35 This will install the minimal set of cygwin tools needed to run
36 LilyPond. Make sure to install in the default place, @file{c:/cygwin},
37 and install everything.
39 As of version 1.3.150, you also have the option to install MiKTeX and
40 GSView from this installer, which is recommended. If you choose to
41 install these by hand (see below), make sure to install them
42 @strong{before} you install LilyPond, otherwise your LilyPond setup will
45 If you already have cygwin installed, don't worry: nothing will be
46 installed twice. To expand on this minimal set, click
47 @uref{http://sources.redhat.com/cygwin/setup.exe,here}, or visit a
48 Cygwin @uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}.
52 @section Windows running setup
54 If you're lucky, after running @file{setup.exe} you're all set up.
56 Open a LilyPond shell (or any bash shell), and type
64 If you don't see something similar to
68 Usage: lilypond [OPTION]... [FILE]...
70 Typeset music and or play MIDI from FILE
72 LilyPond is a music typesetter. It produces beautiful sheet music
73 using a high level description file as input. LilyPond is part of
82 you should try adding @file{/usr/lilypond-x.y.z/bin} to your @var{PATH},
87 PATH=/usr/lilypond-1.4.2/bin:$PATH
96 For problems and solutions see
97 @uref{http://lilypond.org/wiki?TroubleshootingWindows,Troubleshooting
101 @subsection Additional software
103 LilyPond needs a number of software packages to be really useful. These
104 are included in the binary setup program (see above).
106 If you choose to install this additional software yourself, make sure
107 you install LilyPond last, otherwise the LilyPond setup will be broken.
108 Also note that this means that you will probably need to fix some PATH
109 and TEX environment variables yourself. If you think you can handle
110 that, you may do so, but don't complain if it doesn't work.
112 These software packages are included in the LilyPond installation:
115 @item A full TeX installation.
117 Currently, only MikTeX is supported. Download and install
118 @uref{http://downloads.sourceforge.net/miktex/miktex-2.0-lvl-1.zip,MikTeX},
119 or visit @uref{http://www.miktex.org,www.miktex.org}.
120 @c See @file{/usr/doc/cygwin/tetex-beta-20001218.README} for details.
124 You can use GSView-2.6. This old package has two advantages. It has
125 gsview and ghostscript bundeled, and it doesn't popup @emph{Register
126 Now|Cancel} windows all the time. It doesn't work together with Yap to
127 display PostScript specials.
129 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv26w32.exe,here} to
130 install GSView-2.6 (GhostView for Windows), or visit
131 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
133 You can also use the newer versions GSView-3.6 and GhostScript-6.50 If
134 you install both these packages, Yap will display PostScript specials.
135 You get annoying @emph{Register Now|Cancel} popups, though.
137 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv36w32.exe,here} for
139 Click @uref{ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs650/gs650w32.exe
140 ,here} for GhostScript.
141 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
143 @uref{http://www.cs.wisc.edu/~ghost/,Ghostscript, Ghostview and GSview site}.
152 * emacs-mode installation, figure out and describe proper
153 emacs-on-cygwin setup.
164 ERROR: Wrong type to apply: ("/usr/share/guile/site" /usr/share/guile/1.4.1")
170 Let's take this step by step.
172 It should not be critical which MikTeX version you use.
173 Let's first verify that your MikTeX works as it should.
174 Open a DOS window. Run the commands
176 Should produce some lines of output
178 Should display a three page document.
180 Next step; verify that the geometry package is in place.
181 Save the attached file to the directory where you run
182 your DOS window. Run the commands
183 >> latex geometrytest
185 This one you should get a single page document with some text