MiKTeX and proTeXt ⇒ pdflatex: No .pdf produced
pdflatex: No .pdf produced
Dear all,
Everything was going ok while writing my document. All the sudden, the figures are not found since I think it wants .eps and not .jpeg,etc...
I can see from line 92 in the .log file that the "driver file" is now dvips...
I'm enclosing my .log file and I would be very happy if someone could give me a hand...
Thanks
Everything was going ok while writing my document. All the sudden, the figures are not found since I think it wants .eps and not .jpeg,etc...
I can see from line 92 in the .log file that the "driver file" is now dvips...
I'm enclosing my .log file and I would be very happy if someone could give me a hand...
Thanks
- Attachments
-
- Thesis.log
- (67.16 KiB) Downloaded 535 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pdflatex: No .pdf produced
Nothing happens without your assistance. It's a fact that you compiled with LaTeX and not with PDFLaTeX.leo_ch wrote:[…] Everything was going ok while writing my document. All the sudden, the figures are not found since I think it wants .eps and not .jpeg,etc […]
Somewhere in your code there is the »dvips« driver chosen. Browse your packages in the preamble and delete this driver option. The log file indicates that this option might be given for the xcolor package. Other typical packages would be geometry, graphicx or hyperref.leo_ch wrote:[…] I can see from line 92 in the .log file that the "driver file" is now dvips […]
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
pdflatex: No .pdf produced
Dear localghost,
Thank you for your interest in my problem.
Regarding the first possible mistake, I am compiling with pdflatex (C:\Program Files\MiKTeX 2.9\miktex\bin\pdflatex.exe) and not with latex.
I cannot see where my mistake might be...
Thank you for your interest in my problem.
Regarding the first possible mistake, I am compiling with pdflatex (C:\Program Files\MiKTeX 2.9\miktex\bin\pdflatex.exe) and not with latex.
Code: Select all
\documentclass[a4paper,12pt]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{lmodern}
%\usepackage{xcolor}
\usepackage{eurosym}
\usepackage{graphicx}%[pdftex]
\usepackage{subfigure}
\usepackage{fancyhdr}
\usepackage{nomencl}%\usepackage{inputenc}
\usepackage{geometry}%[a4paper, margin= 3cm]
\usepackage{url}
\usepackage{wrapfig}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage{amssymb,amsfonts}
%,sanitize={name=false,description=false,symbol=true}
\usepackage{listings}
\usepackage[acronym,nonumberlist=true]{glossaries}
\usepackage{textcomp}
\usepackage{bigints}
\usepackage{color}
\usepackage{verbatim}
%\usepackage[colorlinks]{hyperref}
\definecolor{light-gray}{gray}{0.975}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pdflatex: No .pdf produced
The log file clearly says the other thing. These are the first and the last line of the log file you attached.leo_ch wrote:[…] Regarding the first possible mistake, I am compiling with pdflatex (C:\Program Files\MiKTeX 2.9\miktex\bin\pdflatex.exe) and not with latex.[…]
So everything indicates that you just didn't compile with PDFLaTeX. The included packages don't show a driver option. So this is the only possible cause for the problem. Well then?Thesis.log wrote:This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=latex 2011.6.21) 21 JUN 2011 16:40
[…]
Output written on Thesis.dvi (41 pages, 345604 bytes).
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: pdflatex: No .pdf produced
I still get the same .log file
I have double checked that it is pdflatex in the arguments for the compiler :\
I have double checked that it is pdflatex in the arguments for the compiler :\
- Attachments
-
- 1.png (22.37 KiB) Viewed 13597 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: pdflatex: No .pdf produced
The settings are unimportant. Much more important is the build profile you have selected in the toolbar of the main window. Make sure that there is 'LaTeX => PDF' displayed in the menu as shown in the attachment.
- Attachments
-
- The main window of TeXnicCenter with the menu for build profiles.
- TXC2alpha3-Choose-Build-Profile.png (30.52 KiB) Viewed 13596 times
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: pdflatex: No .pdf produced
Yep that is the chosen option...
Any ideas??
Any ideas??

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pdflatex: No .pdf produced
Open a command line window, move to the directory where your thesis is located, and try to compile from there and see what happens.
If this works, there is definitely a problem with TeXnicCenter (TXC) on your machine. Then forget TXC and try another editor like TeXworks. It is integrated into MiKTeX 2.9 but probably has to be installed subsequently by the MiKTeX Package Manager.
If this doesn't work either, there might be something wrong with the MiKTeX formats or settings. In this case a remote diagnose is not possible for me (Wind0ws is not my primary OS). So my advice ends here.
Code: Select all
pdflatex Thesis
If this doesn't work either, there might be something wrong with the MiKTeX formats or settings. In this case a remote diagnose is not possible for me (Wind0ws is not my primary OS). So my advice ends here.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: pdflatex: No .pdf produced
Dear localghost,
I have tried your suggestion and still it is doing format=latex
I am a bit desesperate since this is my master thesis lol
I will try to reinstall everything and see what happens... In texmaker the error persists.
Thank you very much for your help!!
I have tried your suggestion and still it is doing format=latex
I am a bit desesperate since this is my master thesis lol
I will try to reinstall everything and see what happens... In texmaker the error persists.
Thank you very much for your help!!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pdflatex: No .pdf produced
Before you do so, you should try to fix it from the command line.leo_ch wrote:[…] I will try to reinstall everything and see what happens... In texmaker the error persists. […]
Code: Select all
initexmf --dump
Code: Select all
initexmf --admin --dump
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10