Saturday, September 8, 2012

Installing a fresh copy of Latex and editor on windows machine

If you need to create a document with lots of mathematical functions then it is very well suggested to use software like Latex. Basically Latex in itself is not an editor however it provides binaries/libraries which can be used by a text editor for creating highly sophisticated documents full of Greek alphabets.

Follow following simple steps to install the Miktex and TexnicCenter
1. Download MikTex latest version from this page MikTex Setup.
2. Install it and mind it while installing, setup will prompt you when to download additional package which is default to 'AskMe' change it to Yes so that you've all updated and required binaries. It might be possible that if you don't change it you won't get Tex.exe or Latex.exe which are required for an editor.
3. Next, download the text editor for creation of your text document using Latex. I personally prefer TexnicCenter, download its latest installer from this link Texnic Center Setup (In case link is not working use this link instead Texnic Download Page)
4. After download and installation of TexnicCenter, when you run the TexNic Center first time it will ask for several configuration which are very important for proper working of software.

a) Link to Latex.exe or Tex.exe distributables. Supposing you're using a 64 bit machine, provide this link C:\Program Files (x86)\MiKTeX 2.9\miktex\bin and press next.
It might be possible that here dialog will prompt with error: "The application latex has not beed found in the directory of your tex distribution". This error comes because you did not change the automatic libraries download option for MikTex from 'Ask Me' to 'Yes', which I mentioned in step 2. Simple resolution will be to repeat step 2 only. I personally stuck on this step for atleast 2 hours.

b) If you are good with latex link then next setup will ask for post script viewer path which is basically a software where you wish to view your document after compiling through latex. Generally it is Adobe reader so provide the link to adobe reader.exe.
On my machine link is:
C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRD32.exe

If nothing strange come up then you're good to go. Open Texniccenter to create new latex documents. After writing documents you first need to compile your documents (F7) and view output (F5).

This is my personal experience with latex installation. It might be possible that something new come up so please feel free to post your issues and suggestions.

No comments:

Post a Comment