GeneralGetting Texnic Center to recognise MikTex

General information and discussion about TeXnicCenter
Post Reply
michelney
Posts: 4
Joined: Fri May 15, 2009 7:29 pm

Getting Texnic Center to recognise MikTex

Post by michelney »

Hi. I've used TexnicCenter and MikTex together for a few years and got a new laptop, so installed them both on there. However I can't get any output in TexnicCenter. I press "Build" and it just does nothing. In the drop-down menu where there's normally:

LaTeX -> DVI
LaTeX -> PDF
LaTeX -> PS

There is nothing. So I opened up Build -> Output profiles and manually inputted everything that was in the TexnicCenter of my old computer into the new one. Now I have another problem. I tried opening a tex file and it refused to build it, saying that the location of the tex file (which is in C:\Users\Me\Documents\my latexes) is an "undefined control sequence." And then it says that it can't find the file. Where am I supposed to put them then?

Thanks for any help. If you haven't already assumed it then it would be wise to know that I know virtually nothing about how to use LaTeX, or even what MikTex does. I just use trial and error and google searches (all failed so far) to solve things.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Getting Texnic Center to recognise MikTex

Post by localghost »

At first install Ghostscript additionally to get all features. Afterwards restart TeXnicCenter (TXC), press Alt+F7 and start the wizard (lower left corner of the appearing dialogue window). You will be asked for the path to the MiKTeX executables.

Code: Select all

C:\Program Files\MiKTeX 2.8\miktex\bin
This will make sure that everything works.

The other problem can only be clarified with a minimal working example (MWE) that exactly reproduces the error (see Section 2 of the Board Rules). This MWE has to be as short as possible without any irrelevant packages or new command declarations and it must be compilable for everyone else. Take a look at the log file. It will show you what is going wrong with your file. If necessary, post the MWE and the log file here.


Best regards and welcome to the board
Thorsten
michelney
Posts: 4
Joined: Fri May 15, 2009 7:29 pm

Re: Getting Texnic Center to recognise MikTex

Post by michelney »

Thanks Thorsten, it's working now.
Post Reply