From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eBKHIFmA/WWMRQAA62LTzQ:P1 (envelope-from ) for ; Fri, 22 Mar 2024 13:58:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eBKHIFmA/WWMRQAA62LTzQ (envelope-from ) for ; Fri, 22 Mar 2024 13:58:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iFeYJrak; dmarc=pass (policy=none) header.from=posteo.net; 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=1711112281; 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=02oXe/n0UGHWtF7UZx9v5u0spCvVT8CqxEJb+BJaj3s=; b=HstQxgriNyYIFZg0OOhBsCSvm525XIrW5G44W+VB5RSMLUqtb8bJtYNqsHEccnglMMPnE9 dFPPBcwSmY/qX+Y/VhE+zjMhvtTthK/lWT2kt1Wocdw33aTC402Yy7HJ8KTke69qCGgKY7 1YFqG4t65hyU5mve0gAYyz+pwG2YEwz20VlsIxZBy/dQqqruSA5h/ufIxkfL60g9h6jHLT rXmZIEBchu44Pmm/siRRO+Obe2v2fTFnuXT1ppd2ErHsYIPithncOGcmDWXxrJOvltPFYM BIZNsk34a/y3Im4PU3vCbRapn3r1Depl9zBdpgzQKM/eQrSXFXld4PFvTnsjVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iFeYJrak; dmarc=pass (policy=none) header.from=posteo.net; 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=1711112281; a=rsa-sha256; cv=none; b=rL6NFJODYNFx0mq1ZMtQHmkXVpTUM5sluGpoSBlB5juav923Y59gLrw6WHNYhBSfHwa96X gL6Y5O1gOjirdRfARrT087aPARWMBUlS33AbtUdM8GcVcv6NvklG2FVAsffAEDRmWFnfeb iwgQWIk4DpNmNuTHVndv5rBizm3Sq0PtdypiQwgb1j08mpaD/GlL2t0kvi54aaTOAkDzoW mcRELcABbUJYgssdlRWBpSuPa1nUlB6PVae7nhqlbiTzK3E57htAt8KLUp+pTL2QIUfPJo WGS7kQ5n1+HwR+m3Rj8YUOIuUmJsn2g/BMmkShUTUKvFkLjyl+JH8BwYemvdkA== 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 47ECF3EDD5 for ; Fri, 22 Mar 2024 13:58:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rneSE-000509-9X; Fri, 22 Mar 2024 08:57:02 -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 1rneSB-0004tl-Bt for emacs-orgmode@gnu.org; Fri, 22 Mar 2024 08:56:59 -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 1rneS8-0004Ij-JM for emacs-orgmode@gnu.org; Fri, 22 Mar 2024 08:56:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7428E240028 for ; Fri, 22 Mar 2024 13:56:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711112214; bh=I4A2sUrzsripUP9A+Qqilzqm6A8cWZaQeoMafhLjctE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=iFeYJrakb2GhKHjLF0JmZzhZwDQtNoHehJLqRLBnFKfanSLVtIEdT/fWXJHLYpPgy 5Jip+PTUnoHvlZvy9xbkgg5hatWUgEZtW2To53xTccQy0b+ahseBnqzoU+UXMohcqf HAgKSSvdVULkYciKbWkWWuuj0vvFZhi2wv1BAIaADr94m5TMegqM1f87pr4MQIS4P+ ++khSyJFe8yr6roEzPR55uJdKH4DW/k8jLRsrH6YbnmR/HBXmxtxxisKepCU6maYxj LLPvljHH5wWDBF+lATAHGtrfv0FeK9ps4ZT8/HdDqJtqc9LCYYfHHreo3liAvD1RTd PnqSyXZmjQk8Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V1Mm55GWMz6tvh; Fri, 22 Mar 2024 13:56:53 +0100 (CET) From: Ihor Radchenko To: mherstine@pobox.com, Timothy , Karthik Chikmagalur Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Run latex more than once for LaTeX src block evaluation In-Reply-To: <868r2bw5qh.fsf@runbox.com> References: <868r2bw5qh.fsf@runbox.com> Date: Fri, 22 Mar 2024 12:56:50 +0000 Message-ID: <87le6atofh.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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.55 X-Spam-Score: -6.55 X-Migadu-Queue-Id: 47ECF3EDD5 X-Migadu-Scanner: mx11.migadu.com X-TUID: lmfvaHdxMKzb Michael writes: > I have a small patch for `org-preview-latex-process-alist' making > the default setting for LaTeX source block evaluation be running > latex three times (instead of the current one). It is sometimes > necessary to run latex more than once to produce the final > document, a phenomenom described in the docstring for > `org-latex-pdf-process' which itself runs latex three times by > default. This patch just brings the former variable into parity > with the latter. Thanks for the patch! May you please describe a use case when it is necessary to run latex multiple times for previews? CCing Timothy and Kathik - I see that https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L102 still uses a single compiler invocation. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at