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 ms13.migadu.com with LMTPS id mP7AIPENZ2YHkAAAqHPOHw:P1 (envelope-from ) for ; Mon, 10 Jun 2024 14:30:09 +0000 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 mP7AIPENZ2YHkAAAqHPOHw (envelope-from ) for ; Mon, 10 Jun 2024 16:30:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=M00KRn69; 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=1718029809; 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=K8LBdH+MbJysGdjiKq2qQDx+86dMF2LtSZV3NRPqjJM=; b=g6FCPTB+b7VLMWd0MoFRwpOwCNEAhZrdYX84UB4Xj1UlELPRLeHTYXpEU8MN6NdP9mLxzx ZJlpJWA3vJZrfvdo3YGcF4lvT/FBZzOy27LMmxosOQ6oG3EV+LD66T+ee0rCtWTod1XM8L XU7XTq/PRkQFoNaWpnWf3xx/AeiikK3PAaiuAeoBJrohg4yJ9gmJxMn2p0Q+oJalDPwwR9 NN3D1z/vEunGtFVN6M/fsy0gIGY44jzNPvjfujD0kgHbwk/9CHfPWLvmUxOIvsV9o/4RZZ yW3M2orL0E5HKZsDX2taoEqGTYWzk3V52OxobKp6mY6kKLf/GYMPiw7Nv38Z2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718029809; a=rsa-sha256; cv=none; b=OD16LZdB4tSNhgtKGeunIMbJskehP043x711fgrFYLJkgTjN1qJVQ/e2NcL4C0Y7+5ubGU zHswhEGQD1q/sA7v44yT4KZwE2V3r5XigLV3t/qlGLWa0AU92oplLMPdwpxazgG6N+I8r5 5sSGPjN2RDjhlXg7wW1MlSstvMGyKL2c/bdkhMgJTfYXDNMAc+35Ma/x5oLmjuRrpLvRUi 1F1X0HK1j0jvMIQpAsPMV4DcB4mY0g7cSmQ/raWV5dcjvvtv3H9w4wJ0jW8rQhgRfwQG8d Z/HAAMgmquhX+CQQSmBBFCW0sdyTEjIPcw4NtpVQb96xyfchJKJfHqayOGrCKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=M00KRn69; 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 E41826757C for ; Mon, 10 Jun 2024 16:30:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGg0S-0007bY-AF; Mon, 10 Jun 2024 10:28:20 -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 1sGg0R-0007bH-9t for emacs-orgmode@gnu.org; Mon, 10 Jun 2024 10:28:19 -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 1sGg0O-0006l8-8f for emacs-orgmode@gnu.org; Mon, 10 Jun 2024 10:28:19 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] 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 1sGg0C-00Aroj-Du; Mon, 10 Jun 2024 16:28:04 +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=K8LBdH+MbJysGdjiKq2qQDx+86dMF2LtSZV3NRPqjJM=; b=M00KRn69j/D9rgKhaVdrFN+gcv FzO+/gOMfnkYsnesvKuZ3duCylqsmD73O6pYTCp3hMy8RUA9N2zYG9I7BGrHeMyuTU8j4USrLKWYC +msujxSzy+y4vXiPJkFyUW9SnNoKGG0x6viZjU9wY/sxAvz5hbHssvXLrmDY3IZn5yzbb5UR4XObE 3+o1Yfz9OYsduFO9JvlR8b3TPeI9Qf9hP7LYGohtaYfh+c1tdhDV5CavoWk7KPb6WFJ6Cs8J3Xs0F ddGa6yK6T1qgVGPxZatlZIbOmzZ479gwgY3xjbgaRmSrRg4Uhu8+hFDVVA/aPwKhf+ycDC37+P4Fu z7cskAow==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sGg0B-0004AE-O3; Mon, 10 Jun 2024 16:28:03 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (942723)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1sGfzv-00FfA5-En; Mon, 10 Jun 2024 16:27:47 +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> <86cyoqgqyv.fsf@runbox.com> <87a5ju2gsk.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: Mon, 10 Jun 2024 07:27:37 -0700 In-reply-to: <87a5ju2gsk.fsf@localhost> Message-ID: <868qzchnz5.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.97 X-Spam-Score: -7.97 X-Migadu-Queue-Id: E41826757C X-Migadu-Scanner: mx11.migadu.com X-TUID: 8nhS6k5QphzI Ihor Radchenko writes: > Michael writes: > >>>> 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. > > FYI, the patch implementing the suggestions is already in place. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c426f4936 My bad, Thank you. -- Michael