GeneralA problem with TeXnicCenter 2

General information and discussion about TeXnicCenter
Post Reply
Msonic
Posts: 5
Joined: Sun Apr 15, 2012 12:11 am

A problem with TeXnicCenter 2

Post by Msonic »

My TeXnicCenter 2 has a problem. I use Adobe Reader X, and I can run successfully when choosing "LaTeX => PDF", but if I run it second time, I will get error message:
pdflatex> ! I can't write on file `XXX.pdf'
pdflatex> ! Emergency stop.
pdflatex> ! ==> Fatal error occurred, no output PDF file produced!

However, after closing the pdf, I can successfully run it again. My setting is as follow:
TeXnicCenter settings
TeXnicCenter settings
settings.jpg (67.4 KiB) Viewed 6150 times
Would anyone tell me what's wrong with it?
Last edited by Stefan Kottwitz on Thu Apr 26, 2012 9:24 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

A problem with TeXnicCenter 2

Post by Stefan Kottwitz »

This is not a problem of TeXnicCenter. It's caused by the Adobe Reader, which blocks the access to a file when it has it opened. Use a different reader, such as Sumatra PDF, or configure TeXnicCenter to force the Adobe Reader to close it before compiling, such as here: Problem with Adobe Reader 8.0. There are further problems with the Adobe Reader X - just use the foum search for problems and solutions.

Why do you work with the big and slow Adobe Reader? I would use a quick slim reader such as Sumatra PDF for writing and developing. To check the final result for compatibility, I would use the Adobe Reader finally, as I know that many people use that one.

Stefan
LaTeX.org admin
Msonic
Posts: 5
Joined: Sun Apr 15, 2012 12:11 am

A problem with TeXnicCenter 2

Post by Msonic »

Stefan_K wrote:This is not a problem of TeXnicCenter. It's caused by the Adobe Reader, which blocks the access to a file when it has it opened. Use a different reader, such as Sumatra PDF, or configure TeXnicCenter to force the Adobe Reader to close it before compiling, such as here: Problem with Adobe Reader 8.0. There are further problems with the Adobe Reader X - just use the foum search for problems and solutions.

Why do you work with the big and slow Adobe Reader? I would use a quick slim reader such as Sumatra PDF for writing and developing. To check the final result for compatibility, I would use the Adobe Reader finally, as I know that many people use that one.

Stefan

Thank you! I am trying to turn to Sumatra now!
Post Reply