Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using TeXmaker on a Mac. I created my .tex file. I compiled it and the editor tells me that the .log file is created and the PDF file is written. Then, when I click on view PDF, it gives me the error message file not found.

How can I fix this problem? The problem wasn't occurring in Ubuntu, same .tex file and settings.

Any help would be appreciated.

share|improve this question
add comment

1 Answer

check the filename and directory, maybe Texmaker struggles to work with some characters in the filepath. Try out the internal viewer and some external viewer. -> Preferences

& Check if the .pdf has been written and try to open that file with the Mac pdf viewer

You should also set pdflatex to run when compiling, not pdftex.

share|improve this answer
    
file name and directory are fine and there are no special characters. Working with the external viewer doesn't change anything and the strange thing is that at the end of the log file it says that the PDF has been written, but then that file doesn't exist either in the folder or in rest of the laptop. Plus I don't understand why all of this was warking perfectly on ubuntu and suddenly doesn't on a Mac –  Valentina Jan 24 at 13:15
    
Now that I think of it, I already had in the folder the .log file created my texmaker in Ubuntu. I removed it now from the mac and the problem now is that it can't create a new log file. And the same problem occur with a test I ran. It says that it can't start the command quick build. In the settings I selected PDFLaTeX to compile. Any suggestion in this case? –  Valentina Jan 24 at 13:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.