[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Run latex more than once for LaTeX src block evaluation
|
From: |
Ihor Radchenko |
|
Subject: |
Re: [PATCH] Run latex more than once for LaTeX src block evaluation |
|
Date: |
Sun, 05 May 2024 10:44:50 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
> (setq org-preview-latex-default-process 'dvisvgm)
>
> #+begin_src latex :results file link :file test.png
> x^2
> #+end_src
>
> #+RESULTS:
> [[attachment:test.png]]
>
> ^ This is actually an svg image, renamed to "test.png".
>
> So, it makes sense for `org-babel-execute:latex' to override
> `org-preview-latex-default-process' temporarily, to something actually
> generating .png file.
Now done on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=43ba00b2b
I introduced a new custom option org-babel-latex-process-alist to
control ob-latex behaviour specifically.
For now, it is preserving the previous process settings. No repetitive
latex runs.
--
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>
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] Run latex more than once for LaTeX src block evaluation,
Ihor Radchenko <=