So we are torn between two equally potent arguments. If you want/need latex-preview, forget about lualatex, but then restrict yourself to character sets it handles and forget about fancy utf8 support. If you want/need utf8 support, forget about latex-preview and compilation speed (at least FTMB)
Let's hope that the developers focusing on lualatex produces the speed improvement we need for lualatex to be a reasonable backend for latex-preview. Best, /PA On Wed, 2 Apr 2025 at 21:04, Karthik Chikmagalur < karthikchikmaga...@gmail.com> wrote: > > Do you have any ideas about how we could improve the handling of utf-8 > > without sacrificing the speed of the preview system? > > I'm afraid this is beyond my understanding. We'd have to approach David > Carlisle or others with the problem and work on improving mylatexformat, > or help develop a new intermediate format for speeding up lualatex > compilation. Since it affects many organizations -- including Overleaf, > apparently -- perhaps someone is working on it already. > > For org-latex-preview, one of the other things we tried was to keep all > utf-8 font-related settings out of the header that is precompiled. If > we manage this precompilation can work (somewhat unreliably) with > lualatex, and previews are a bit faster. But doing this via string > matching is difficult and fragile. And even with precompilation, > lualatex has a slow startup time, and we are some distance away from < 1 > sec preview updates. > > Karthik > > > > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Sagen's Paradeiser, write BE! Year 1 of the New Koprocracy