Re: [DISCUSSION] Automatically setting unicode fonts in latex export

2025-04-02 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> I doubt that it will be a trivial enough fix for bugfix branch, but I >> agree that such message (or warning) would be nice to have. >> > > What about > ("^!.+Unicode character" . "[unicode character(s) not supported by > pdflatex. Set org-latex-compil

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Ihor Radchenko
Karthik Chikmagalur writes: > 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

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Pedro Andres Aranda Gutierrez
Hi. My context: ever since I started with my PhD Thesis some 15 years ago, I have been using LaTeX. I got into org-mode when I had to prepare a couple of interactive presentations to help people understand Python. Changing code and executing on the fly was the killer app for me. I use utf8, so I

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Pedro Andres Aranda Gutierrez
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) L

Re: [BUG] queuing many org babel async blocks at once blocks emacs

2025-04-02 Thread Elle Najt
Exciting! Thanks! On Wed, Apr 2, 2025, 3:20 PM Karthik Chikmagalur < karthikchikmaga...@gmail.com> wrote: > > I recall Tecosaur was working on a queue(?) implementation of async > processing a year or so ago. However, I don't recall where the broader > discussion on implementation left off. It

Re: Last line LaTeX environments fontified incorrectly

2025-04-02 Thread Karthik Chikmagalur
> But that was 2 years ago. :) I am hoping to merge it in the next couple of months.

Re: Last line LaTeX environments fontified incorrectly

2025-04-02 Thread Rudolf Adamkovič
Karthik Chikmagalur writes: > https://youtu.be/n-AfvuV-bYo?t=182 But that was 2 years ago. :) Rudy -- "I love deadlines. I love the whooshing noise they make as they go by." --- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovič [he/him] http://adamkovic.org

Re: [BUG] queuing many org babel async blocks at once blocks emacs

2025-04-02 Thread Karthik Chikmagalur
> I recall Tecosaur was working on a queue(?) implementation of async > processing a year or so ago. However, I don't recall where the broader > discussion on implementation left off. It looks like they're maybe still > working on it? > https://code.tecosaur.net/tec/org-mode/commits/branch/d

Re: [BUG] queuing many org babel async blocks at once blocks emacs

2025-04-02 Thread Matt
On Tue, 01 Apr 2025 00:52:25 +0200 Elle Najt wrote --- > When executing many (~100) Python or (~1000) bash source blocks > asynchronously in an org file, Emacs becomes unresponsive. This occurs > with vanilla Emacs -Q. > > It's unclear if this is a *bug* per say -- but it is a perf

Re: [DISCUSSION] Automatically setting unicode fonts in latex export

2025-04-02 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Actually, what I would do after looking around is > * short term (even as a bug fix in 9.7): modifying the error message and > say that unsupported Unicode characters can only be dealt with in XETEX or > LUALATEX. I doubt that it will be a trivial enough f

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Leo Butler
Karthik, thanks for the email, including those screencasts. You are right, lualatex is too slow for use in generating previews. Do you have any ideas about how we could improve the handling of utf-8 without sacrificing the speed of the preview system? Leo On Wed, Apr 02 2025, Pedro Andres Aranda

Re: [DISCUSSION] Automatically setting unicode fonts in latex export

2025-04-02 Thread Pedro Andres Aranda Gutierrez
Hi again Actually, what I would do after looking around is * short term (even as a bug fix in 9.7): modifying the error message and say that unsupported Unicode characters can only be dealt with in XETEX or LUALATEX. * Long term as a new feature in 9.8: introducing two custom variables, one to enab

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Pedro Andres Aranda Gutierrez
Thanks for the complete explanation. This is an argument with real weight and I fully understand. That lualatex is slower to start up is something even the overleaf.com people are struggling with. So we have to live with weak UTF.8 support w/preview versus good UTF-8 support with slw preview (

Re: Last line LaTeX environments fontified incorrectly

2025-04-02 Thread Karthik Chikmagalur
> I have one more question, while I have you. :) Could LaTeX SVG previews > be drawn with transparent background on top of the block background? > Please see the attached screenshot to see what I mean. This is handled in the upcoming LaTeX preview feature rewrite, where svg previews are adapted to

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Stefan Nobis
"Rohit Patnaik" writes: > I just tried to compile a relatively simple LaTeX file using `luatex' > on my Fedora Linux machine with the `texlive-full' package installed. If you realled called 'luatex' than that might be the problem. You have to run 'lualatex' to compile a LaTeX document. Other po

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Leo Butler
I generally agree with Pedro about making lualatex the default. Personally, I moved to it several years ago because of the weak, and unstable, support for unicode in pdflatex. Note that Juan Manuel Macías posted here the following quote from Joseph Wright [1]: >> The time to move to LuaTeX for ne

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Rohit Patnaik
I'm against moving to `luatex' as the default compiler. I'm decently familiar with LaTeX, having used it to write papers and even my resume. I just tried to compile a relatively simple LaTeX file using `luatex' on my Fedora Linux machine with the `texlive-full' package installed. I got a bunch o

Re: Sorting a TODO agenda across multiple files

2025-04-02 Thread Kuba Orlik
It turns out that the timestamp-down sorting function ignores the hours/minutes in the timestamp and only looks at the date. It took me a lot of time to figure that out! Do you think it'd be good to add this information to the documentation? Currently docs for tsia-down only says "Sort by inac

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Pedro Andres Aranda Gutierrez
To add an argument to moving forward to lualatex: https://github.com/max-heller/mdbook-pandoc/issues/94 Cheers, /PA > El 2 abr 2025, a las 8:17, Pedro Andres Aranda Gutierrez > escribió: > > Let’s start the discussion. We need feedback