Re: [PATCH]: add BEAMER_CLASS_OPTIONS

2025-04-07 Thread Pedro Andres Aranda Gutierrez
Good point, maybe I didn't explain clearly enough. #+BEAMER_CLASS_OPTIONS: will only take effect when exporting to BEAMER. It is enforced in (org-beamer-template) when and if present. You can always continue using #+LATEX_CLASS: and #+LATEX_CLASS_OPTIONS: for backward compatibility or other reasons

Re: [PATCH]: add BEAMER_CLASS_OPTIONS

2025-04-07 Thread Dr. Arne Babenhauserheide
Pedro Andres Aranda Gutierrez writes: > When you want to change the beamer class options, you needed to add > #+LATEX_CLASS: beamer > #+LATEX_CLASS_OPTIONS: ... > > With this simple patch, you can declare them directly as > #+BEAMER_CLASS_OPTIONS:... What would happen if I have both LATEX_CLASS_

org-latex-preview and font-locking

2025-04-07 Thread Leo Butler
Q: Why does `org-latex-preview' not work on blocks like: #+begin_export latex \begin{equation} x^2 + y^2 = z^2 \end{equation} #+end_export I use these blocks to take advantage of syntax highlighting (and it is quicker to write than not including the export block around the latex). Shouldn't `org

Fwd: [PATCH] Small speed-up for org-pcomplete.el

2025-04-07 Thread Pedro Andres Aranda Gutierrez
-- Forwarded message - From: Pedro Andres Aranda Gutierrez Date: Mon, 7 Apr 2025 at 17:20 Subject: [PATCH] Small speed-up for org-pcomplete.el To: , Ihor Radchenko Hi Since the block keywords are always the same, why not put them in a variable. Plus add the LATEX keywords, whic

[PATCH]: add BEAMER_CLASS_OPTIONS

2025-04-07 Thread Pedro Andres Aranda Gutierrez
Hi When you want to change the beamer class options, you needed to add #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: ... With this simple patch, you can declare them directly as #+BEAMER_CLASS_OPTIONS:... which is more consistent with using #+STARTUP: beamer and the LaTeX settings. Best, /PA

"Tab width in Org files must be 8, not 2. Please adjust your ‘tab-width’ settings for Org mode"

2025-04-07 Thread Jorge Cuellar
I have updated emacs to the latest version: GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-23 and org too: Org mode version 9.7.27 Customization says: Operate on all settings in this buffer: Hide Tab Width: Integer: 8 State : SAVED and set. I have tried many things, But I still get t