>>> "AH" == Al Haji-Ali <abdo.haji....@gmail.com> writes:
> On 28/08/2025, Uwe Brauer wrote: >> Well everything works fine, till the moment I add the new environment >> \begin{equation*} >> \int f dx=0 >> \end{equation*} >> >> This will then *not* displayed via preview, I have to run C-c C-p C-p >> again. >> >> BTW, may be the after-save-hook would be a better choice? > I've made a small modification to auto-preview on point change when a > preview does not already exist. This should also makes it unnecessary > to preview the file on a hook, as Arash's suggested. Ok I just pulled and compiled, a small error/warning Compiling file /home/oub/ALLES/src/preview-point/buframe.el at Thu Aug 28 10:22:21 2025 In buframe-position-right-of-overlay: buframe.el:136:17: Warning: Unused lexical variable `y-mid' Now to the functionality good and bad news, I open a latex file, automatically the previews are generated, then I add \begin{equation} \label{eq:1} \end{equation} And already the number (1) is displayed, but if I now add say \int f dx=0 Which results in \begin{equation} \label{eq:1} \int f dx=0 \end{equation} *This actualisation* is *not* displayed via preview. -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel Stop the war in Gaza, guarantee humanitarian aid, and bring the hostages back I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.
smime.p7s
Description: S/MIME cryptographic signature