There are now several unresolved threads regarding the widely experienced problem that TexnicCenter has with viewing PDF documents. The following error message has become infamous:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command.
One can find various hacks and workarounds on the web, but of all places, THIS is the place that we should find a definitive solution to this outstanding problem. And all we get from the Site Moderators are snarky responses like "check the log file" or "try a different editor". This is unacceptable. You guys- localghost and Stefan_K- are the TexnicCenter experts, and we desperately need a solution. Please, address this persistent problem once and for all!
General ⇒ PDF Problems Persist
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
PDF Problems Persist
There are various reasons why this error message could appear, such as
So, perhaps you could show the information to the questions above in your case.
Stefan
- incorrect configuration
- incorrect file path or executable name
- DDE problems with the Acrobat Reader in some versions, for example: Adobe Reader 10 and viewing error
- MiKTeX and TeXnicCenter compatibility, see MiKTeX 2.9 Known Issues. Known symptoms are: the log file abruptly ends, or "GUI framework cannot be initialized" is displayed.
- Errors in the LaTeX document, no PDF produced, so it cannot be opened.
- Do you get any errors? If you cannot see an error, provide the .log file, which contains the errors, warnings and additional information. Or it shows the above mentioned symptom of abruptly ending, being incomplete.
- Which PDF reader do you use? And which version of it? (Adobe Reader 9.x, Adobe Reader X, ... ?
- Did it work to change the "Installating missing packages on the fly" option in the MiKTeX option, regarding the known MiKTeX issues?
- Which is your output profile configuration?
So, perhaps you could show the information to the questions above in your case.
Stefan
LaTeX.org admin
Re: PDF Problems Persist
Here is the solution, which I found with a little searching:
Under "Build\Define Output Profiles..." choose the "Viewer" tab. In the three sections, select the "DDE command" radio button, and in the "Server:" box change the contents to "acroviewR10" (without the quotes). Hit "OK" and problem solved.
This is ONLY if you are using Abobe Reader X to view your output. Apparently Adobe made some changes without regard for the impact on their users.
Under "Build\Define Output Profiles..." choose the "Viewer" tab. In the three sections, select the "DDE command" radio button, and in the "Server:" box change the contents to "acroviewR10" (without the quotes). Hit "OK" and problem solved.
This is ONLY if you are using Abobe Reader X to view your output. Apparently Adobe made some changes without regard for the impact on their users.
PDF Problems Persist
Hi
You can also try the simple solution I proposed here : TeXnicCenter doesn't open Adobe Reader X. It works perfectly.
Cheers
You can also try the simple solution I proposed here : TeXnicCenter doesn't open Adobe Reader X. It works perfectly.
Cheers
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
PDF Problems Persist
LaTeX.org admin