To see all the LaTeX material available, go to the main Comprehensive Tex Archive Network (CTAN) or an Australian CTAN mirror. If you wish to keep these instructions on-screen whilst viewing another page, then rather than just clicking on the link, press shift-click. This will make it easier to follow instructions as to what to download.
The main site for MiKTeX for Windows is in Germany, at http://www.miktex.org/, another is in the United States at http://www.ctan.org/tex-archive/systems/win32/miktex/. Australian residents will find it faster to use the Australian MiKTeX mirror at http://mirror.aarnet.edu.au/pub/CTAN/systems/win32/miktex/. In the pages that follow, the Australian mirror site list listed first, followed by the main distribution site in brackets. For example: go to the Australian mirror (alternate site). The mirror site is generally faster, if you have access from an address within Australia. If elsewhere, there is no advantage in using the mirror site, and you should go straight to the alternate site.
The following notes are based on MiKTeX 2.5 running on Windows XP. Your specific setup may vary. If you download the "basic" distribution as recommended, it's around 45M. These are only intended to be a quick getting-started guide, together with some hints for customization - please see the official MiKTeX documentation (FAQ's, mailing list, installation notes) in the event of problems. After downloading any new system components, you should always scan your disk for viruses.
A note about saving files from your web browser: at various stages in this installation, you will be instructed to save files from a location (link) to your local hard drive. Do this via right-clicking on the link and then selecting Save Target As. In the dialog box that comes up, you should not change the file name, but you must change the "Save as type" box to "All Files". If you don't do this, Windows will add a ".txt" extension to your filename, and LaTeX (or any other program) will not be able to see the correct file type. Of course, this is not applicable where you are just clicking on a link to follow it to another page, it only applies where you are told to save a file.
You need three items of software:
c:\MyWork\latex\test (or wherever you want
to park your project files).
c:\archive\miktex (that is, on MyComputer,
select Local C: Drive; then create archive, then in that folder
create miktex.
This will be used to store the
downloaded files for the application. It is recommended that you backup this
location to a CD or some other media after the download is completed, as it can be
used to re-install MiKTeX at a later date if necessary. start-run and type cmd. You then have a
Windows command prompt, and may use commands such as cd to
change directory, dir to get a directory listing,
md (or mkdir) to make a directory.
Type help for more command information, and
exit to close the command prompt window.
cmd.exe.
When the shortcut is set up, right-click on it and select Properties, then
select Start In, and change the string to c:\MyWork\latex\test.
setup.exe by right-clicking to save it to the
download location such as c:\archive\miktex.
setup to run it.
setup.exe in the
downloaded folder.
This time you can select install from local repository (that is, from your hard drive).
Again select basic package set.
a4page.sty
and
a4pdf.sty
to your work folder.
Do this via right-clicking on the link and then selecting Save Target As.
In the dialog box that comes up, you should not change the file name, but you must
change the "Save as type" box to "All Files".
If you don't do this, Windows will add a ".txt" extension to your filename, and
LaTeX (or any other program) will not be able to see the correct file type.
pdflatex sample
sample.pdf using
Acrobat Reader (if your file extensions are set up, you can just type
sample.pdf on the command-line, and it will fire up Acrobat directly).
texinputs (can be any name) under C:\Program Files\MiKTeX 2.5\tex\latex,
then tell MiKTeX where to find your files:
Start-Programs-MiKTeX-MiKTeX Options, click the roots tab,
click add, and under My Computer point to
C:\Program Files\MiKTeX 2.5\tex\latex\texinputs.
Then click Refresh FNDB to update the filename database.
This step is necessary so that MiKTeX knows where to find the files for your system.
Similarly, you can create bibliography style files and put them in
bibinputs under C:\Program Files\MiKTeX 2.5\bibtex,