From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MHnIJKklr2Im5wAAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 15:33:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QAXTI6klr2JgKwAAG6o9tA (envelope-from ) for ; Sun, 19 Jun 2022 15:33:29 +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 61DC836CFF for ; Sun, 19 Jun 2022 15:33:28 +0200 (CEST) Received: from localhost ([::1]:39012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2v3P-0004Uy-4h for larch@yhetil.org; Sun, 19 Jun 2022 09:33:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2v1Z-0004Uc-LB for emacs-orgmode@gnu.org; Sun, 19 Jun 2022 09:31:33 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:41703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2v1X-0007pC-Ut for emacs-orgmode@gnu.org; Sun, 19 Jun 2022 09:31:33 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 23so1863419pgc.8 for ; Sun, 19 Jun 2022 06:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=WkWfJz28SgCpkTpma/x1ypabw/x2kUZlItA/74fT7bg=; b=NvKwINu+Agrz7tG5J4oLYXbstItVWKAIm+mJEqbGnaGb5r1YrdZQAB4CtDkjzYFnJt wOS07SWWNi7IH8dIkGVkeZakl21a8bHjHQ+F3Eo5AjCWiGavCMIZbGro/Gld+haDXBHx zCwCzUwrH3jXdnT7T+Ud1uzQy4ZnyEAryILlkwIhctCH/uaOwrRJIaCqPvB48aw0b4PM 6f7WABSwxywnDHIjI0QBZu84VBa+5D1Bm2s3JNH9jkyNoZ4TB5YozrWLbnwdMnu6SdkK 29tP8pGKGFk6ds4OH5/wbXKYRf7Iit4LSylPI21DUX7ByeF2+qWbzxN4ZkSfH6utRtgD ewYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=WkWfJz28SgCpkTpma/x1ypabw/x2kUZlItA/74fT7bg=; b=V3OpW+EyW6Fw7yWeWlz47o44P7NePA5zF2HxVykppPcpWbsK+QhEynGczdnzmSDR9a tihuLoiZbVm2T7SdMeGWKcUQtQFDXPcJbRknbTxZdvr5ii9XXMbYGkn7M7L0Avx5RnvE Xy9sjGgHrPehc0fja3zH7pjMmmS1R8C1xL9YocMffz+BA3xvufuw6e5dIiNJj8CwAghd naAhyAzfmS6tIEZrLpKf5FRhsxteO0HkcVPsRsiUyVdC/orw80Vu6WpX3MOdt7D1a9C9 1Y4MFuMwNMxyCAVpbmWeAs7oaAyiqWrdCmCdsu2Tbe6UbdY3mCDAdsS03X8wDVt14XXR usYw== X-Gm-Message-State: AJIora+bQ4CA+ITDWHkOdeRhYK9fw5xsnQuDFoOWsOb0UgHOLy5jheSh f/jmc+SYvoBJhWZHsPVmg/U7/LCbnll4OA6B X-Google-Smtp-Source: AGRyM1vZ8Ke6SktgaLW8R5bvrhciIAAcJKWU+ATrG4vpZxKGbtSSvyMUeGIHJSdjbdWEqjpUpRnqXA== X-Received: by 2002:a63:7b5a:0:b0:40c:8f56:d2cb with SMTP id k26-20020a637b5a000000b0040c8f56d2cbmr5305628pgn.542.1655645488095; Sun, 19 Jun 2022 06:31:28 -0700 (PDT) Received: from paquerette ([2001:861:4284:db70:cd73:5783:789b:9f6e]) by smtp.gmail.com with ESMTPSA id e12-20020a63ae4c000000b00408b8d98c23sm7179853pgp.78.2022.06.19.06.31.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 06:31:27 -0700 (PDT) From: Edouard Debry To: Org Mode List Subject: Re: Is ob-latex maintained ? References: <87mteb4dx4.fsf@ucl.ac.uk> <874k0j4a95.fsf@ucl.ac.uk> Date: Sun, 19 Jun 2022 15:31:21 +0200 In-Reply-To: <874k0j4a95.fsf@ucl.ac.uk> (Eric Fraga's message of "Fri, 17 Jun 2022 14:47:51 +0000") Message-ID: <861qvkaifq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=edouard.debry@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1655645608; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WkWfJz28SgCpkTpma/x1ypabw/x2kUZlItA/74fT7bg=; b=JvUJXIiSE5IkDRlQbUySHLavLr7uk5AckNw5T4im/S81BbsKCfnUev7ooYAqHKxuSlqoJO yHEQzMvPmrZglXemvYM1/+YxrArXeeV9tActQdrZf0LlZOluR5zym2C0w3sR3kEGn7Ht6n 0DCnGwDdQGFP8bflIwzZmZQ3L4KvuWx24ljFAfbvy33fGAYJh2TdZW0iJNl5xU+ptk90pJ rN9udnWyCg3XhlNLPw6qx4kaXnWDEMo6OiILyeB36rUYFEzVlpZTUY2+PVMxvcLDED1u5+ bQJ1kArPpp4OTSkdVCmsnHL/BXg9G6vr/o59rAIUG7oMXrNNS8RN9RzKL7cQWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655645608; a=rsa-sha256; cv=none; b=VnINhDj/KbwZxnWB5eJLAphQes3e5VPZf21vqyhMRa8QXF7uJaFbcBpp6kx/By2U789oi3 Esxtfp9IRyRw/xYXsMN2haR808MqeJSdPFpkq9c9Lt/TLUHRPYcxe22sqkVyTMyCeNrJFg Lgj3P/5lv+B2CLD+5rpX0Ye3z272IwHIj9QdZ57pHVM0WNO5R98gnJNAfDdkmTBhEM2mLh H3p2tuE5jtwd/4h3WXwUbkKkMM/V2UyuIeoNrA9DWQXNmwCMU/TnDpzSAGloQGh2HQ9jct rjiMglTccrq+jRtjjEyabMe99TjpKws3yITEwd47cHHbK9VzAklF7REqwyrX3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NvKwINu+; dmarc=pass (policy=none) header.from=gmail.com; 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: -6.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NvKwINu+; dmarc=pass (policy=none) header.from=gmail.com; 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: 61DC836CFF X-Spam-Score: -6.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qj2eC/lNmOOE 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" 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?