Install MikTex first before you install texmaker or texniccenter

  • Thread starter Thread starter Firepanda
  • Start date Start date
  • Tags Tags
    install
AI Thread Summary
Texmaker requires correct paths to LaTeX commands to compile documents successfully. If paths are incorrect, users may face issues during compilation. It is recommended to install MikTeX before installing Texmaker or TeXnicCenter, as this allows automatic detection of the LaTeX distribution and proper path settings. If automatic detection fails, users can manually set paths or compile LaTeX documents via the command line. This involves navigating to the directory of the .tex file and using the command "latex filename.tex" to generate output files. For ease of use, reinstalling Texmaker and TeXnicCenter is suggested. The discussion emphasizes the importance of proper installation and configuration for a smooth LaTeX experience.
Firepanda
Messages
425
Reaction score
0
Nevermind, Got the hang of it now :)
 
Last edited by a moderator:
Physics news on Phys.org
I did some research and found this:

'Texmaker can't compile yours documents if the paths to the LaTeX related commands are wrong.'

From http://www.xm1math.net/texmaker/doc.html#SECTION01

I get stuck at the first hurdle (again), but where do i set the path for the file 'Latex'? Isn't latex a file of 5 programs? Do i need to set the path to a file with all the programs in?

It's all too confusing.
 
install MikTex first before you install texmaker or texniccenter, then the program should automatically detect your latex distro and set the proper paths to build the document.

If not, you have to set them mannually, however, you can still compile the latex documents in a command line console, Win Key + R to open up Run dialogue, then type in "cmd", find your saved file, note that this file can be in any directory, ending in .tex, then type "latex filename.tex", you should see a bunch of messages popping out, and ending up with 3 files- filename.dvi, filename.aux, filename.log, the .aux and .log are misc information during the compilation, the .dvi file is the output, you can now open it with any dvi viewer, i think the default one with MikTex is yap, so try "yap filename.dvi", if not, go to an explorer gui interface and double click the filename.

All aside, i recommend you reinstalling texmaker and texnic center, it'll probably be easier.

Or you could switch to linux :P
 
Thanks :D
 
you are welcome. TeX is awesome :P
 
Back
Top