WinEdt Editor and PDF files for Acrobat 11 Program Association
After the Ctex Suite 2.8 version, that is, September 09 later version joined the Sumatrapdf program, the PDF file with the Acrobat program was canceled, instead of the Sumatrapdf program display, that is, in the WinEdt Editor panel, click on the " Acrobat Reader button After using the Sumatrapdf program to open the associated PDF document, which may be related to the reasons for the copyright, there is not much to say.
We may still be accustomed to viewing and tagging PDF documents using the Acrobat program, so we'll show you how to reset program associations in the WinEdt editor.
For example, the Acrobat program is installed in "C:\Program Files\Adobe\Acrobat 7.0"
Open WinEdt Editor--"
Left-click on the menu bar "Options"
Left-click the "Execution Modes" option in the drop-down menu--"
In the pop-up window that appears, left-click on the Acrobat sub-panel--
Left click on the "PDF Viewer executable" option to the right folder icon, in the pop-up window to find your Acrobat program, click "Open". When finished, the display path is "C:\Program files\adobe\acrobat 7.0\acrobat\acrobat.exe".
Left click on the folder icon to the right of the "PDF Bin folder" option, locate your Acrobat Installer folder in the pop-up window and click "Open". When finished, the display path is C:\Program files\adobe\acrobat 7.0\acrobat.
"Auto-detect" in front of the box you can choose whether to hook, if the hook, choose a good Acrobat program Installed folder can self-detect PDF file Lookup program.
Finally, left click "OK".
The program path shown above may not be the same for the individual, the program is not necessarily the same, there are professional version/Standard version/reader version, etc., is only an example of the role!
After you click the Acrobat Reader button on the panel of the WinEdt editor, you open the associated PDF document with the Acrobat program.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/DDE ==============================================================
Ddeopen ("%(PDF? ) VIew)"," (′pdf?) view′) "," (' Acro-dde_service '); ","%(′ACRO?DDETop i C′) ; ") ; dd eo pe n (′ (′acro?) ddetopic′);D Deopen ("Acroread"), "AcroviewA11", "control";
Ifok (! " Relax; ",!" Ddeclose; JMP (' done ');
Ddeexe (' [Apphide ()] ');
As of Acrobat 8 Docopen must be do twice or else Adobe crashes!
Ddeexe (' [Docopen ("%p\%n.pdf")];
Ddeexe (' [Docopen ("%p\%n.pdf")];
Ddeexe (' [DocClose ("%p\%n.pdf")];
:D de_close:: ========================================================
Ddeexe (' [Apphide ()] ');
Ddeclose;
SetFocus;
ProcessMessages;
SetFocus;
Wait ();
The above is my successful modified Pdfclosedoc.edt, able to successfully compile and close the PDF document.
Modify files: Acrobat Opendoc-find.edt and Acrobat Closedoc.edt
For Reader X Use dde_servername = acroviewR10
For Acrobat X Use dde_servername = acroviewA10
For Acrobat XI Use dde_servername = acroviewA11
About winedit default solutions with Adobe one-way PDF open
Since Ctex upgraded to 2.8, it may have added sumatrapdf as a preview tool for Tex compilation because of copyright issues. But for some people, including me, or like the default PDF file compiled with Adobe PDF preview, has not been to find this problem, today for some special reasons, I want to solve the problem. Thanks to the powerful features of the network, the problem of the N-long has finally been solved. The specific modifications are as follows:
In the Winedit interface, select option--execution modes----acorbat, and in PDF executable, modify the path to the path of the Adobe PDF program installed in the system, similar to the following:
Then click Apply,ok to preview the compiled PDF file using Adobe series software.
However, there is still a problem, should be the PDF version upgrade to 10, the use of Pdflatex compile files, you can not automatically close the open preview of the PDF file, once opened, you will be prompted cannot open DDE link to ...?, as shown in http:// bbs.ctex.org/viewthread.php?tid=56625. In this case, only the Pdfclosedoc.edt file of the Tex folder needs to be modified, and the code changes slightly differently for Adobe Reader and Adobe Acrobat Professional. For users who use Adobe Reader, you can
One line in the Acrobat Closedoc.edt file (line 37th)
Ddeopen ('%$ ("Acroread") ', "Acroview", "control");
Switch
Ddeopen ('%$ ("Acroread") ', "AcroviewR10", "control");
Save again.
Users who use Adobe Acrobat Professional, you can
One line in the Acrobat Closedoc.edt file (line 37th)
Ddeopen ('%$ ("Acroread") ', "Acroview", "control");
Switch
Ddeopen ('%$ ("Acroread") ', "AcroviewA10", "control");
Save again.
The above modification method in Ctex 2.8.0.130/125 version, window7 32-bit operating system test pass. For a later revision, you can refer to the following link:
Http://blog.sina.com.cn/s/blog_546508490100ozfd.html
Http://blog.sina.com.cn/s/blog_4e5cd9320100q6o1.html
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Latex Learning record 3--let WinEdt close Adobe Reader
Adobe Reader is updated to Adobe Reader XI, and WinEdt cannot close an open PDF file each time Pdflatex compiles .
Ctex 2.8.0.125 will jump out of Acrobat Closedoc.edt file error. Workaround:
One line in the Acrobat Closedoc.edt file (line 37th)
Ddeopen ('%$ ("Acroread") ', "Acroview", "control");
Switch
Ddeopen ('%$ ("Acroread") ', "AcroviewR11", "control");
Save again.
Ctex 2.9.0.152 will jump out of the Pdfclosedoc.edt file error. Workaround:
Place a line in the Pdfclosedoc.edt file (line 58th)
Ddeopen ('%$ ("Pdf-view") ', "Acroview", "control");
Switch
Ddeopen ('%$ ("Pdf-view") ', "AcroviewR11", "control");
Save again.
(i.e. change Acroview to AcroviewR10)
In Ctex 2.9.0.152, do not minimize the Adobe window after each view of the PDF and switch directly to WinEdt to modify the compilation. Otherwise, the compilation will jump out of the Adobe window, blocking WinEdt.
Today (2012.3.8) found that if WinEdt is not associated with Adobe Reader, even the above changes will not help.
Reprint this article please contact the original person to obtain the authorization, at the same time please indicate this article from Panlin Science Net Blog.
Link Address:http://blog.sciencenet.cn/blog-111625-848545.html
Latex-winedt editor and PDF files are associated with Acrobat 11 programs