Showing posts with label LaTeX. Show all posts
Showing posts with label LaTeX. Show all posts

Thursday, 4 July 2013

LaTeX ** ERROR ** Log file not found! on Texmaker



Sad!
You may have crossed this error message when trying to compile and preview a new document for the first time. Don't panic! It's simple.

The log file is a file that goes along every LaTeX file. It is automatically generated and specific to a file.
It gives information about what the document is and how to process it, like for example the name and version number of the compiler to use.


What's most likely happening here is that there is a problem while trying to compile because without an indication from a specific log file, neither your system nor Texmaker know what to do with the file or where the compiler is...

-> Either because you just don't have a LaTeX compiler installed
Texmaker is just a (very good) LaTeX editor, it does not come with an engine to create actual pdf... If you didn't install anything else than Texmaker, you are therefore missing a LaTeX distribution.
In that case I recommend MikTeX if you are running Windows (miktex.org/), or Live TeX if you run an UNIX system (www.tug.org/texlive/)

-> Or because you didn't add it's path to your environment variables
This you should do in either case. Just add this path to your environment variables:
     [location of your miktex folder]\MiKTeX 2.9\miktex\bin
This step is required to use the builtin functionality of your LaTeX editor to create a new file from an other existing LaTeX file, or to create a new file by copying an other manually. Just because the log file is intimately specific to its LaTeX file ;)

Hope that helps ;)

--
FAQ
LaTeX?
http://latex-project.org/intro.html

What is Texmaker?
My favorite LaTeX editor, check it out at http://www.xm1math.net/texmaker/
It is free and easy to use!

Where to get help?
http://tex.stackexchange.com/ is THE place.

--
More information
on the topic:
http://tex.stackexchange.com/questions/63999/texmaker-windows-version-first-use-error-log-file-not-found
on the log file:
http://tex.stackexchange.com/questions/32213/understanding-the-log-file

Sunday, 8 April 2012

LaTeX ** ERROR ** Could not open specified DVI file x.dvi Output file removed.


Une fois n'est pas coutume, encore un fix !

Ce message d'erreur LaTeX est le premier que vous pourriez rencontrer en créant un nouveau document si vous n'êtes pas vigilant :

** ERROR ** Could not open specified DVI file x.dvi Output file removed.

Cela risque de survenir lors d'une tentative de compilation rapide. C'est du au fait qu'il faut "compiler" une première fois en utilisant LaTeX avant de pouvoir faire cette exécution rapide (qui est par défaut la fonction exécutée par la touche F9 (en tout cas dans l'éditeur Texmaker http://www.xm1math.net/texmaker/)). Compilez avec LaTeX !


Sous Texmaker :

La compilation par défaut est "compilation rapide".




Pour faire une compilation LaTeX complète, sélectionnez "LaTeX" dans la liste déroulante.








Compilez !

(C'était vraiment pas compliqué :p)