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

2025-04-01 Thread Pedro Andres Aranda Gutierrez
Let’s start the discussion. We need feedback on this. Pros and Contras of moving on to using lualatex as default compiler. >> BTW, what about changing the default LaTeX compiler to lualatex in 9.8? > > I doubt that it is a good idea. > Mainly because we can break documents that were working in

[DISCUSSION] Automatically setting unicode fonts in latex export

2025-04-01 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> My main idea is making export work "by default" for more users. >> Without having to set defcustoms. So, I'd prefer detecting non-ascii to >> be done, if possible. > > I would at least give control over generating or not any header and then > hard-code a r

Re: Last line LaTeX environments fontified incorrectly

2025-04-01 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: >> Fixed. > > Thank you, Ihor! 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. Rudy -- "Be especially critical of any sta

Re: Feature discussion: Search field and local search engine

2025-04-01 Thread Sébastien Gendre
About how to be independent of the search engine. I think of 2 solutions. # Solution 1 After looking at Pagefind, I was thinking of taking inspiration from "org-export-define-backend". Creating a function named like "org-html-define-search-engine" and that will have as parameters: - A search e

Re: Last line LaTeX environments fontified incorrectly

2025-04-01 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Fixed. Thank you, Ihor! Rudy -- "We shall not cease from exploration And the end of all our exploring Will be to arrive where we started And know the place for the first time" --- T. S. Eliot, Little Gidding, Four Quarters, 1943 Rudolf Adamkovič [he/him] http://ad

Re: Last line LaTeX environments fontified incorrectly

2025-04-01 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> May you try the attached patch? > > Ihor, you are a magician. It works. Org has never looked better! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ada33a652e Fixed. -- Ihor Radchenko // yantar92, Or

Sorting a TODO agenda across multiple files

2025-04-01 Thread Kuba Orlik
I'm having trouble sorting my agenda view. I want to display entries from multiple files, sorted only by the inactive timestamp for each entry, in reverse chronological order. This is my config for agenda entries: (("n" "Agenda and all TODOs" ((agenda #1="" nil) (alltodo #1# nil))   nil)  ("i"

Re: Feature discussion: Search field and local search engine

2025-04-01 Thread Ihor Radchenko
Sébastien Gendre writes: > Ok, I have some free time for the next weeks. > > To summary, and to refresh my memory: > ... > > Did I miss something ? Everything looks right. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org devel

Re: Re

2025-04-01 Thread Pedro Andres Aranda Gutierrez
HI again. me again. I have continued looking at this. For pdflatex, we need to use \usepackage{} and select font packages that don't need extra parameters. Lualatex and Xetex go by the \setmain{}... I don't know if we want to provide font sets for both.. WDYT? On Tue, 1 Apr 2025 at 07:34, Pedro A

Re: Re

2025-04-01 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> For example, we can make the above 3 fonts defcustoms with default >> values of 'auto. Then, if we detect non-ascii characters in latex >> export, we can auto-detect fonts (from some pre-populated constant list) >> and raise a warning message while proceed

Re: Re

2025-04-01 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > me again. I have continued looking at this. > For pdflatex, we need to use \usepackage{} and select font packages that > don't need extra parameters. > Lualatex and Xetex go by the \setmain{}... > I don't know if we want to provide font sets for both.. > WD

Re: Feature discussion: Search field and local search engine

2025-04-01 Thread Sébastien Gendre
Ok, I have some free time for the next weeks. To summary, and to refresh my memory: - I make a list of potential search engine - Found what they have in common - Design an API to define a new search engine on Org-mode side - Design an API to enable and choose the search engine in an org-publ

Re: [PATCH] Improved mode line clock truncation behavior

2025-04-01 Thread Rohit Patnaik
I have updated the docstring for org-clock-get-clock-string, which I'd forgotten to do in the previous version of the patch. Thanks, RohitFrom ba1662b116e8c0601c7f174d379005ac767f7f52 Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Tue, 18 Mar 2025 04:45:06 -0500 Subject: [PATCH] org-clock: Ma

time formats in org-timestamp-formats

2025-04-01 Thread Yue Yi
Hello Org-mode: I'm currently working on a modified HTML export backend and noticed that `org-timestamp-formats` is a constant that defines two timestamp formats—one without time and one with time (but only up to minutes): (defconst org-timestamp-formats '("%Y-%m-%d %a" . "%Y-%m-%d %a %H:%M") .