From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 8LAiHsO0ZWaXywAAqHPOHw:P1 (envelope-from ) for ; Sun, 09 Jun 2024 15:57:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8LAiHsO0ZWaXywAAqHPOHw (envelope-from ) for ; Sun, 09 Jun 2024 15:57:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=aDN0Ggcj; dmarc=pass (policy=quarantine) header.from=runbox.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717941443; h=from:from:sender:sender:reply-to: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=RPzZk578n30jMxgUvczuQIik63SuCQgJMaJD8jxYZQo=; b=CtInRjdvFpsAb354bgJOy3khboakLjwa+YEBFov48vlnDENiCWRLzg9oLruwPHdaxGPCFT SSdzwE/zIfbcfOdFjN2Zmpdh2E2BHVKg5d666cqZy3Ufd3UQ/KnsaLsjYGE5wLPICdsjPt 5b+rSe4g7XGY9OpjATX+6LVxGQ0EQD/PnuwN/FAvuGbhCceAbBgLclgKm8aQ15PCtiLzYJ AqO/R0UexjDfDNVcPSE6LcsJpzUR3+U/W0Y/OW9IEUXFGwHG0jzK0+kuag5DerBCaM/aMo kKABFaxoa7aRUOO1Bl9xFZp6TUUS96wfQETNbg6icHi1L7InGW6FPkvOpUImmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717941443; a=rsa-sha256; cv=none; b=Ngz8CWcVGud1rE4OuWt3R+IiNqIYEjs36rhxDTCcJJfN4u/o2GwouZzaiVIL+hb9DgTOqh y6/NglzS5BjED9ixSg+zLcMaBNuTTHOMkZQnHvm4q8SepbqY2HuLIEIKvYp10qKCzNe3dS TDmxou2Bihb+7C47EmaJjBvLUBID9tprj2HnqmHvMGRWE1dExgDuZJYXxDUOX2Aiha1AC8 E9ICULON+5CfaL0GgrQLy29wE4ALKHDzdTsc0s0V/zv3q5iuAZxUklzW6sNcqlxK1vGklh uelMXyDdij9HmWrjfOQqWKmDN5j13HcSmnjplJM/lqaAvh+qpIrMSFTvc2250A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=aDN0Ggcj; dmarc=pass (policy=quarantine) header.from=runbox.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" 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 5F522CE76 for ; Sun, 09 Jun 2024 15:57:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGJ24-0000Zi-Du; Sun, 09 Jun 2024 09:56:28 -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 1sGJ21-0000Yz-Ui for emacs-orgmode@gnu.org; Sun, 09 Jun 2024 09:56:25 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGJ1z-0003eC-JO for emacs-orgmode@gnu.org; Sun, 09 Jun 2024 09:56:25 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sGJ1s-008J5R-UN; Sun, 09 Jun 2024 15:56:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Type:MIME-Version:Message-ID:Reply-To:In-reply-to: Date:Subject:Cc:To:From:References; bh=RPzZk578n30jMxgUvczuQIik63SuCQgJMaJD8jxYZQo=; b=aDN0Ggcj+uQZODXoMnP6PXXIg1 siDkhHrFToJbKsTvQTqSgx47tPhyQ6GQL02RDtaJx4wxl/RYzQaTltONzhw/VVhMdD+k5/FPXNbYy xO1nfC3rIvhVXA6tK4mhu8v4RN0AcakZZl+eTdSUI5YldsgRPa4iB2sz1G0Omhzbh2tiSXTCG8cZd vQFJwkescCA7EJaWKbtoAK+4v85CM8xtC6XGvjBDttS3rl29y4idtPuYYZuMb0At+9X5qXw6lhnhX l0bOAZvtBW9nFa/VpyDA0YS0nO6U0ACKrwGKvaIPKmdx6X7mzp1ClpLuIfWimHpl5CI9p0YhH7usp phU98LxQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sGJ1s-0002Df-C3; Sun, 09 Jun 2024 15:56:16 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (942723)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1sGJ1p-00Brsh-HF; Sun, 09 Jun 2024 15:56:13 +0200 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> <861q7kwub6.fsf@runbox.com> <87plu8cyhn.fsf@localhost> User-agent: mu4e 1.6.10; emacs 30.0.50 From: Michael To: Ihor Radchenko Cc: Max Nikulin , Timothy , Karthik Chikmagalur , emacs-orgmode@gnu.org Subject: Re: [PATCH] Run latex more than once for LaTeX src block evaluation Date: Sun, 09 Jun 2024 06:55:47 -0700 In-reply-to: <87plu8cyhn.fsf@localhost> Message-ID: <86cyoqgqyv.fsf@runbox.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=sp1ff@runbox.com; helo=mailtransmit05.runbox.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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: , Reply-To: mherstine@pobox.com 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: -7.98 X-Spam-Score: -7.98 X-Migadu-Queue-Id: 5F522CE76 X-Migadu-Scanner: mx11.migadu.com X-TUID: ApmkHIkBwaJZ Ihor Radchenko writes: > Michael writes: > >>> ... >>> So, it makes sense for `org-babel-execute:latex' to override >>> `org-preview-latex-default-process' temporarily, to something >>> actually >>> generating .png file. >> >> Sorry-- got sidetracked by something else. I see what you >> mean. OK, so the proposal is: change the ".png" branch in >> `org-babel-execute:latex' to override >> `org-preview-process-alist' >> with something that will: >> >> - actually produce a PNG formatted file >> - by default, run latex more than once, tho this could of >> - course be customized > > May you prepare a patch? My apologies, Ihor... completely missed this. Yes, give me a day or two. -- Michael