Emmanuel Charpentier <emm.charpent...@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>