Problema texniccenter LaTeX => PDF
umhgamer
-
Issa -
Issa -
Hello,
I have a problem with converting a .tex file to pdf
I am using TexnicCenter
When I do build current files, everything is ok so my code must be fine
But when I click view output, it opens Acrobat but with nothing and I get the window:
An error occurred while opening this document. File not found. Then it closes and I get:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command
Thank you in advance for the help because I need to finish a project and I'm stuck because of a silly mistake
I have a problem with converting a .tex file to pdf
I am using TexnicCenter
When I do build current files, everything is ok so my code must be fine
But when I click view output, it opens Acrobat but with nothing and I get the window:
An error occurred while opening this document. File not found. Then it closes and I get:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command
Thank you in advance for the help because I need to finish a project and I'm stuck because of a silly mistake
Configuration: Windows Vista Internet Explorer 7.0
13 réponses
Hello,
I had the same problem. After smashing my head in front of the computer all day, I found the solution. If
your packages are installed and you see the following message in the execution window:
pdflatex.exe:GUI framework cannot be initialized
i couldn't open file name C:\........aux
you should follow these steps:
start----Miktex 2.8----maintenance----setting-----choose Yes or No (but not "Ask me first")
this solution is in the link:
http://www.miktex.org/2.8/issues
good luck.
I had the same problem. After smashing my head in front of the computer all day, I found the solution. If
your packages are installed and you see the following message in the execution window:
pdflatex.exe:GUI framework cannot be initialized
i couldn't open file name C:\........aux
you should follow these steps:
start----Miktex 2.8----maintenance----setting-----choose Yes or No (but not "Ask me first")
this solution is in the link:
http://www.miktex.org/2.8/issues
good luck.
For those who have the following error:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command
It is because the location of Adobe Reader is not correct.
You need to press Alt+F7 in TeXnicCenter. In profiles, select LaTeX => PDF, then go to the Viewer tab.
In the field "Path of executable", click on the 3 small dots next to it. In fact, the software has everything in uppercase, you need to choose the file AcroRd32.exe.
Example of a path: C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe
Generally, this is the one most commonly used.
Once this is set, no more error messages and you will be able to view your LaTeX documents!!!
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command
It is because the location of Adobe Reader is not correct.
You need to press Alt+F7 in TeXnicCenter. In profiles, select LaTeX => PDF, then go to the Viewer tab.
In the field "Path of executable", click on the 3 small dots next to it. In fact, the software has everything in uppercase, you need to choose the file AcroRd32.exe.
Example of a path: C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe
Generally, this is the one most commonly used.
Once this is set, no more error messages and you will be able to view your LaTeX documents!!!
For those who read this post and haven't solved their problem, I count myself among them. Here’s a recap of the symptoms:
- your LaTeX document compiles without errors
- you're trying to generate a PDF (LaTeX => PDF)
- you're using TeXnicCenter
- in the options (alt f7) your path to the AcroRd32.exe file is correct (notably it's not in uppercase), moreover when you click "view output," Adobe Reader opens but does nothing
- your error message is: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command.
Solution for me: Uninstall Adobe Reader X (which is a huge piece of crap by the way), go to https://www.oldapps.com/adobe_reader.php and download version 8.1.2. Set the correct path to the AcroRd32.exe file. This path for me is:
C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe
And then the miracle happens... at least for me :) hoping to have helped!
PS: and definitely don’t update Adobe Reader :)
- your LaTeX document compiles without errors
- you're trying to generate a PDF (LaTeX => PDF)
- you're using TeXnicCenter
- in the options (alt f7) your path to the AcroRd32.exe file is correct (notably it's not in uppercase), moreover when you click "view output," Adobe Reader opens but does nothing
- your error message is: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command.
Solution for me: Uninstall Adobe Reader X (which is a huge piece of crap by the way), go to https://www.oldapps.com/adobe_reader.php and download version 8.1.2. Set the correct path to the AcroRd32.exe file. This path for me is:
C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe
And then the miracle happens... at least for me :) hoping to have helped!
PS: and definitely don’t update Adobe Reader :)
For Acrobat Reader X, there is a small additional step to perform (apart from checking the path), described here:
http://www.agmonim.com/2010/12/texniccenter-and-adobe-reader-10-x/
I forgot to mention an important point: it seems that you have to disable the protected mode launch of Acrobat X Reader.
http://stackoverflow.com/questions/4998678/dde-control-texnic-center
http://www.agmonim.com/2010/12/texniccenter-and-adobe-reader-10-x/
I forgot to mention an important point: it seems that you have to disable the protected mode launch of Acrobat X Reader.
http://stackoverflow.com/questions/4998678/dde-control-texnic-center
I quote Abdel, but as this was a response to a response, there is little chance that this solution (which worked for me) will be very visible! I just want to bring it back up!
"
Hello,
For those who have this problem, I say it's not worth uninstalling Acrobat X, nor doing certain not very useful manipulations that I have seen in previous comments; all you need to do is go to the Outfile profile (Alt+F7); then go to the "Viewer" tab in DDE, you need to go to "server" (there are 3 at the top, in the middle, and at the bottom) and replace "acroview" with "acroviewR10". With a bit of luck, the problem is solved!
Abdel
"
"
Hello,
For those who have this problem, I say it's not worth uninstalling Acrobat X, nor doing certain not very useful manipulations that I have seen in previous comments; all you need to do is go to the Outfile profile (Alt+F7); then go to the "Viewer" tab in DDE, you need to go to "server" (there are 3 at the top, in the middle, and at the bottom) and replace "acroview" with "acroviewR10". With a bit of luck, the problem is solved!
Abdel
"
Hello,
I'm having the same problem... I tinkered with everything to get the PS to work, and now the PDF isn't working anymore.
Error:
- Adobe Reader: An error occurred while opening this document. File not found
- TexnicCenter: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command.
The .dvi and .pdf files are no longer being created.
I'm having the same problem... I tinkered with everything to get the PS to work, and now the PDF isn't working anymore.
Error:
- Adobe Reader: An error occurred while opening this document. File not found
- TexnicCenter: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] Cannot execute the command.
The .dvi and .pdf files are no longer being created.
Hello,
I have exactly the same issue as the one described by Umhgamer above... except that none of the proposed solutions solve my problem! Would you happen to know any other solutions to this problem?
I have exactly the same issue as the one described by Umhgamer above... except that none of the proposed solutions solve my problem! Would you happen to know any other solutions to this problem?
Thank you, yousseflag! It's effective.
I racked my brain trying to figure out if it was a compatibility issue with a 64-bit system.
Thank you!!
I racked my brain trying to figure out if it was a compatibility issue with a 64-bit system.
Thank you!!
Exactly the same problem,
on top of that, I uninstalled MikTeX and TeXnicCenter and reinstalled everything, but the problem persists!
on top of that, I uninstalled MikTeX and TeXnicCenter and reinstalled everything, but the problem persists!
Hello,
I had the same problem, but actually you need to choose the format you want (Latex => PDF) and then compile. Normally, it should work...
I hope I answered your question
Thomas
I had the same problem, but actually you need to choose the format you want (Latex => PDF) and then compile. Normally, it should work...
I hope I answered your question
Thomas
Hello,
For people who have this problem, I say there's no need to uninstall Acrobat X or to do certain not very useful manipulations that I've seen in the previous comments; all you need to do is go to the Outfile profile (Alt+F7); then in the "Viewer" tab under DDE, go to "server" (there are 3 at the top, in the middle, and at the bottom) and replace "acroview" with "acroviewR10". With a bit of luck, problem solved!
Abdel
For people who have this problem, I say there's no need to uninstall Acrobat X or to do certain not very useful manipulations that I've seen in the previous comments; all you need to do is go to the Outfile profile (Alt+F7); then in the "Viewer" tab under DDE, go to "server" (there are 3 at the top, in the middle, and at the bottom) and replace "acroview" with "acroviewR10". With a bit of luck, problem solved!
Abdel
In Texniccenter>Build>Define output profile, select the profile you are using (latex=>pdf).
Choose the "viewer" tab.
In this tab, besides the path to Adobe, you have three types of outputs, if for each the checked box is "DDE", then the only thing you need to change is the "server" for each of the three output types.
If it is noted as "acroview", change it to:
acroviewR10: if you only have the reader
acroviewA10: if you have the editor.
The details of this solution can be found at the address <a>href="http://forums.adobe.com/thread/754697?tstart=0"<a>
Or also on the blog <a>href="http://www.agmonim.com/2010/12/texniccenter-and-adobe-reader-10-x"<a>
start----Miktex 2.8----maintenance----setting-----choose Yes or No (but not "Ask me first")
I think it is during the installation of Miktex that these options can be set, but once installed, how can we revert to these settings?
Well explained, very effective :-)
Thank you.