Hi Jim,
>>>>> Jim <[email protected]> writes:
> When I re-compile, in ConTeXt, the PDF is automatically refreshed, but this
> does not happen with plain TeX. I do see
> TeX: formatted {<n>} pages(s)
> but the PDF file is not updated.
[...]
> But other than those things, I'm not sure how to track this down.
> Can anyone either tell me what I am doing wrong, or suggest where I should
> look for problems?
Sorry for your confusion. Current AUCTeX takes care of
`TeX-after-compilation-finished-functions' for only LaTeX and ConTeXt
documents; in `TeX-LaTeX-sentinel' and `TeX-ConTeXt-sentinel' we look
at T-a-c-f-f, while we don't in `TeX-TeX-sentinel'.
(The documentation is wrong with respect to this point. :-( The doc
string of T-a-c-f-f says:
Hook being run after TeX/LaTeX/ConTeXt finished successfully.
^^^
and the info says:
-- Variable: TeX-after-compilation-finished-functions
Hook which is run after the TeX/LaTeX processor has successfully
^^^
)
We should add treatment for T-a-c-f-f, similar with LaTeX/ConTeXt, to
`TeX-TeX-sentinel' for plain TeX users enjoying pdf-tools.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopGenocide #CeasefireNOW