Re: Re: How to specify column alignment in LaTeX table output?

2025-01-09 Thread Pedro Andres Aranda Gutierrez
Hi, For org tables generated in Python, I use python-tabulate. Actually, I forked the original library to include the possibility of generating the latex attributes from Python too. Something like: --- cut here --- #+BEGIN_SRC python :results value raw :exports results import math import pandas

[BUG] Edge case for preview image alignment

2025-01-09 Thread Karthik Chikmagalur
Currently the value of `org-image-align' or of the `:align' attr_* keyword is respected when previewing images in the following two situations: 1. Image link in its own paragraph: #+attr_org: :align center [[file:/path/to/image.png]] 2. Image link at the end of a paragraph, on its own line: Som

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-01-09 Thread Paul Stansell
Hello Ihor, I have just the second patch you sent me in my org code, not the first patch as I couldn't apply both because of a conflict. Since then the only warning messages I'm getting are ones like this: Warning (emacs): Emacs reader failed to read data in "~/.cache/org-persist//gc-lock.eld".

Re: test-org-table/sort-lines: Failing test on macOS

2025-01-09 Thread Ihor Radchenko
Michael Brand writes: > The attached patches implement this suggestion and are applicable on > bugfix and main. Tested with Emacs 29.4 of Homebrew on macOS. Please > review and if someone can test the final version also on Linux and > Windows I suggest to apply on bugfix. Thanks! Applied, onto b

Re: [PATCH] Turn org-mouse features into minor-modes

2025-01-09 Thread Ihor Radchenko
Visuwesh writes: > Subject: [PATCH] org-mouse: Make it possible to turn on and off the feature Thanks for the update! See my comments inline. > +*** ~org-mouse~ is no longer activated by default by anymore + by anymore+ > +To enable the ~org-mouse~ features, the new minor-modes > +~org-mouse-

Re: 31.0.50; Fontification malfunction

2025-01-09 Thread Ihor Radchenko
Johan Ekenberg writes: > - Start emacs: 'emacs -Q' > - Paste this function into the scratch buffer and evaluate it: > (defun test-org-insertion-fontification () > (interactive) > (let* ((chunks > '("#+begin_src elisp\n" > "(+ 1 2)" > "\n#+end_src\

Re: To factorize code of test sets (or not)

2025-01-09 Thread Ihor Radchenko
Phil Estival writes: > This may appear as an unnecessary effort to refactor, or worse, > normalize a code that can benefit from some diversity > yet, > the forms > >(should > (equal "" > (org-test-with-temp-text "" > (org-babel-next-src-block) > (org-trim (org-babel-exec

Re: How to specify column alignment in LaTeX table output?

2025-01-09 Thread Richard H Stanton
On Jan 9, 2025, at 2:17 AM, Rens Oliemans wrote: > > Richard H Stanton writes: > >> Here’s a table in my org document: >> >> #+ATTR_LATEX: :align :options [htbp] >> #+begin_table >> |---++---+| >> | Tier | Number | Total | % of Total | >> |---+

Re: How to specify column alignment in LaTeX table output?

2025-01-09 Thread Rens Oliemans
Richard H Stanton writes: > Here’s a table in my org document: > > #+ATTR_LATEX: :align :options [htbp] > #+begin_table > |---++---+| > | Tier | Number | Total | % of Total | > |---++---+| > | 1 | 4 | 8,700.00 |

How to specify column alignment in LaTeX table output?

2025-01-09 Thread Richard H Stanton
Here’s a table in my org document: #+ATTR_LATEX: :align :options [htbp] #+begin_table |---++---+| | Tier | Number | Total | % of Total | |---++---+| | 1 | 4 | 8,700.00 | 57.39 | | 2 | 19 | 5,398.00 |