Re: [BUG] Escaping "<" and ">" inside math blocks when exporting to HTML/MathJax

2025-07-12 Thread Max Nikulin
On 06/11/2022 10:05, Ihor Radchenko wrote: Max Nikulin writes: This is a reminder of an old bug. From my point of view it is serious enough, but not release critical due to its age. &<> characters must be escaped as HTML entities when LaTeX snippets and blocks are exported for MathJax Form my

Re: MathML in HTML export

2025-07-12 Thread Max Nikulin
On 12/07/2025 04:40, Jacob S. Gordon wrote: On 2025-07-10, Max Nikulin wrote: I know about MathML almost nothing, so it is hard for me to reason if it is really necessary and what issues its absence may cause. Me neither. Based on what I understand from the spec, it can affect line breaking an

Re: Yesterday's meetup

2025-07-12 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I intended to update you on the progress of the feature branch, which > is basically ready for more testing. What about the latest round of comments? You haven't replied to all my comments yet. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn mo

Re: bug in org-map-region (including patch)

2025-07-12 Thread Ihor Radchenko
dmg writes: > while working with org-roam I detected the following bug: > > Create an org file with the following info: > > * heading > > * heading 2 > ... > You will note that the location of the first heading is off (it is > reported as starting after the space after the asterisks) org-map-reg

Re: [BUG] Numeric priorities only partially supported

2025-07-12 Thread Ihor Radchenko
Derek Chen-Becker writes: > Summer schedules got the better of me, but here's the first of hopefully > several patches to address this is small pieces rather than trying to > commit to one large chunk of work. Tests pass locally and I added some new > ones as well. Thanks! > - (org-priorit

[PATCH] Small fix for displaying refile targets

2025-07-12 Thread Dan Milstein
Hello, (I tried sending this a week or two back, but am not sure if it made it to the list -- also, if there's a different/better way to submit a small fix, happy to do so). I ran across a small UI issue with org-refile. If an org refile target contains a link, the refile interface shows the raw

Re: Language support for C# in org-babel

2025-07-12 Thread Ihor Radchenko
poverobuosodonati writes: >> Unless I miss something, the new code will err on (require 'ob-csharp) >> when dotnet command is not available. > Not quite. But not better either: if the dotnet command is not present, > the variable `org-babel-csharp-default-target-framework' would just be > set t

Re: Patch with small fix for refile target display

2025-07-12 Thread Ihor Radchenko
Dan Milstein writes: > I ran across a small UI issue with org-refile -- if an org refile target > was a link, the refile interface would show all of: the link, the > description and the surrounding brackets. That was quite difficult to read > in the compressed space of the minibuffer. > > The fix

Re: [PATCH] Small fix for displaying refile targets

2025-07-12 Thread Ihor Radchenko
Dan Milstein writes: > (I tried sending this a week or two back, but am not sure if it made it to > the list -- also, if there's a different/better way to submit a small fix, > happy to do so). Duplicate of https://lists.gnu.org/archive/html/emacs-orgmode/2025-07/msg00019.html Canceled. Your e

Re: [PATCH] Accept nil outline path for file+olp+datetree org-capture-templates target

2025-07-12 Thread Ihor Radchenko
Kristoffer Balintona writes: > I did, yes. I want to confirm because I wasn't quite sure which > direction you were trying to nudge me toward: would you like me to > ensure that the behavior introduced by the patch works well with > :prepend? Sorry for the delay. I wanted to make sure that your

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2025-07-12 Thread Ihor Radchenko
Morgan Smith writes: > Thank you for bring this case to my attention in such a concrete way. I > have added fixes and tests to make this work. Thanks! > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -3015,7 +3015,8 @@ org-tags-sort-function > (const :tag "Default sorting" nil) > (

Re: Question about contribution to improve svg handling in latex export

2025-07-12 Thread Ihor Radchenko
Emin Martinian writes: > Thanks for fixing the commentary for org-persist. > > I've already spent more time than I can justify on this patch. I think the > latest version is an improvement since it makes SVG export to latex work > whereas it currently fails on my system. > > I understand if you d

Re: MathML in HTML export

2025-07-12 Thread Ihor Radchenko
"Jacob S. Gordon" writes: > Before going into details, why might you prefer `MathML' for equations > in `HTML'? > > ⁃ It “degrades” gracefully compared to `LaTeX' markup: > ⁃ in the absence of `MathJax', major browsers [support] `MathML' > (`MathML Core' at least), This is indeed a benefit

Re: [PATCH] org-element.el; significant optimizations for org-element--interpret-affiliated-keywords

2025-07-12 Thread Ihor Radchenko
"Dwarshuis, Nathan J" writes: > Subject: [PATCH] org-element.el: Make affiliated keyword interpreter faster Applied, onto main, adding back the removed comment explaining some logic. Thank you! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9710d11e9 -- Ihor Radchenko // yan

Re: Passing a variable to an sqlite3 code block

2025-07-12 Thread Ihor Radchenko
Roger Mason writes: > Substitution history of formula > Orig: '(org-sbe "dl" (el @2$1)) > $xyz-> '(org-sbe "dl" (el @2$1)) > @r$c-> '(org-sbe "dl" (el #("Fe" 0 2 (face org-table fontified t > $1->'(org-sbe "dl" (el #("Fe" 0 2 (face org-table fontified t > Result: #ERROR I suspect

Re: I need to get the positions where the title starts and ends

2025-07-12 Thread Ihor Radchenko
mb...@mbork.pl writes: > with the point on a headline, I'd like to be able to get the positions > of the start and end of the current headline's title. How to do that? > Here's what I have, is there a better way? > > (This includes tags; I'm fine with that, though excluding them might be > better

Re: [BUG] Numeric priorities only partially supported

2025-07-12 Thread Derek Chen-Becker
Thanks for the feedback. Let me rework it per your suggestions. Cheers, Derek On Sat, Jul 12, 2025 at 10:11 AM Ihor Radchenko wrote: > Derek Chen-Becker writes: > > > Summer schedules got the better of me, but here's the first of hopefully > > several patches to address this is small pieces r

Re: Yesterday's meetup

2025-07-12 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I intended to update you on the progress of the feature branch, which > is basically ready for more testing. > My idea/wish would be to start integration into master after the > summer break in September. Maybe we could have it ready in master for > the nex

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2025-07-12 Thread Morgan Smith
My apologies. The previous email reverted too much of my `org-set-tags' changes. These changes should work now. Please see attached. Commentary from previous email is still applicable. >From 7ea6b1bbdf7e3df075f419269c3ebbd5b2578359 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Tue, 27 Ma

Re: [PATCH] Small fix for displaying refile targets

2025-07-12 Thread Kyle Meyer
Ihor Radchenko writes: > Your emails are indeed not displayed on the list: > https://list.orgmode.org/orgmode/cahq0t5q9zrlku7ksgkscs5raoofw-sg5zb6u7661gnxcmxt...@mail.gmail.com/ > yields nothing. > Kyle, could you please take a look? Thanks for notifying me. I've adjusted the back-fill process s

Re: MathML in HTML export

2025-07-12 Thread Jacob S. Gordon
Hey Max, On 2025-07-12 06:55, Max Nikulin wrote: > Jacob, do you know anything about mathtoweb? Org manual and > docscrings recommend it, but I am unsure if it is still proper > suggestion. I managed to run it and the output looked reasonable, so it could still be viable. On the other hand, it ha

Re: Yesterday's meetup

2025-07-12 Thread Pedro Andres Aranda Gutierrez
Hi Ihor, Yup, there are right. Too many things going on at the same time. > >> Also, since we now allow multiple languages to be listed in #+LANGUAGE, > >> we may need to update the manual when talking about #+LANGUAGE keyword > >> in other places as well; not just in latex export section. > You

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2025-07-12 Thread Morgan Smith
Ihor Radchenko writes: > Morgan Smith writes: > >> --- a/lisp/org.el >> +++ b/lisp/org.el >> @@ -3015,7 +3015,8 @@ org-tags-sort-function >>(const :tag "Default sorting" nil) >>(const :tag "Alphabetical" org-string<) >>(const :tag "Reverse alphabetical" org-string>) >> -

Re: MathML in HTML export

2025-07-12 Thread Jacob S. Gordon
Hey Ihor, On 2025-07-12 13:40, Ihor Radchenko wrote: > What would be the benefit of MathML if MathJax is _also_ loaded? I don’t think there’s much benefit of having MathML+MathJax *over* LaTeX+MathJax, as the results should be very close. Unconditionally loading MathJax would just put the MathML