GeneralAcrobat DDE commands for Latex=>PS=>PDF profile

General information and discussion about TeXnicCenter
Post Reply
agestrada
Posts: 6
Joined: Sat Aug 02, 2008 12:57 pm

Acrobat DDE commands for Latex=>PS=>PDF profile

Post by agestrada »

Hello,
I'm trying to use this DDE command configuration:

Code: Select all

view project's output:  [v] DDE command.
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][MenuitemExecute("GoBack")]
server: acroview
topic: control
forward search: [v] DDE command.
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][MenuitemExecute("GoBack")]
server: acroview
topic: control
Close document before running (La)TeX: [v] DDE command
command: [DocClose("%bm.pdf")]
server: acroview
topic: control
But they only work with the Latex=>PDF output profile. When I use Latex=>PS=>PDF profile I get a "cannot execute command" error for this commands:

Code: Select all

[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
I would like to use this profile because I'm using \psfrag for the figures. Any idea how can I solve this?... I 've tried SumatraPDF but it also gives error for the same profile.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Acrobat DDE commands for Latex=>PS=>PDF profile

Post by localghost »

Seems to me that you have forgotten to adapt the path for the Adobe Reader. Probably you did a mistake during adaptation. You have to check very carefully all settings for that profile.


Best regards
Thorsten¹
agestrada
Posts: 6
Joined: Sat Aug 02, 2008 12:57 pm

Acrobat DDE commands for Latex=>PS=>PDF profile

Post by agestrada »

Hello,

I think that my path to Acrobat Reader is ok:

Code: Select all

C:\ARCHIVOS DE PROGRAMA\ADOBE\ACROBAT 6.0\ACROBAT\ACROBAT.EXE
Actually, it works fine if I don't try to use DDE commands, and it's the same profile that I was using until now to compile. But when I try to use the DDE commands they don't work. If I use them with LATEX=>PDF they work as expected.

Thanks,
ego533
Posts: 10
Joined: Fri Aug 15, 2008 8:00 pm

Re: Acrobat DDE commands for Latex=>PS=>PDF profile

Post by ego533 »

Under the postprocessor tab of the build profile, what postprocessors are listed?
mecatuls
Posts: 17
Joined: Thu Jun 26, 2008 9:41 am

Re: Acrobat DDE commands for Latex=>PS=>PDF profile

Post by mecatuls »

Thanks for the commands, I was looking for these dde commands to work with latex=>pdf so that i can run latex with pdf file opening from last location. Thanks.
agestrada
Posts: 6
Joined: Sat Aug 02, 2008 12:57 pm

Re: Acrobat DDE commands for Latex=>PS=>PDF profile

Post by agestrada »

Under postprocessor tab I have the following postprocessors listed:

Dvips (PDF)
Ghostscript (ps2pdf)
jefravargas
Posts: 1
Joined: Tue Oct 27, 2009 6:56 pm

Re: Acrobat DDE commands for Latex=>PS=>PDF profile

Post by jefravargas »

Here is the solution. It works for Latex=>Ps=>PDF.
In acrobat 8, Menu 'Edit - preferences', and in section 'Documents', uncheck option 'Show each document in its own Window'. Now, check next option in the list. Restart acrobat and it is done!!!.
Post Reply