]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/windows/installing.texi
2ea28d7d192bbe1c90ac79c7de543e8d0393df5b
[lilypond.git] / Documentation / windows / installing.texi
1 \input texinfo @c -*-texinfo-*-
2 @setfilename installing.info
3 @settitle LilyPond on Windows
4
5 @node Top
6 @top
7
8 @chapter WINDOWS - Installing GNU LilyPond on Windows
9
10 This document explains how to install the binary release for windows
11 on a Microsoft Windows 95, 98, NT or 2000 machine.
12
13 This release is a free extra service of the developers to assist windows
14 users.  Please remember that we (the developers) rather dislike windows,
15 and none of us use it.  Don't complain to us that installing LilyPond is
16 too difficult; rather, if you know something about your Windows, send us
17 code that works better (see @uref{compiling.html,compiling}).
18
19 @section Windows binary setup 
20
21 Apart from LilyPond itself, you need Cygwin, GUILE, Python, and a TeX
22 installation, but all this software be installed by running setup.exe:
23
24 @table @asis
25 @item LilyPond
26 Download and run
27 @c let's do http, so that people read the README
28 @uref{http://www.lilypond.org/gnu-windows/setup.exe, setup.exe}
29 to install LilyPond.
30
31 This will install the minimal set of cygwin tools needed to run
32 LilyPond.  Make sure to install in the default place, @file{c:/cygwin},
33 and install everything.
34
35 As of version 1.3.150, you also have the option to install MiKTeX,
36 Python and GSView from this installer, which is recommended.  If you
37 choose to install these by hand (see below), make sure to install them
38 @strong{before} you install LilyPond, otherwise your LilyPond setup will
39 be broken.
40
41 If you already have cygwin installed, don't worry: nothing will be
42 installed twice.  To expand on this minimal set, click
43 @uref{http://sources.redhat.com/cygwin/setup.exe,here}, or visit a
44 Cygwin @uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}.
45 @end table
46
47
48 @section Windows running setup
49
50 If you're lucky, after running @file{setup.exe} you're all set up.
51
52 Open a LilyPond shell (or any bash shell), and type
53
54 @quotation
55 @example
56 lilypond --help
57 @end example
58 @end quotation
59
60 If you don't see something similar to
61
62 @quotation
63 @example
64 Usage: lilypond [OPTION]... [FILE]...
65
66 Typeset music and or play MIDI from FILE
67
68 LilyPond is a music typesetter.  It produces beautiful sheet music
69 using a high level description file as input.  LilyPond is part of 
70 the GNU Project.
71
72 Options:
73   -h,--help             this help
74 [..]
75 @end example
76 @end quotation
77
78 you should try adding @file{/usr/lilypond-x.y.z/bin} to your @var{PATH},
79 do:
80
81 @quotation
82 @example
83 PATH=/usr/lilypond-1.4.2/bin:$PATH
84 @end example
85 @end quotation
86
87 and try again.
88
89
90 @subsection Trouble
91
92 For problems and solutions see
93 @uref{http://lilypond.org/wiki/?TroubleshootingWindows,Troubleshooting
94 Windows}.
95
96 @subsection Additional software
97
98 LilyPond needs a number of software packages to be really useful.  These
99 are included in the binary setup program (see above).
100
101 If you choose to install this additional software yourself, make sure
102 you install LilyPond last, otherwise the LilyPond setup will be broken.
103 Also note that this means that you will probably need to fix some PATH
104 and TEX environment variables yourself.  If you think you can handle
105 that, you may do so, but don't complain if it doesn't work.
106
107 These software packages are included in the LilyPond installation:
108
109 @table @asis
110 @item A full TeX installation.
111
112 Currently, only MikTeX is supported.  Download and install
113 @uref{http://downloads.sourceforge.net/miktex/miktex-2.0-lvl-1.zip,MikTeX},
114 or visit @uref{http://www.miktex.org,www.miktex.org}.
115 @c See @file{/usr/doc/cygwin/tetex-beta-20001218.README} for details.
116
117 @item Ghostview.
118
119 You can use GSView-2.6.  This old package has two advantages.  It has
120 gsview and ghostscript bundeled, and it doesn't popup @emph{Register
121 Now|Cancel} windows all the time.  It doesn't work together with Yap to
122 display PostScript specials.
123
124 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv26w32.exe,here} to
125 install GSView-2.6 (GhostView for Windows), or visit
126 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
127
128 You can also use the newer versions GSView-3.6 and GhostScript-6.50 If
129 you install both these packages, Yap will display PostScript specials.
130 You get annoying @emph{Register Now|Cancel} popups, though.
131
132 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv36w32.exe,here} for
133 GSview and 
134 Click @uref{ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs650/gs650w32.exe
135 ,here} for GhostScript.
136 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
137 or visit the
138 @uref{http://www.cs.wisc.edu/~ghost/,Ghostscript, Ghostview and GSview site}.
139
140 @item Python
141 Click @uref{http://www.python.org/ftp/python/win32/py152.exe,here} to
142 install Python-1.5.2, or visit
143 @uref{http://www.python.org,www.python.org}.
144
145 We have not tried using newer versions than 1.5.2.
146
147 @end table
148
149
150
151 [TODO:
152
153
154 * emacs-mode installation, figure out and describe proper
155 emacs-on-cygwin setup.
156
157 ]
158
159
160 @ignore 
161
162   guile -v
163   Guile 1.4.1
164
165   guile -e %load-path
166   ERROR: Wrong type to apply: ("/usr/share/guile/site" /usr/share/guile/1.4.1")
167   
168
169   
170 Mats?
171
172 Let's take this step by step.
173
174 It should not be critical which MikTeX version you use.
175 Let's first verify that your MikTeX works as it should.
176 Open a DOS window. Run the commands
177 >> latex sample2e
178  Should produce some lines of output
179 >> yap sample2e
180  Should display a three page document.
181
182 Next step; verify that the geometry package is in place. 
183 Save the attached file to the directory where you run 
184 your DOS window. Run the commands
185 >> latex geometrytest
186 >> yap geometrytest
187 This one you should get a single page document with some text
188 in each corner.
189 ]
190
191 @end ignore
192
193