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!
This can be solved by using proper settings in TeXnicCenter:
"Executable path" should be something like (check, where have you installed Adobe Reader):
C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe
or if you have the 32-bit version:
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe
Note: If you install the 32-bit version on Windows 64-bit, the next automatic update of Adobe Acrobat may change it from 32-bit to 64-bit.
Parameters: "Command", "Server" and "Topic" appears three-times on settings page - be sure to change ALL three appearences correctly.
"Server" parameter takes the form
acroview<Letter><YY>
Where <YY>
should be the last two digits of the year in the Adobe
Acrobat version (which can be found under Help -> About Adobe Arobat Reader
in Adobe Reader), for version 2023.x.x
this is 23
, and <Letter>
is a single letter which is R
for the 32-bit version and A
for the 64-bit version.
So for the 64-bit version 2022.001.20085 it would be:
acroviewA22
For the 32-bit version 2021.007.20099 it would be:
acroviewR21
"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 you can just check following examples
acroviewR17
.
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
.
Nov 16, 2017 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.