How to configure TeXnicCenter to work with Adobe Reader DC? When I building and view current file .tex the following error "Can not execute the command" shows up and the PDF is not generated.
If there are any related post, could help. Thanks a lot!
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityHow to configure TeXnicCenter to work with Adobe Reader DC? When I building and view current file .tex the following error "Can not execute the command" shows up and the PDF is not generated.
If there are any related post, could help. Thanks a lot!
Can be solved by proper setting in TeXnicCenter:
"Executable path" should be something like (check, where have you installed Adobe Reader):
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe
Parameters: "Command", "Server" and "Topic" appears three-times on settings page - be sure to change ALL three appearence correctly.
"Server" parameter should be always:
acroviewR17
(For the earlier version of Adobe, it should be acroviewR15. For later versions of Adobe, it should be acroviewR18).
"Topic" parameter should be always:
control
"Command" parameter should be twice:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Last instance of "Command" parameter (in "close document..." section) should be:
[DocClose("%bm.pdf")]
After setting everything, confirm "Profiles" dialog and it is done.
Or just check following snapshot of settings
acroviewR17
.
– st12
Apr 13 '17 at 18:58
2018.009.20044
and beyond, please change all "Server" parameter from acroviewR17
to acroviewR18
. Check your Adobe version using Help > About Adobe Acrobat Reader DC
.
– Frenzy Li
Nov 16 '17 at 23:29
With the (silent) April 2017 update to Acrobat Reader DC to version 2017.009.20044, the parameters in Jiří's answer don't work anymore. TeXnicCenter just stops responding when trying to view the output with F5.
To solve the problem, simply replace the server parameter from acroviewR15
to acroviewR17
like below.
The dialog can be accessed with Alt + F7. Read more about the new Acrobat Reader version number here.
To complement the answers by Jiří Chmelík and Frank Seifert.
Update: In October 2018, Adobe Acrobat Reader DC has been updated to 2019.008.20071. acroviewR19
should be used instead, if you have this or a newer version.
In November 2017, Adobe Acrobat Reader DC has been updated to 2018.009.20044. If you have this reader version (or any version starting with 2018), replace the server parameter from acroviewR15
or acroviewR17
to acroviewR18
as shown below. To access this dialogue box, press Alt+F7 in TeXnicCenter, select the "Latex => PDF" profile, then switch to the "Viewer" tab.
To check your reader version, open Adobe Acrobat Reader DC, under "Help" menu, click "About Adobe Acrobat Reader DC". If the version number begins with
acroviewR18
,acroviewR17
,acroviewR15
.Reference for all future versions of Adobe Acrobat Reader DC.
I had the same problem after Adobe Reader update, solved with:
Executable path = C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe
Server = acroviewR15
Topic = control
defined in Build -> Define Output Profiles... -> choose "LateX to PDF" -> Viewer tab (for TeXnicCenter).
If you use Adobe Reader XI version 11.0.23 (updated June 23, 2018), this trick will work: https://nw360.blogspot.com/2017/03/set-up-pdf-viewer-in-texniccenter.html
View project's output and Forward search: Choose Command line argument and type in "%bm.pdf"
Close document before running (La)TeX: Select DDE command and the command is [AppExit]
Server: arcroviewR11
Topic: Control
The server above is for Adobe Reader. For Adobe Acrobat Pro, use arcroviewA11.