64

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!

Walter Silva
  • 743
  • 1
  • 6
  • 5
  • Check this http://tex.stackexchange.com/questions/43864/texniccenter-adobe-acrobat-10 – R. Schumacher Jun 16 '15 at 00:42
  • 1
    My impression is that http://tex.stackexchange.com/questions/43864/texniccenter-adobe-acrobat-10 does not help for Adobe Reader DC. I read it, but I still have the same problem as asked. – Bodo Manthey Jun 16 '15 at 07:37
  • 2
    Indeed, this post does not help for Adobe Reader DC. My solution was to download another version of adobe reader, we can choose this link: http://get.adobe.com/uk/reader/otherversions/. The version XI worked well in TexNicCenter. – Walter Silva Jun 20 '15 at 18:03
  • Does your output open directly in the Adobe reader now? Or does the Adobe reader open after compiling? – Abhimanyu Arora Mar 06 '16 at 15:28
  • I guess the 2019 version is out. – Matsmath Oct 04 '18 at 09:19

6 Answers6

87

The newest trailing number for 2024 update is either acroviewA24 or acroviewR24.

The screenshots below still uses the old trailing number and it no longer works.


This can be solved by using proper settings 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\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

  • Adobe Acrobat Reader DC 64-bit version 2022.001.20085:

enter image description here

  • Adobe Acrobat Reader DC 32-bit version 2022.001.20085:

enter image description here

D G
  • 342
28

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.

enter image description here

u17
  • 4,976
  • I've edited his answer, I think that's more useful for other people than another answer with less votes. – domotorp Apr 25 '17 at 08:59
7

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.

enter image description here

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

  • 2018, set all your Server parameters to acroviewR18,
  • 2017, set all your Server parameters to acroviewR17,
  • 2015, set all your Server parameters to acroviewR15.

Reference for all future versions of Adobe Acrobat Reader DC.

enter image description here

Frenzy Li
  • 283
5

We're now in 2020, so the version is 20!

enter image description here

2

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).

Quba
  • 31
  • 2
    Welcome to TeX.SX! Can you supplement your answer with some information about where to type that code? – egreg Jul 01 '15 at 07:30
  • @egreg: How to open output as pdf directly? Should I need to make some changes in settings of my pdf reader? Right now, only the reader opens, not the document as pdf (which would be more convenient) – Abhimanyu Arora Mar 06 '16 at 15:18
0

Reader Config 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.

Edy Jo
  • 841