Hi Ihor,

Use case: blank org-document where I was documenting a procedure for my
students in real-time (as I was showing them how to do it).
Once everything had been checked, I started adding the different
#+LÌ€ATEX... keywords. I didn't have any autocompletion for them.
Exiting emacs and reopening the document didn't help either.

An alternative is to advise the user who uses org as a high-level
alternative for LaTeX to include
(require 'ox-latex)
in the init.el file if (s)he uses an autocompletion framework.

Maybe it might be worth adding a word in the manual. WDYT?

Best, /PA

On Sat, 12 Apr 2025 at 19:27, Ihor Radchenko <yanta...@posteo.net> wrote:

> Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:
>
> > in the meantime, here is a (somehow egoistic?)  patch that adds the latex
> > keyworks I need
> > ...
> > ( pcomplete/org-mode/file-option): import ox-latex to include
> > LaTeX keywords in completion logic
>
> Sorry, but no.
> What you suggest is not much different from loading everything.
> Again, if we want to load ox-latex, we then also need to load everything
> else. And that's not the best idea.
>
> If you want to get autoloading on completion, as I suggested, we should
> only do it after the user types #+LATEX/#+BEAMER/#+ASCII/etc. Not
> unconditionally.
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy

Reply via email to