From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6Mh8EyB9rGIWkAAAbAwnHQ (envelope-from ) for ; Fri, 17 Jun 2022 15:09:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0L1AEyB9rGLBLQEAauVa8A (envelope-from ) for ; Fri, 17 Jun 2022 15:09:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D97E36901 for ; Fri, 17 Jun 2022 15:09:51 +0200 (CEST) Received: from localhost ([::1]:38448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2BjQ-0001kS-Tv for larch@yhetil.org; Fri, 17 Jun 2022 09:09:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Bhz-00018O-GP for emacs-orgmode@gnu.org; Fri, 17 Jun 2022 09:08:19 -0400 Received: from mbda-vdr-fe2-out.mbda.gmessaging.net ([62.161.9.156]:52142 helo=mbda-vdr-fe2.mbda.gmessaging.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Bhx-0002WB-C0 for emacs-orgmode@gnu.org; Fri, 17 Jun 2022 09:08:19 -0400 Received: from mbda-vdr-fe2.mbda.gmessaging.net (localhost.localdomain [127.0.0.1]) by localhost.mbda.gmessaging.net (Postfix) with SMTP id 4LPfVP0r0dz3Sr2P for ; Fri, 17 Jun 2022 15:08:13 +0200 (CEST) Received: from RPRELAY41 (unknown [192.168.177.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "RPRELAY41", Issuer "RPRELAY41" (not verified)) by mbda-vdr-fe2.mbda.gmessaging.net (Postfix) with ESMTPS id 4LPfVP0G1Fz3Sr2N for ; Fri, 17 Jun 2022 15:08:13 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.92,306,1650924000"; d="scan'208";a="43441217" From: DEBRY.Edouard To: Emacs-orgmode Subject: Is ob-latex maintained ? Thread-Topic: Is ob-latex maintained ? Thread-Index: AQHYgktMKFppenlE50a7Gl0Okphfrg== Date: Fri, 17 Jun 2022 13:08:12 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbda-systems.com; h=from:to:subject:date:message-id:content-type:content-transfer-encoding:mime-version; s=selector2; bh=K+4YVaG9hdaUBu6hwWfQ0CRSof1cGm+TrhRGGGFRT7Y=; b=OwjHrhGh/ympFufdoC1jIRQbxD6jkh5BFAeexMC7LReoJ96ckVjn0hjqj7DNnc6tSNbXwq5BgeSZHPLoD3e1/Sg73+1N5isR8FdHyNoxmqFWx/DZWr3Pb8EP+5Zodad3qxmlktydCqO/qZvW0vvP/kdXI1VV07JCM1I7hoKUOBfDbCSjfdEurgEegl8UBtPDCSbhNVeMg1wtDnnjs5N4H9RRRfcr0SzxPqLkK52ovJZGeBt6eZRQEKkIN33N/s/WHxFaIRX77woNSfjaVXjeJW2DHYWkNR9+VXFSCGoLF2jFLWWECjrDa7BhM+YxgeM9Zp+BXq49Zu+xhJ5uCMY1Cw== Received-SPF: pass client-ip=62.161.9.156; envelope-from=edouard.debry@mbda-systems.com; helo=mbda-vdr-fe2.mbda.gmessaging.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655471391; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K+4YVaG9hdaUBu6hwWfQ0CRSof1cGm+TrhRGGGFRT7Y=; b=g6OjNh++i0VkgPg3DbcGjGzZvC2tC76Ee/vFVvOMzPwv1+jeDMUSS04NIO3vJCI03wmm9F PX4hUIhdGR3qjM94RyReNcvhGLQs91zvHSCvsSp/vqGfS8xKtMAJ56eJWvV58jazgDwz1g MxHaMA/lBk15TtLEi1Kriurbcgg+KGXp+53CV3PVE80RSEBQ/1kd3LahYJDNbR0Ab3iQNz h0QoNklETaQV1VG8pEdks47b+cADVBLsLrj/SsQLZ8SHUkTRF4dBEyoS3q48R1RC73qZH5 lGqw8sQ2eED97A2kEtPhaMFvZO1oe7d4Ijpx4FxZzMh6NKFrVtjQarcesUuGpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655471391; a=rsa-sha256; cv=none; b=fBzT27AtTuKcIBipX0d4W5pswaWXDffSf+Zgg0NifqfNlvwSL8G7mdyyjOotARaLxCCC6H Kq5RoRWxICEfINSK+eU6xRXK3MTxhMw1C9BjxRzRaqM4iLJL+OMgLzVIsyx23LlRC7XQVT ldo838Q1fnn78JPOozBvOzoYcY6df6Af4c0+BQCugHL5FyKbEgZ28KtnkZBw43BVdPRuoT tDTvtZJHJ1/1Zzc/oStHwe3+Vxf3hdYU0HK+avR6Sz5rZ7E9qlxcuJLlFNYKTlasMOP80H vfB14Cg44T5kz+LPyDiv9r7xOZPsQJlrP81a2E5YHjBAeg2N5UCrRQy+rFA7zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mbda-systems.com header.s=selector2 header.b=OwjHrhGh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.69 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mbda-systems.com header.s=selector2 header.b=OwjHrhGh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D97E36901 X-Spam-Score: -7.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: mUIA8gmXsWrq Hello, I had a couple of small issues when trying to export latex src block to images. Here is to fix ideas a src block : <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> #+HEADER: :file test1.png #+HEADER: :exports results #+HEADER: :results output silent graphics file #+HEADER: :fit yes :noweb yes :headers '("\\usepackage{tikz}" "\\usetikzlib= rary{backgrounds}") #+begin_src latex \begin{tikzpicture}[background rectangle/.style=3D{fill=3Dolive!30}, show b= ackground rectangle] \draw[->] (-3,0) -- (-2,0) arc[radius=3D0.5cm,start angle=3D-180,end angle= =3D0] (-1,0) -- (1,0) arc[radius=3D0.5cm,start angle=3D180,end angle=3D0] (= 2,0) -- (3,0); \filldraw (-1.5,0) circle[radius=3D1mm]; \filldraw (1.5,0) circle[radius=3D3mm]; \end{tikzpicture} #+end_src <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> When hitting [C-c C-c], it did produce an "test1.png" however, it was not a png file but ... a svg one ! I figured out that the process goes through first condition of "org-babel-execute:latex (body params)" function (around line 150). This one relies on function "org-create-formula-image" which should have the process-type in argument, either 'dvipng, 'dvisvgm or 'imagemagick. If not given, the default one is given which for me is set to 'dvisvgm. The "org-create-formula-image" should be given in arguments the backend corresponding to the desired image format. I tried adding 'dvipng explicitely but image generation fails, however doing it manually (latex + dvipng) works. Does someone maintains "ob-latex" ? and could make things clearer. Regards ___________________________________________________________________________= ________________________________________________________ This email and any attachments are confidential to the intended recipient a= nd may also be privileged. If you are not the intended recipient please delete it from your system and= notify the sender.=20 You should not copy it or use it for any purpose nor disclose or distribute= its contents to any other person. =20 Ce courriel et ses pieces-jointes sont envoyes de maniere confidentielle et= doivent etre traites avec attention. Si vous n'etes pas le destinataire, merci de le detruire et d'en informer s= on auteur.=20 Vous ne devez pas copier, utiliser, reveler ou diffuser son contenu a quico= nque.