Texmaker and TeXstudioNo display of PDF output

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

No display of PDF output

Post by teletubijs1 »

I can't view pdf files, tried everything, it says :'This file cannot be found' or it is simply a blank page. I know that this is a common problem and i found several topics about this, but nothing really helped.

I have Miktex 2.8, adobe reader 10, texmaker 2.1.
In configurations i have
pdflatex: "C:/Program Files/Adobe/Reader 10.0/Reader/AcroRd32.exe" -interaction=nonstopmode %.tex
External viewer : "C:/Program Files/Adobe/Reader 10.0/Reader/AcroRd32.exe" %.pdf
and same in quick build

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: No display of PDF output

Post by frabjous »

You need to set the executable for pdflatex to the executable for pdflatex, which is probably something like "C:/Program Files/MiKTeX 2.9/miktex/bin/pdftex.exe" or something like that, not to AcroRd32.exe -- that should only appear in the viewer part. Your problem seems rather to be that you aren't creating PDFs, not that you can't view them.
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

Re: No display of PDF output

Post by teletubijs1 »

Thanks for replay, but it doesn't work anyway, here is my..

"configure texmaker" window-commands-
http://www.flickr.com/photos/57432232@N04/5286992027/

it is pdflatex.exe there, but i tried also pdftex.exe

After i close pdf, texmaker says process exited with errors :log file not found.

help if you can, thank you!
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

No display of PDF output

Post by meho_r »

Just a note about the path: you should use the backslash (\) instead of the slash (/) on Windows (e.g.
C:\Program Files\MiKTeX 2.8 etc.)
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

Re: No display of PDF output

Post by teletubijs1 »

when i press F6 (PDFlatex) it gives errors:
!Undefined control sequence.
...


\documentclass{article}

\begin{document}%
Hello!
\end{document}



when i press F11 it says: process exited normally.

I have deleted, uninstalled, then downloaded and installed again. But still there is same problem.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

No display of PDF output

Post by frabjous »

teletubijs1 wrote:when i press F6 (PDFlatex) it gives errors:
!Undefined control sequence.
...

Code: Select all

\documentclass{article}

\begin{document}%
Hello!
\end{document}
Do you actually get the error with that file? Because in the background of the screenshot you posted, I can see the obsolete \documentstyle command, which might generate this error.
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

Re: No display of PDF output

Post by teletubijs1 »

These are just samples i got from net.

That was all my code.

\documentclass{article}

\begin{document}%
Hello!
\end{document}
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

Re: No display of PDF output

Post by teletubijs1 »

I add some more screens.

After pressing F6
http://www.flickr.com/photos/57432232@N04/5287530111/

Changed from slash to backslash. However when i try to set path, it changes back to backslash.
http://www.flickr.com/photos/57432232@N04/5288134396/

http://www.flickr.com/photos/57432232@N04/5288136740/

Editor font encoding?
http://www.flickr.com/photos/57432232@N04/5287537623/

Going back and forth.... sometimes i get something in pdf, if i add one more ''hello!'', press F6, then F7 nothing changes.
http://www.flickr.com/photos/57432232@N04/5287540021/


If you need some more screens let me know.
Thank you for help!
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

No display of PDF output

Post by meho_r »

The error shown in the first screenshot, after pressing F6, is understandable: in path for pdflatex you set pdftex to be run, not pdflatex. There is a difference. Try changing pdftex to pdflatex then run it on that simple example again.

To avoid path problems, use the buttons on the right of path fields to locate binaries. It's safer that way. Of course, after you set the path, you can add --interaction=nonstopmode %.tex or other options.
teletubijs1
Posts: 13
Joined: Fri Dec 24, 2010 3:55 am

Re: No display of PDF output

Post by teletubijs1 »

WOW, it works now!

Thank you all, you saved my life!

Marry Christmas! :)
Post Reply