Re: [PATCH v2] Fix background color of latex previews

2024-01-09 Thread Roshan Shariff
Hi Timothy, On Mon, 8 Jan 2024 at 03:24, Timothy wrote: > Thanks for this info and the patch! I've had a look at both, and I'm hopeful > that https://git.tecosaur.net/tec/org-mode/commit/3b3d48d3bf0 might solve the > problem? Do let me know what your think 🙂 Thanks for your prompt bugfix! I ca

Re: [PATCH v2] Fix background color of latex previews

2024-01-08 Thread Timothy
Hi Roshin, > Thanks again for your work on this exciting feature! I tried out your > new code and it does indeed fix the problem on Emacs 29. But then I > remembered that I originally encountered the issue on Emacs 28, and > sure enough the issue persists there. > > To summarize, to get it to look

Re: [PATCH v2] Fix background color of latex previews

2024-01-06 Thread Timothy
Hi Roshan, > This change addresses two issues: > > 1. Latex previews in headings have the background color of the > fontified Latex code, rather than the rest of the heading. > > 2. If Latex code is fontified with a face that has the :extend > attribute, and the preview overlay wraps to the next l

[PATCH v2] Fix background color of latex previews

2023-08-29 Thread Roshan Shariff
This change addresses two issues: 1. Latex previews in headings have the background color of the fontified Latex code, rather than the rest of the heading. 2. If Latex code is fontified with a face that has the :extend attribute, and the preview overlay wraps to the next line, then the empty spac