1

enter image description here

After compiling the LaTeX rightly, I try to view the .pdf file. But it said that

.pdf file not found.

I think maybe I need to correct some settings?

I am a beginner

Thank you very much!


\documentclass{article}
\begin{document}
Hello, world!
\end{document}
2
  • 3
    Welcome to tex.SE Would you mind posting a Minimal Working Example that will illustrate your problem? Thank's!
    – Thanos
    Sep 5, 2014 at 15:21
  • 1
    Your question is not well posted. You can have a look at our starter guide to familiarize yourself further with our format.
    – user31729
    Sep 5, 2014 at 15:41

2 Answers 2

3

As you can see on your screeshot you are using the LaTeX engine. Instead of a pdf, this engine provides a dvi-file.
You should use PDFLaTeX instead of LaTeX (choose from the dropdown list), which should output a proper pdf. See screenshot below:

enter image description here

2

I suspect your compiler is latex rather than pdflatex. If that's the case, you will find a .dvi file in the folder with your document.

To change the default compiler, if this is TeXstudio, try

Options -> Configure -> Build

and set the Default Compiler to PdfLaTeX .

If it's another environment, find out how to set the default compiler there to pdflatex.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .