[pdftex] pdftex & AcroReader
kuzn at htsc.mephi.ru
Mon Feb 12 17:49:49 CET 2001
Dear pdftex users,
this problem has already been discussed several times in
mail-list, but its solution has only partly been obtained.
When one uses AcroReader as viewer under TeXing, he should close
document before translation (Ctrl + W) and reopen it after
translation (Ctrl + <-). It is helpful when TeX-editor does that.
We have found that for Windows, the following codes should be sent
to AacroReader to close and restore the last opened document:
wm_Command ($0111) with wParam=$E102 //to close
wm_Command ($0111) with wParam=$179D //to restore
For example, to operate AcroReader from WinEdt, the following macros
can be used.
SendMessage("Acrobat Reader", $0111, $E102, 0);
// This SendMessage produces "Close" command
//The last should be modified to run compilation in Your configuration
//to restore the previous view
// We open document window
// These SendMessage produces "Go Back" command to AcroReader
A.Kuznetsov and K.Klementev
More information about the pdftex