Enviado desde mi iPhone

> El 8 oct 2026, a las 20:13, Angelo Graziosi <[email protected]> 
> escribió:
> 
> Il 08/10/2026 18:30, Pedro A. Aranda ha scritto:
>> Hi again, Angelo
>> I found a second and recompiled Emacs master on a ubuntu vm to test.
>> Attached is a zip with:
>> 1. your mwe.org
>> 2. the mwe.tex I generate after setting the variable
>> 3. the result of compiling it with pdflatex
>> 4. a Screencast with the whole interaction with Emacs
>> I can't find what might be wrong in your system.
> 
> Nothing! Here All works just fine.
> 
> Just doing the customization as you do in the video (without using emacs -Q 
> and with *all* my original init.el, works!
> 
> The only difference is that I get 3.81 x 10^12 and not 3,81 x 10^12 (with the 
> dot, not the comma)

That might be a problem of different locales…
> 
> Without your customization, I _have to_ add this in init.el
> 
>  (setq org-latex-table-scientific-notation "\\num{%se%s}")
> 
> and not what you suggested in a previous mail
> 
>  (setq-local org-latex-table-scientific-notation: "\\num{%se%s}"
> 
> it doesn't work because it doesn't want '-local' and the ':'.

Whoops… something went wrong in the copy and paste… sorry.
> 
> 
> In any case, I don't like much the solution to change the init.el, I would 
> prefer to add the option on ORG file basis (if one do not want the scientific 
> notation in a document?)

You could try to add the safe predicate in the init.el file and the variable in 
the local variables as I suggested above…
> 
> Maybe your patch would work, I will wait for it to land in Emacs master to 
> test.
> 
> Ciao,
>  Angelo.
> 
> 
> 
>> Best, /PA
>> Note: I'm doing emacs -Q and, just in case, I'm using an empty init 
>> directory which doesn't even have an init.el So it's a pristine environment.

Reply via email to