Hi! I'd love to have the simple option to automatically close the current pdf document (opened in an external viewer --> adobe) before compiling. All that in a single button. Hence the compile & view button should be able to:
1. close the current document/external viewer
2. compile --> pdflatex
3. open the new document
all in one button.
There seem to be possibillities for that (manual 4.9) but they are almost not explained and after two hours of trying also not working at all.
Hence my request: Please add the option of automatic closing befor compiling or explain how to implement it in the manual
Thank you very much!!!!!!!
Anonymous
First, it seems that Adobe has changed it's DDE API and the service now contains the version number. So for Adobe Reader 11, use
acroviewR11
instead ofacroview
for the service name.To get your desired functionality:
1. Create a user command for closing Adobe Reader:
name:
close-adobe:Close Reader
command:dde:///acroviewR11/control/[DocOpen("?am.pdf")][FileOpen("?am.pdf")][DocClose("?am.pdf")]
txs:///close-adobe | txs:///pdflatex | txs:///view-pdf
Last edit: Tim Hoffmann 2014-02-17
Documentation updated (hg 4277 (e8a24cb18587)).
Btw. is there any special reason that you don't want to use the internal viewer? It has much better syncing between source and PDF than external viewers.
Last edit: Tim Hoffmann 2014-02-17