Aloha Edouard,
According to the table of core languages supported by Babel,
https://orgmode.org/worg/org-contrib/babel/languages/index.html,
there is no maintainer for ob-latex.
The information in the table is taken from the ob-*.el files,
which indicate a maintainer if there is one.
hth,
Tom
Edouard Debry <edouard.de...@gmail.com> writes:
Indeed, you can make the src block work (produce a png) by
adding
imagemagick in the src block. It works because the generation
process
is completely different.
But my main concern is that there is a bug in "ob-latex" : when
you want
to produce a png without imagemagick, either it does not work,
although
it should, or it produces a svg !
By the way, I did ask on this mailing list a previous question
about
generating svg from tikz/latex src blocks. It did not work with
imagemagick, but it works well without (also with htlatex),
provided
your default settings is 'dvisvgm.
This is also why I wonder if there is a maintainer for
"ob-latex", such
previously mentioned bug should/could be corrected.
Regards
"Fraga, Eric" <e.fr...@ucl.ac.uk> writes:
On Friday, 17 Jun 2022 at 13:48, DEBRY.Edouard wrote:
Unfortunately not.
If I remember well, this setting is for math environments,
whether you
want to preview them as png or svg, it does not work for src
blocks.
Well, my src blocks work although I use imagemagick and then
have the
following extra settings for the LaTeX src blocks:
#+property: header-args:latex :fit yes :results file :exports
results
#+property: header-args:latex+ :imagemagick yes :iminoptions
-density 600 :imoutoptions -geometry 1200
If you have ImageMagick installed, maybe try this?
--
Thomas S. Dye
https://tsdye.online/tsdye