From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6DNQG2ZnL2Y5ygAAe85BDQ:P1 (envelope-from ) for ; Mon, 29 Apr 2024 11:24:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6DNQG2ZnL2Y5ygAAe85BDQ (envelope-from ) for ; Mon, 29 Apr 2024 11:24:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=F2Hytd5Q; 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=1714382694; 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=LGpl3HOSLLpWFaFDfQehb52mzkY6Sy62ICUDDxxvdBQ=; b=YE701Oh7i7T87nPE0ux+/oBmuDZQ0wtCFtlH1f+CK3mmVrRVmqxAJGRRSRPeJovDK9X4/u B4e+kNcNTGp1+Zf9wz6iREJZ5HfUPFd3/1/Le7yg4w24mCiTnuSUHCIHGxCBOF/bm3d1Db BGs1Ftku+Cte6DjEkMAm3buJEQ4UqXLdME6GeAXJarpIcNz1vNhpF71idSrfZcFmaYPy4h f66Pwo8UpQbl4D49b0gndVkImKIGFdRgyfLb5HqWmJ+hKQI6HfflRjkzEe1mxtQDE7nbI0 pzVpcj4ssEo46gK+ALiO+8Duar7/6VwSLsF3QVlLJIDWvvE/NlmWfdc578QVAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=F2Hytd5Q; 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=1714382694; a=rsa-sha256; cv=none; b=m/281PtAbVt6QyV+J9K5CmDUt9xdlB7L0JZ1zyVkE5KtxQFv8SAiOuuL+36mPNsu1rhGjN FLShDZFNWJdAPjCZO7lrc8PnBSc5QWsCISHOxNOb3jhe4QTQuA7U64Oa+Oz3chrJJl+bXq LqqHsZAP3YN5iZamzB+CJ41gILaZZoFtMuEooxWipdWHKCeHBdP7cPsAxe3AqLRl1cex6n uijDWEF2MlUmzIK+nBEUSi7lEGh2w1JyS9xO6CCfjf4j1MN4NnbAvLSrBYBsQ94421knd7 d/bOTqbpVWIgdhCq5FpdteM4RP1/ErJSZJoLnCmAKb40F7ixaqFUPcfCax13LA== 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 1B10D6A447 for ; Mon, 29 Apr 2024 11:24:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1NEq-0006zV-4B; Mon, 29 Apr 2024 05:23:56 -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 1s1NEn-0006ya-M2 for emacs-orgmode@gnu.org; Mon, 29 Apr 2024 05:23:53 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1NEl-0004Gv-Rr for emacs-orgmode@gnu.org; Mon, 29 Apr 2024 05:23:53 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A54C2240028 for ; Mon, 29 Apr 2024 11:23:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714382629; bh=X0nGieqKKAO8p6bg1d+rlIpNsNcl3P5HgxgCURkexJ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=F2Hytd5QSYfT9ftu+6rNaCVKgC5a04sIpRI2eMn8D+wx4YmM6BEablUhjU2vES7zP I4d8Ps1/vcvV8stqmT23cFYY55KSR9jprDxW7LdsKvNrLkEC1vBV4cuzoA4Ea9H6oM 1UkFuWyKaoL1oox9I/mZ15+neyb7aoY0xLxaz6H7ZB9SwQRa0eFrFIVv+vz5fO983p Fwz56//TtdilD1K64SMgVrBqzgwBxtQCy0WVjVpJGJ0K4rh+WWX1b5BKbfvKVJ2sV9 g4p98UastkCYcY8GuJwmOy0MWvIwdQYUF+AbElqjBj0iSlMzq/uNFpvHEzPcgi3zau HjFtSQmrje7iw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VSdDh3g6Yz6twg; Mon, 29 Apr 2024 11:23:48 +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: <861q7kwub6.fsf@runbox.com> 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> Date: Mon, 29 Apr 2024 09:24:52 +0000 Message-ID: <87plu8cyhn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.40 X-Migadu-Queue-Id: 1B10D6A447 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.40 X-TUID: t7cHb2sOfqaK 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? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at