emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Edouard Debry <edouard.debry@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Is ob-latex maintained ?
Date: Sun, 19 Jun 2022 15:31:21 +0200	[thread overview]
Message-ID: <861qvkaifq.fsf@gmail.com> (raw)
In-Reply-To: <874k0j4a95.fsf@ucl.ac.uk> (Eric Fraga's message of "Fri, 17 Jun 2022 14:47:51 +0000")

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.


"Fraga, Eric" <e.fraga@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?

  reply	other threads:[~2022-06-19 13:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 13:08 Is ob-latex maintained ? DEBRY.Edouard
2022-06-17 13:28 ` Fraga, Eric
2022-06-17 13:48   ` DEBRY.Edouard
2022-06-17 14:47     ` Fraga, Eric
2022-06-19 13:31       ` Edouard Debry [this message]
2022-06-19 17:17         ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861qvkaifq.fsf@gmail.com \
    --to=edouard.debry@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).