General ⇒ Can't generate pdf file
Can't generate pdf file
Hi Everybody,
I have been working all day in TeXnicCenter without any problems. Then all of a sudden I can't generate a pdf file. The compiler shows no errors, I havn't changed in the template and the output profile: Latex->Pdf is guided to the correct path, but then again, I have been able to generate all day so I would be strange otherwise.
I get the folowing pop up:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Cannot Execute the Command.
I Hope you guys can help me,
Lonnie
I have been working all day in TeXnicCenter without any problems. Then all of a sudden I can't generate a pdf file. The compiler shows no errors, I havn't changed in the template and the output profile: Latex->Pdf is guided to the correct path, but then again, I have been able to generate all day so I would be strange otherwise.
I get the folowing pop up:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Cannot Execute the Command.
I Hope you guys can help me,
Lonnie
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Can't generate pdf file
I have also run into this problem occasionally. I find that simply
exiting and restarting TeXnicCenter solves the problem. (I experienced
this problem on a Windows XP machine. It doesn't happen very often,
but invariably, restarting helps. There are other posts about this,
I think.) I have never taken the time to try and narrow down the
exact problem.
Please post back whether this helps for you.
exiting and restarting TeXnicCenter solves the problem. (I experienced
this problem on a Windows XP machine. It doesn't happen very often,
but invariably, restarting helps. There are other posts about this,
I think.) I have never taken the time to try and narrow down the
exact problem.
Please post back whether this helps for you.
Re: Can't generate pdf file
Hi, thanks for the reply, I tried closing down TeXnicCenter yesterday too since that often solves these strange problems but it didn't work. I have tried searchin the net for answers, but the error seems to be experienced by people who have downloaded a new version of acrobat, miktex or texniccenter and therefore have changed the pdf-path.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Can't generate pdf file
Check the settings of the concerned build profile, especially those for the viewer. Presumably the path is wrong.La82 wrote:[…] I have tried searchin the net for answers, but the error seems to be experienced by people who have downloaded a new version of acrobat, miktex or texniccenter and therefore have changed the pdf-path.
I think the PDF output is created very well. Move to the folder where you have your source file and see if you can find the resulting PDF file.
Best regards
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
Re: Can't generate pdf file
Hi Thorsten,
The path to the viewers are all correct, but wouldn't it also have been strange that they should have gone "bad" all of a sudden when I havn't downloaded any updates of any kinds?
I checked the folder where my latex files are lying and no pdf is generated at all.
Lonnie
The path to the viewers are all correct, but wouldn't it also have been strange that they should have gone "bad" all of a sudden when I havn't downloaded any updates of any kinds?
I checked the folder where my latex files are lying and no pdf is generated at all.
Lonnie
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Can't generate pdf file
So there must be a hint in the log file. Prepare a short but full example and attach it to your next post together with the log file.La82 wrote:[…] I checked the folder where my latex files are lying and no pdf is generated at all. […]
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: Can't generate pdf file
Hi Thorsten,
I don't know what is important, so I'm sending you the entire log, I hope it is ok.
Lonnie
I don't know what is important, so I'm sending you the entire log, I hope it is ok.
Lonnie
- Attachments
-
- template-of-report.log
- (39.49 KiB) Downloaded 614 times
Re: Can't generate pdf file
Just wanted to add that I looked at the log and tried taking out the \input{VaeksthusEks} since the log said it didn't excist but this didn't help either.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Can't generate pdf file
I think the last lines of the log file say it all.La82 wrote:The compiler shows no errors […]
Code: Select all
LaTeX Warning: File `Figurer/Inf12G.png' not found on input line 24.
!pdfTeX error: (file Figurer/Inf12G.png): cannot find image file
==> Fatal error occurred, no output PDF file produced!
Code: Select all
LaTeX Font Warning: Command \normalsize invalid in math mode on input line 75.
LaTeX Font Warning: Command \normalsize invalid in math mode on input line 75.
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: Can't generate pdf file
Hi Thorsten,
I have been reading the wrong log file, but as you said it was rather straight foreward. Thanx alot for the help, it runs like a charm now.
Lonnie
I have been reading the wrong log file, but as you said it was rather straight foreward. Thanx alot for the help, it runs like a charm now.
Lonnie