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 on
15 a Microsoft Windows 95, 98, NT or 2000 machine. Please follow the
16 instructions carefully. If it doesn't work for you, please send a
17 bugreport, following the guidelines in the section on bugreports below.
20 @section Windows binary setup
22 If you run Windows NT, 2000 or XP, please become administrator first
23 (currently, installing as an ordinary user will not work). Download and
24 run @uref{http://www.lilypond.org/gnu-windows/setup.exe, setup.exe}.
25 You will be asked some questions. If you are unsure just click "Next".
26 Do not change the default install directory @file{c:/cygwin}.
28 This installs LilyPond, and Cygwin, GUILE, Python, teTeX (MikTeX is not
29 supported) and GSView. If you already have some of that software under
30 @file{c:/cygwin}, then don't worry: nothing will be installed twice.
32 If you want to install any of this software by hand, do this
33 @strong{before} you run @file{setup.exe}, otherwise your LilyPond setup
36 @section Testing LilyPond
38 Open a LilyPond shell (To open a a lilypond shell, click the "GNU
39 LilyPond" icon), and type
47 You should see something similar to
51 Usage: lilypond [OPTION]... [FILE]...
53 Typeset music and or play MIDI from FILE
55 LilyPond is a music typesetter. It produces beautiful sheet music
56 using a high level description file as input. LilyPond is part of
65 Then, prepare a file called @file{foo.ly}, by issuing
71 Enter the following into the file
75 \score @{ \notes @{ c4 ( ) c4 @} @}
79 Close the file and save it. Run the following command. It should say
80 @code{PS output to `foo.ps', DVI output to `foo.dvi'}.
88 You can now view the file using the following command
97 If this works, then you can head to the
98 @uref{../../user/out-www/lilypond/Tutorial.html,Tutorial} to start using
103 @section Removing LilyPond
105 Start @file{setup.exe}, click Next, select "Install from Local
106 Directory". Then click next until you reach "Select packages to
107 install". Click "View". Now, for every package, click on the recycle
108 icon until it says "Uninstall". Then, click Next.
110 (If you find this too tedious, you can also simply remove
111 @file{c:/cygwin}. This also removes the @file{/home/} directories under
112 cygwin (i.e. @file{C:\CYGWIN\HOME}, so make sure that you bring
113 important files in safety first.)
115 @section Troubleshooting
117 For problems and solutions see
118 @uref{http://lilypond.org/wiki?TroubleshootingWindows,Troubleshooting
124 We can only help you with a problem if you give a full, detailed
125 bugreport. A bugreport includes
128 @item A @emph{precise} description of the problem.
129 @item A full description of your platform (machine type, operating
131 @item All version numbers of relevant software you run. Specifically, we
132 want to see the output of the following commands:
141 @item If ly2dvi fails, then please run it as follows and include the
145 ly2dvi --verbose MY-FILE
150 You can also check out
151 @uref{http://lilypond.org/wiki/?TroubleshootingWindows} for more
152 instructions on how to make a bug report.
155 @subsection Additional software
157 LilyPond needs a number of software packages to be really useful. These
158 are included in the binary setup program (see above).
160 If you choose to install this additional software yourself, make sure
161 you install LilyPond last, otherwise the LilyPond setup will be broken.
162 Also note that this means that you will probably need to fix some PATH
163 and TEX environment variables yourself. If you think you can handle
164 that, you may do so, but don't complain if it doesn't work.
166 These software packages are included in the LilyPond installation:
169 @item A full TeX installation.
171 As of LilyPond versions 1.4.11 (and 1.5.29), only Cygwin's teTeX
172 installation is supported (packages tetex-beta and texmf-base). It is
173 part of Cygwin and much more robust for use with LilyPond than MiKTeX.
174 See @file{/usr/doc/Cygwin/tetex-beta-20001218.README} and
175 @file{/usr/doc/Cygwin/texmf-20000804-2.README} for details.
179 You can use GSView-2.6. This old package has two advantages. It has
180 gsview and ghostscript bundeled, and it doesn't popup @emph{Register
181 Now|Cancel} windows all the time. It doesn't work together with Yap to
182 display PostScript specials.
184 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv26w32.exe,here} to
185 install GSView-2.6 (GhostView for Windows), or visit
186 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
188 You can also use the newer versions GSView-3.6 and GhostScript-6.50 If
189 you install both these packages, Yap will display PostScript specials.
190 You get annoying @emph{Register Now|Cancel} popups, though.
192 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv36w32.exe,here} for
194 Click @uref{ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs650/gs650w32.exe
195 ,here} for GhostScript.
196 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
198 @uref{http://www.cs.wisc.edu/~ghost/,Ghostscript, Ghostview and GSview site}.
204 * emacs-mode installation, figure out and describe proper
205 emacs-on-cygwin setup.
213 ERROR: Wrong type to apply: ("/usr/share/guile/site" /usr/share/guile/1.4.1")
219 Let's take this step by step.
221 It should not be critical which MikTeX version you use.
222 Let's first verify that your MikTeX works as it should.
223 Open a DOS window. Run the commands
225 Should produce some lines of output
227 Should display a three page document.
229 Next step; verify that the geometry package is in place.
230 Save the attached file to the directory where you run
231 your DOS window. Run the commands
232 >> latex geometrytest
234 This one you should get a single page document with some text
243 If you want to install more of cygwnTo expand on this minimal set,
244 @section If you already have MikTeX, GSView or
246 If you already have cygwin installed, don't worry: nothing will be
247 installed twice. To expand on this minimal set, click
248 @uref{http://sources.redhat.com/cygwin/setup.exe,here}, or visit a
249 Cygwin @uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}.
252 This will install the minimal set of cygwin tools needed to run
253 LilyPond. Make sure to install in the default place, @file{c:/cygwin},
254 and install everything.