[Tex/LaTex] TeXnicCenter & Adobe Reader DC

adobepdftexniccenter

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.

error TeXnicCenter

If there are any related post, could help. Thanks a lot!

Best Answer

Latest Update (March 24, 2022)

The installer of Adobe Acrobat Reader DC comes only with one version which is 32-bit.

Note: If you install it on Windows 64-bit, the next automatic update of Adobe Acrobat will change it from 32-bit to 64-bit.

The path and setting for each version are given as follows.

  • Adobe Acrobat Reader DC 32-bit version 2022.001.20085:

    enter image description here

  • Adobe Acrobat Reader DC 64-bit version 2022.001.20085:

    enter image description here

The following is out of date and must be ignored.


Can be solved by proper setting in TeXnicCenter:

  1. Go to menu: "Build"-> "Define Output Profiles."
  2. choose profile "LateX to PDF".
  3. Switch to "Viewer" tab
  4. Set-up parameters:

"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

enter image description here