3

So I am trying to preview my Latex file as a pdf, so when I click pdf preview, an warning pops up stating,

Cannot run: "C:\Program Files (x86)\Maxthon\Bin\Maxthon.exe" "C:\Users\Joe\Documents\Sample(1).pdf".

So how can I fix this. I have no clue what the Maxthon.exe thing is and this is my first time using Latex and Winedt. Also, it will run as a DVI file. Thank you.

  • According to wikipedia, Maxthon is a Chinese web browser. What happens if you compile your document with pdflatex and then try to open the resulting file with Adobe Reader? – Ian Thompson Jun 9 '16 at 9:30
  • 1
    BTW: Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – karlkoeller Jun 9 '16 at 12:07
3

By default, WinEdt uses the PDF viewer which is associated with .pdf files.

Surely you have .pdf files associated with Maxthon browser.

I suggest you to install the free SumatraPDF reader which works as a charm together with WinEdt. Install the 64-bit version if you have WinEdt 64-bit, otherwise install the 32-bit version.

If you want to set SumatraPDF as your default PDF reader, remember, during the installation, to click on "Options" and select "Use SumatraPDF as default PDF reader". In this case, restarting WinEdt and clicking on "PDF Preview" your .pdf file will be opened with SumatraPDF.

If you don't want either to install SumatraPDF or to set it as your default reader, from within WinEdt, go to to "Options" -> "Execution Modes" -> "PDF Viewer" and browse for the program you want to use as PDF reader:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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