emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to set options *programatically* ?


From: Ihor Radchenko
Subject: Re: Is there a way to set options *programatically* ?
Date: Tue, 23 Apr 2024 13:03:42 +0000

Emmanuel Charpentier <emm.charpentier@free.fr> writes:

> I'd like to create a function able to set some options, namely
>
>     - `#+options: tex:`{t|dvipng|imagemagick}
>
>     - `#+export-file-name:`
>
> I have been unable to find a *documented* way to do that from `elacs-lisp`.
>
> I *think* that an `org` source block could place those options in the buffer, 
> but I can't find a way to reliably trigger a "setup refreshment" of these 
> options from `emacs-lisp`.
>
> Any ideas ?

You can set `org-export-with-latex' variable value - it is a counterpart
of tex: option. See 13.2 Export Settings section of the manual.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]