Saturday, March 04, 2017

Set up Adobe PDF viewer in TeXnicCenter

After long time without using TeXnicCenter, suddenly found out the PDF viewer does not work any more. It seems that every time when Adobe updates their PDF reader, there are settings that need to be changed in TeXnicCenter.

The first step is to disable "Enable Protected Mode at startup" in the Adobe PDF viewer (Edit>Preferences>General or  Edit -> Preferences -> Security(Enhanced), depends on the version). The change the settings in TexnicCenter.

Basically in the Viewer settings there are four sections that need to be changed. The Executable Path should point to the location where the PDF viewer is . The table below summaries the other settings.



Version
View project's output and  Forward search
Close document before running (La)TeX
X
Select DDE command and the command is
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: arcroviewR10    Topic: Control
The server above is for Adobe Reader.
For Adobe Acrobat Pro, use arcroviewA10.
Select DDE command and the command is
[DocClose("%bm.pdf")]
Server: arcroviewR10    Topic: Control
The server above is for Adobe Reader.
For Adobe Acrobat Pro, use arcroviewA10.
If the command does not work, use [AppExit]
Instead.
XI
Choose Command line argument and type in "%bm.pdf"
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.
DC
Use the setting for X or XI. The Server is arcroviewR15 for reader and arcroviewA 15 for Acrobat Pro.   
Use the setting for X or XI. The Server is arcroviewR15 for reader and arcroviewA 15 for Acrobat Pro.   





No comments:

Post a Comment