1 character fix to make ob-haskell compatible with table outputs

2023-03-14 Thread General discussions about Org-mode.
Just change the `[` and `]` to `(` and `)` respectively. List of lists aren't parsed correctly by ob-haskell, but tuples of tuples are. That means this code change I just tested works: (defun org-babel-haskell-var-to-haskell (var) "Convert an elisp value VAR into a haskell variable. The

Re: [PATCH] org-src: Improve the name of source editing buffers

2023-03-14 Thread Rudolf Adamkovič
Ihor Radchenko writes: > [...] it may affect existing uses of `display-buffer-alist' [...] Canceled. Yeah, I did not realize it would be a breaking change. Thank you folks for discussing my patch! Rudy -- "Be especially critical of any statement following the word 'obviously.'" -- Anna Pell

Hyphen after LaTeX fragments

2023-03-14 Thread Yuchen Guo
Sometimes I encounter such texts: One of the useful features of a basis $B$ in an $n$-dimensional space When entered as-is in Org mode and exported to LaTeX, the string "$n$-dimensional" is exported as plain text, as One of the useful features of a basis \(B\) in an \$n\$-dimensional space

Re: bug#58371: Org and Hyperbole

2023-03-14 Thread Mats Lidell
> Jean Louis writes: > * Robert Weiner [2022-10-04 09:29]: > > Another good thought. Anyone can add an embeddable export of Koutlines; I > > don't think we'll find time to do that in the mainline development branch > > though. > > Creating HTML export that is messy has greater impact on people,

Hyphen after LaTeX fragments

2023-03-14 Thread Yuchen Guo
Sometimes I encounter such texts: One of the useful features of a basis $B$ in an $n$-dimensional space When entered as-is in Org mode and exported to LaTeX, the string "$n$-dimensional" is exported as plain text, as One of the useful features of a basis \(B\) in an \$n\$-dimensional space

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-03-14 Thread Timothy
Hi Ihor, >> • Preview overlays can hide and show themselves dynamically based on cursor >> position. > > How? I do not see anything and I cannot find any relevant customization > in org-latex-preview.el I think the docs might need to be edited to make `org-latex-preview-auto-mode' more

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-03-14 Thread Timothy
Hi Ihor, >> • Org mode can keep equation numbering consistent by regenerating previews >> as needed. > > This is disabled by default, right? > But I am still seeing the numbering (see the attached) the Org text > below. Correct. Numbering settings have been re-done to hopefully make what’s

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-03-14 Thread Timothy
Hi Ihor, > 1. Plenty of valid warnings and one of third-party packages broken when >using the branch [*] Thanks for highlighting these, I’m gradually going through them. > 2. I had to (require ’org-latex-preview). `org-latex-preview’ is not >autoloaded for some reason. I haven’t had

Re: [patch] ob-clojure: Fix results output

2023-03-14 Thread Daniel Kraus
Daniel Kraus writes: > Attached is the new patch with the changes. > > [2. text/x-patch; 0001-lisp-ob-sql.el-Add-support-for-Athena.patch]... Ups, I attached the wrong one. Here the correct patch.. >From db0634b5ab0b5c8c996c5dcbbeb266b720c67459 Mon Sep 17 00:00:00 2001 From: Daniel Kraus

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-03-14 Thread Timothy
Hi Ihor, Thanks for mentioning this, I’ve now added a priority of -80 . All the best, Timothy -- Timothy (‘tecosaur’/‘TEC’), Org mode contributor. Learn more about Org mode at . Support Org development at , or support my work at

Re: [patch] ob-clojure: Fix results output

2023-03-14 Thread Daniel Kraus
Hi! Ihor Radchenko writes: > Daniel Kraus writes: > >> This was apparently a kludge that ob-clojure used to evaluate ClojureScript >> in the normal clojure:execute function. >> I simply used the same kludge where I need to check for cljs, but after >> reviewing it's not really necessary and I

Re: [patch] ob-clojure: Fix results output

2023-03-14 Thread Ihor Radchenko
Daniel Kraus writes: >> Also, make sure that >> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html >> is up-to-date. > > Good reminder. I send a PR for this when this patch is installed?! Or together. Either way is fine. >> Note: I do not see :target header arg being

Re: [bug?] anybody experience priorites inserted in links?

2023-03-14 Thread Ihor Radchenko
Samuel Wales writes: > i am currently on an old version of everything, so please do not take > this too seriously, but it has been around forever. > > * [[https://google.com][google]] [or whatever] > > if i run org-priority-up, on occasion the priority cookie gets wrongly > inserted into the

Re: [PATCH]: Small type in ox-latex.el

2023-03-14 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Attached is a silly small patch, not even a TINYCHANGE ;-) Its a typo > I found skimming through the latex exported... Applied, on your behalf. Thanks! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3eb51d8db -- Ihor Radchenko //

Re: [BUG] No space after footnote with org-export-with-footnotes set to nil [9.6.1 ( @ /Users/test/.emacs.d/elpa/28.0/develop/org-9.6.1/)]

2023-03-14 Thread Ihor Radchenko
Max Nikulin writes: > On 11/03/2023 17:38, Ihor Radchenko wrote: >> >> Newlines are tricky. They may or may not be significant. >> For example, in CJK paragraphs, newlines are to be stripped. >> >> I think that a reasonable thing to do could be not adding newlines if >> the previous object is

Re: Hyphen after LaTeX fragments

2023-03-14 Thread Max Nikulin
On 14/03/2023 14:02, Yuchen Guo wrote: Sometimes I encounter such texts: One of the useful features of a basis $B$ in an $n$-dimensional space When entered as-is in Org mode and exported to LaTeX, the string "$n$-dimensional" is exported as plain text, as One of the useful features of

Re: Hyphen after LaTeX fragments

2023-03-14 Thread Dominik Schrempf
Hi! I think we had this discussion quite some times already. Org Mode supports $...$ syntax wherever possible but not in all places and encourages the use of \(...\). I switched from using $...$ to \(...\) everywhere, and have not had any problems since. Dominik Yuchen Guo writes: > [[PGP

Hyphen after LaTeX fragments

2023-03-14 Thread Yuchen Guo
Sometimes I encounter such texts: One of the useful features of a basis $B$ in an $n$-dimensional space When entered as-is in Org mode and exported to LaTeX, the string "$n$-dimensional" is exported as plain text, as One of the useful features of a basis \(B\) in an \$n\$-dimensional