Re: Q: org-export-headline-levels doc problem?

2025-04-19 Thread Ihor Radchenko
David Masterson writes: > 1. docstring mentions inferior without defining inferior. I think a >natural mistake is to assume inferior is where the headline level is >less than org-export-headline-levels (ie. < 3) > 2. In "13.2 Export Setting", 'H' says "below that level" -- again where >

Re: Q: org-export-headline-levels doc problem?

2025-04-19 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> The documentation for 'org-export-headline-levels' seems problematic. I >> was going to suggest a patch, but thought I'd ask first. >> >> The problem is in the definition of 'level'. One could see a header >> with one '*' as "above" one wit

Re: Q: BEAMER automatically break a slide in 2 ?

2025-04-19 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> Sometimes, an Org entry is just too big to fit one Beamer slide, but it >> just feels right as one entry. Is there a way to automatically have big >> slides broken into more than one slide? > > This can be done with allowframebreaks option i

Re: Semantic Linking saves tedious work

2025-04-19 Thread Ihor Radchenko
Jean Louis writes: > Semantic Linking saves tedious work > > Here is video how it works: > https://www.youtube.com/watch?v=xk2VGnLYAkA > ... > Tools involved: Emacs Lisp functions, Python server for text chunking > and LLM Nomic Embed Text model. This is interesting. Is the source code available

Re: Code contribution to Org-mode and commits

2025-04-19 Thread Sébastien Gendre
Thank you for your reply. Ihor Radchenko writes: > Sébastien Gendre writes: > >> If I want to contribute some code to Org-mode, and send patch here, do >> you prefer: 1 commit per contribution (ex: 1 commit == 1 feature) or >> multiple commits per contribution ? > > As long as the contribution

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-04-19 Thread Sébastien Gendre
Hello, I have attached, to this e-mail, the corrected patch that include your requests. Ihor Radchenko writes: > This makes sense. > In fact, it may be a good idea to go through all the built-in backends > and provide OPTIONS/KEYWORD values for more export options. I could do that, at least f

Re: vsum in tables with a lot of hlines

2025-04-19 Thread Ihor Radchenko
Uwe Brauer writes: > Now, if I have even more hlines the notation @II becomes quite > cumbersome is there any alternative? Nope. Although it would be nice to have one. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org devel

Re: Q: BEAMER automatically break a slide in 2 ?

2025-04-19 Thread Ihor Radchenko
David Masterson writes: > Sometimes, an Org entry is just too big to fit one Beamer slide, but it > just feels right as one entry. Is there a way to automatically have big > slides broken into more than one slide? This can be done with allowframebreaks option in beamer frame environment. In Or

Re: [BUG] Unable to ignore sorting for sitemap generation

2025-04-19 Thread Ihor Radchenko
"Hai W." writes: > I have following org project configuration > ... > :sitemap-sort-files nil > ) > ``` > > I want to disable the sitemap sorting completely. > With such configuration, I got following error > > ``` > (wrong-type-argument listp ignore) > ``` Thanks for reporting

Accessing Sagemath interpreters from Org Babel

2025-04-19 Thread kevin lucas
I often use Sagemath within Org mode for my math notes, using the ob-sagemath package. Sage can provide an interface to many underlying interpreters, like GAP or Maxima, and I just figured out how to access these environments for single lines using `%` magic methods. So for example if I now need to

Re: [BUG] wrong iCalendar export with diary-float [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-04-19 Thread Ihor Radchenko
"Timo E." writes: > the iCalendar export seems wrong when the .org file contains events > with diary-float. > > For example, my .org file contains: > * my appointment > %%(diary-float t 6 1) 1st Sat/month > ... > BEGIN:VEVENT > UID:DS1-ddf9e720-3c8a-4b2a-93d8-62dde9cdf5a8 > DTSTART;VALUE=DATE:20

Re: Q: org-export-headline-levels doc problem?

2025-04-19 Thread Ihor Radchenko
David Masterson writes: > The documentation for 'org-export-headline-levels' seems problematic. I > was going to suggest a patch, but thought I'd ask first. > > The problem is in the definition of 'level'. One could see a header > with one '*' as "above" one with two. On the other hand, the va

Re: [BUG] org-element API, extra newlines inserted at predictable location (and some removed)

2025-04-19 Thread Ihor Radchenko
chris writes: > *Steps to Reproduce:* > > ... > ```text > > > #+x: > : y > x > ``` > ... > *Observed Behavior:* > > - *Glitch 1:* Each time the command is executed, a new empty line is inserted > immediately after the line containing `: y`. Fixed, on main. https://git.savannah.gnu.org/cgit/ema

Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-19 Thread Pedro Andres Aranda Gutierrez
Of course, I'll check out! /PA On Sat, 19 Apr 2025 at 16:11, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > >> I've attached an example .tex (lualatex) file, with bits and pieces from > >> many discussions at tex.stackexchange and elsewhere. > >> The structure would allow us

Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-19 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> I've attached an example .tex (lualatex) file, with bits and pieces from >> many discussions at tex.stackexchange and elsewhere. >> The structure would allow us to create two custom variables to generate >> the code: >> >> one for the direct lua fallback l

Re: Language support for C# in org-babel

2025-04-19 Thread Ihor Radchenko
poverobuosodonati writes: >> 1. Let's call the file a part of Emacs (we plan to move tests to Emacs >> eventually) > > For this I would need some additional support as I don't exactly > understand what you mean here. Do you mean where to put it as in like > "emacs/test/lisp" instead of "org-mo

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-04-19 Thread Ihor Radchenko
Tor-björn Claesson writes: > Here is attached a new version of the patch for review. NEWS, commit > message and docstrings are placeholders until we get the code right. > > The parameters of the menu are now customiseable, we have org-menu-mode, > and I have been using the current version for a c

In-buffer timestamp for all Heading

2025-04-19 Thread christophe . jalady
Hello, I would like to have a "top level" timestamp for a whole .org file (at the begining of the file), which is inherited by all heading of the file. I do not want to repeat the timestamp for all heading/TODO in the file. It should work like "#+FILETAGS: :foo:" but instead of a tag it would be

Re: [PATCH] org-manual and cdlatex url (was Re: org-latex-preview and font-locking)

2025-04-19 Thread Ihor Radchenko
Leo Butler writes: > My intention was to replace the broken link > (https://staff.fnwi.uva.nl/c.dominik/Tools/cdlatex/) with an uptodate > one. > > I understand your reservation, so I have excised the reference to the > github repo. > > Take 3. Applied, onto main. https://git.savannah.gnu.org/cg

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-04-19 Thread Ihor Radchenko
Sébastien Gendre writes: > Attached to this e-mail you could find a small patch for the HTML export > backend. > > This patch add an in-file option for enabling headlines self link. Thanks for the patch! > Until now, to add a self link on each headline in the HTML export, user > needed to set t

Re: [BUG] Unable to use dvisvgm to preview LaTeX fragments when using dark theme

2025-04-19 Thread Ihor Radchenko
Billy Lei writes: >> Just a note: this has been addressed in the upcoming org-latex-preview >> rewrite. By default, you can change the Emacs theme after generating >> the svg previews and the svgs will automatically change colors to match >> the foreground and background. >> >> Karthik > > It t

[BUG] Unable to ignore sorting for sitemap generation

2025-04-19 Thread Hai W.
To: Subject: [BUG] Unable to ignore sorting for sitemap generation [9.7.27 (9.7.27-??-74dde3aba @ /Users/haisheng.wu/.config/emacs/.local/straight/build-30.1/org/)] From: Haisheng Wu --text follows this line-- I have following org project configuration ``` ("roam-notes-orgs" :base-direc

Re: [PATCH] Use full timestamp in todo-list sorts

2025-04-19 Thread Ihor Radchenko
Charles Tam via "General discussions about Org-mode." writes: > Here is a patch for timestamp sortation issues in todo-list, as > documented in the following recent threads: Thanks! > This change uses the full timestamp, not just the date, and retrieves > it by inspecting the headline in its or

Re: Question about getting properties of org entry

2025-04-19 Thread Ihor Radchenko
Doerthous writes: > GNU Emacs 30.0.50 (build 1, x86_64-w64-mingw32) > Org mode version 9.8-pre release_9.7.25-279-g450692 > > It looks like file-truename takes up most of the time. Don't > know if this is related to file IO on Windows. > > Anyway, I will try to do more investigation another day.

Re: [PATCH]: add BEAMER_CLASS_OPTIONS

2025-04-19 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > 2. I'm over-writing the following option slots in :options-alist my tests: > > (:latex-class "BEAMER_CLASS" nil "beamer" t) > (:latex-class-options "BEAMER_CLASS_OPTIONS" nil > "[aspectratio=169,t,12pt]" t) > > 3. I have a file with the following li