From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id IILwHJnUXWaaLgAAA41jLg (envelope-from ) for ; Mon, 03 Jun 2024 16:35:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4PIIFZnUXWag4AAA62LTzQ (envelope-from ) for ; Mon, 03 Jun 2024 16:35:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=posteo.net header.s=2017 header.b=O+r0zieb; dmarc=temperror reason="SPF/DKIM temp error" header.from=posteo.net (policy=temperror); 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-Seal: i=1; s=key1; d=yhetil.org; t=1717425305; a=rsa-sha256; cv=none; b=Rl8lwYiI26xOHiD0LJ5sd9oLVRkcRI8/T60/LVsw35x98MVjCsjzkoCCx2qP2VoFWyFB3w icidvU0in2S2cVysuGu8FaQgOxXIp945HESHaKG+Te3AczBTw6Yxg9y1sXWtAoXogp7OZe Q8tvHVtEIp/++0gvPl0yNt7o07DvG0tIQa7hseOhjCKJucNiLn4C5YMeTtEvK88zDQ8kL7 6e3mu2P7ypFovEyKrWednLqblGcVdM9IfHc8n9SBsKUDoSwheZTSOi1H5D/OId26LGJas1 Y0E3oFAG5fHEKNe/CMqPszltr7VBAYSqQbiSBSZgyE9iVbqh8WeKmn83WnkHVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=posteo.net header.s=2017 header.b=O+r0zieb; dmarc=temperror reason="SPF/DKIM temp error" header.from=posteo.net (policy=temperror); 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=1717425305; 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=lbWOZi9JtBtA+fMw2qL5kagF6ITTLMWkEdKEx/N+MDM=; b=JXwQuNBCTFSv6KZ/+53AxtWu/uKobIOQt0kNt1q793s87iT4ykraBB7jbdbh0j2UyG+l4A HFWHlxKO5HjiMjyU9QhOw3U/1QeZU6/ZeLdPAJbLhfOtgoJdfdekSDvt0ngQaVIXDk1nfb 0yRJaRCRdVWzDnakrvB1ofz9LylQpccFVaCCQgFs6CovlJLqjNsqDnRXVu9uSIoaOG1gK/ 8dxUDTuz1tfKxGfH8FRSxtb418Y8eS8/HIQSCKf1xADO9s0ejUAsSkTwJD7UEwaBsgKwtP mJmA2KGJu4B93r6b16Yz6LyRdz0PMS5yCApGTvnlLTbiDhgU/QeyZ4rKZDFjAQ== 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 B5CEC1F459 for ; Mon, 3 Jun 2024 16:35:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE8l4-0001hm-7W; Mon, 03 Jun 2024 10:33:58 -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 1sE8l2-0001h9-O4 for emacs-orgmode@gnu.org; Mon, 03 Jun 2024 10:33:56 -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 1sE8kz-0005V4-GR for emacs-orgmode@gnu.org; Mon, 03 Jun 2024 10:33:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3816F240103 for ; Mon, 3 Jun 2024 16:33:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717425231; bh=UzEUrdagXBu69snh/tKujcZZRBV+chkLQROa30nPdr4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=O+r0zieb3YiOtct2L7ixySO3Y6HtBlxOCLSPVeCQKSxgt1ESG1t0OwjRmsbiU2zDd teIeFwN8k5bXNC6yeSHxd4+EXHJ4UksArMbsW3vwIhfxS06o8b4nj2Z3uoTAKNCeCI WfhoI6nDytVE50XWh3QenOFtS/OCjHlI7y5099zYL5m+HMvRgDF9jNtK9Wf/zxlQp4 pTCYSr07D1Tx99/ypuyG6z4tOTsFiT9aL7U4KLOKrsvbJym4RQB0zui517wmC/dgXF bdOFgdJQVnk1pyzq22huA98TO6s1fGG/pNfA7nSdYddt5wu4Bs3VLiWGzBIvqQfRqc v6ZUXfJCCh21A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VtGSG3nK8z6tm8; Mon, 3 Jun 2024 16:33:50 +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: <87plu8cyhn.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> <861q7kwub6.fsf@runbox.com> <87plu8cyhn.fsf@localhost> Date: Mon, 03 Jun 2024 14:35:33 +0000 Message-ID: <87cyoynlfu.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B5CEC1F459 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.04 X-Spam-Score: -6.04 X-TUID: hWBc0Z6CYUbr 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? I now changed the defaults for ob-latex on main. Either latexmk is used or latex is executed trice. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c426f4936 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at