emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.online>
To: Edouard Debry <edouard.debry@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is ob-latex maintained ?
Date: Sun, 19 Jun 2022 07:17:44 -1000	[thread overview]
Message-ID: <871qvk4lon.fsf@tsdye.online> (raw)
In-Reply-To: <861qvkaifq.fsf@gmail.com>

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.debry@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.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?


-- 
Thomas S. Dye
https://tsdye.online/tsdye


      reply	other threads:[~2022-06-19 17:19 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
2022-06-19 17:17         ` Thomas S. Dye [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=871qvk4lon.fsf@tsdye.online \
    --to=tsd@tsdye.online \
    --cc=edouard.debry@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).