auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forward and inverse search integration with latex-preview-pane.


From: Arash Esbati
Subject: Re: Forward and inverse search integration with latex-preview-pane.
Date: Mon, 05 Jul 2021 13:26:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hongyi Zhao <hongyi.zhao@gmail.com> 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?  This might be a typo in the manual.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]