From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id oP/WKRxjN2Z3lAAAqHPOHw:P1 (envelope-from ) for ; Sun, 05 May 2024 12:44:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oP/WKRxjN2Z3lAAAqHPOHw (envelope-from ) for ; Sun, 05 May 2024 12:44:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="acGa4Qk/"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714905884; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=kDTm/OdXfJh71B6niCES3wOWK6tSPbsx9hyKXSkbo3o=; b=oH7x5itSogihSEVDrVhpZGXBR2gFS8sAlMuLWJV+bcL+RZU020AjgiI3K6ooOarNegYUPx iGUuohnoFbZccMbWCUneLGYnDc1GLkeyOEd0wqZciUnGWL/eWX8A3b6m/FINNRV4iFEZMT JKdbRASXB4VwAWV5EJmGJysuSOGyZb6Gy6XKRo5yuryfXxD1sol/lc4vs/4p9q0lTo/449 vcmaoG/F66lnICPz5pGNfs4HdCt1/xdWwYxA5Iro4Pk/kzf5ESYcrJDJDo7AEF69yGF14S 8XsUQSoqjsu+gYm6RwEjE2/pQpiDBpkDKDgaoyuAE6AFi9aRPCVbbOJg9tVUVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="acGa4Qk/"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714905884; a=rsa-sha256; cv=none; b=n1GvoZ+A2ZOY0+VQ/t2gS7mE39XyOk/6aWJlovQaxwJwtK8aXCoRJstG0rhssK49tGp8Px MXhgjEm4OpsZ4L6C+rdKB8WXvRS3Qn25WfPBjw0HPZnoUCKXsRZde44l6DoXT+0ArP22Rf dqKDb5EcJXWz3uiW4vf5z1FhpN6a2ZyJnoQNllEMWM4p2b+MlN50asJu5766HCjSLNaygB qNz0qWmYTg5z3xE4bU4Uysx91sE3YNxCsAnBYQw6vws+VID63QzmP0sTRzpQwv0zOR2lv1 K8Wukg8CSPM13XKOyG0Wzbr/VuOdlE6M77aINJgU9jI8N3ew4ZMzRRHWuNbwzQ== 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 0928169638 for ; Sun, 5 May 2024 12:44:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3ZLU-0006tv-00; Sun, 05 May 2024 06:43:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3ZLO-0006rs-EX for emacs-orgmode@gnu.org; Sun, 05 May 2024 06:43:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3ZLM-0004MC-2D for emacs-orgmode@gnu.org; Sun, 05 May 2024 06:43:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1F00D240101 for ; Sun, 5 May 2024 12:43:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714905820; bh=JBIZWIQTpl55PfdWopfYd8NaJNyRvVc8bym8l4WvJB0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=acGa4Qk/zmzNFrYpDauwWfdtHZQ11yq+yqC82TafcI8oNWA9F6A7/8koooud2iyOm rhIRwsYvLCy/eunigd5f2T5LKt/5WUOVVtyIIBQo1x9+vKeKXWM7WLQT/XUdv8Y43s TpZl4TFAdHwxWgRO9cSe5qlM5VO3BqFjRh6V4/bmAbYbhCBaiVww6eAn8TW8kkHzdz 43SLHdJN/u1Te006DuBrJ5vCMAjB8AqSFgurU//xG9wCWhOfKNekxemU6jL+Cf4dXD DlYYgiLeXXmDrYF5IDkiXUt34ZRCQW2th5c5hN8pIW4e4vEtGjMlqGDEwv7ze6NmH8 KZa3EwiyuipkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VXLk16T3vz6tsf; Sun, 5 May 2024 12:43:37 +0200 (CEST) From: Ihor Radchenko To: mherstine@pobox.com Cc: Max Nikulin , Timothy , Karthik Chikmagalur , emacs-orgmode@gnu.org Subject: Re: [PATCH] Run latex more than once for LaTeX src block evaluation In-Reply-To: <87cyretut7.fsf@localhost> References: <868r2bw5qh.fsf@runbox.com> <886756d2-1428-4117-8ab4-3f4e6b01326b@gmail.com> <87msqof1kh.fsf@localhost> <2fc939a6-3211-4627-b4e9-274d7b6179c0@gmail.com> <86msqjv588.fsf@runbox.com> <87cyretut7.fsf@localhost> Date: Sun, 05 May 2024 10:44:50 +0000 Message-ID: <87ikzstu59.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.41 X-Spam-Score: -9.41 X-Migadu-Queue-Id: 0928169638 X-Migadu-Scanner: mx13.migadu.com X-TUID: Fb2FGk5cRy/m Ihor Radchenko writes: > (setq org-preview-latex-default-process 'dvisvgm) > > #+begin_src latex :results file link :file test.png > x^2 > #+end_src > > #+RESULTS: > [[attachment:test.png]] > > ^ This is actually an svg image, renamed to "test.png". > > So, it makes sense for `org-babel-execute:latex' to override > `org-preview-latex-default-process' temporarily, to something actually > generating .png file. Now done on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=43ba00b2b I introduced a new custom option org-babel-latex-process-alist to control ob-latex behaviour specifically. For now, it is preserving the previous process settings. No repetitive latex runs. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at