On Mon, Jul 5, 2021 at 7:27 PM Arash Esbati <[email protected]> wrote: > > Hongyi Zhao <[email protected]> writes: > > > I tried the following configuration: > > > > ;; Update PDF buffers after successful LaTeX runs > > (add-hook 'TeX-after-compilation-finished-hook > > #'TeX-revert-document-buffer) > > > > But it seems that only after I switched to or put the cursor in the > > pdf-tools' buffer/window, the updated content will be seen in the pdf > > file. I mean, when I stay in the tex source buffer/window, even the > > generated pdf file has been updated, I still won't see this update. > > Can you please try: > > (add-hook 'TeX-after-compilation-finished-functions > #'TeX-revert-document-buffer) > > and report back if it works?
The problem described above still exists. > This might be a typo in the manual. Yes. `M-x describe-symbol RET` can only find `TeX-after-compilation-finished-functions'. > > Best, Arash Regards, HY -- Assoc. Prof. Hongyi Zhao <[email protected]> Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China
