From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ePddMmHr/2X6AwAA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Mar 2024 09:59:14 +0100 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 ePddMmHr/2X6AwAA62LTzQ (envelope-from ) for ; Sun, 24 Mar 2024 09:59:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KZfcmr6j; 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=1711270753; a=rsa-sha256; cv=none; b=g1ul8m/T/iDx6MmQb2dao6A2v+HpbxE+cDnBR5eXuCeuwMYbXI9uat5nX5X2HzolEVS6nt G2XL8q0zQD1Vmf+YLqnckR5dKSkmCTDNjWtKqyHvGAr3H/61m5OjNKkduHEz1YpP89j1SW x5OL6D/PICpYiSsgx5+oVESQKAPYEANHKITCjkkIR4ntGN9gMrM95rIBy0hCQ/q1lKhxwx D5teAwBPHQLckzgiWL9wcJLe4TOl7oV+eV9LHHRC4qMp/QRf96SDxlylWxrN/sgDOfiWy0 +TVHBqJtIONjPVq4hLWMRc29bOwLfqTKXRneutKS9yEYozlZFb5HE+4tk9DzvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KZfcmr6j; 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=1711270753; 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=nen6Gr9xOkZXmoYl7PX80Vp78ouC5w8ssmhYmal0Yk0=; b=UmdUPg+xjdcxNFwxmnTnrBBqKduMOXSx56yMNPSrYWuq57PmwsD6IUkAvKbamIZ5e764I8 GP0dTZ15zo9+WOmb6bcrzpX7yfoLs/4g8mKbQcb15aGJE4oJEpfBQ9zy+LmBbRqOypFyep I5GIpZGl+X/TSWawdF53kzt9y5PXs7Ff3D+gL346IELdv8fBZl3fqEumyT0yMkAru1/pmm zV2HWW1OCmk62i7Jpy+h9BKH1C//Dc3ALXct8GukMjCIFWBJ4lutYWBMYJV8NjrLv8crRE y576wq8YHZNk1GhPgLfn5RyYUcaTP7w7M8y66Mtb0j0BwjsmADtuUaGGNyAWDQ== 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 54CA623400 for ; Sun, 24 Mar 2024 09:59:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roJgs-0008CC-5Z; Sun, 24 Mar 2024 04:58:55 -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 1roJgq-0008By-B5 for emacs-orgmode@gnu.org; Sun, 24 Mar 2024 04:58:52 -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 1roJgm-0006JG-SL for emacs-orgmode@gnu.org; Sun, 24 Mar 2024 04:58:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8E85B240103 for ; Sun, 24 Mar 2024 09:58:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711270727; bh=YfEwe7RYIYLQq1oWGFzBo1N0leR+7kiQ3qetEMxr2/A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=KZfcmr6jZx/go3iclVe0zDTi1piJoWAUB+126tIb4ixRW4dyA4dKIn9I3JxGdoLjz ImPeZ53Jf046SQ4yAHZmVBhfJhiFEmPHuIk+pMkINne3slk3PqIk65euy0JInbK8km DIVPDZMaBnJLey6arM2SPtOJtagvwIt39H5e1XBcVRAX2QKDr9yWFR3/PxfFTMQedv CjlSUKbUQlsfdA14cIN/LS+R7olb2xgIhtYGHymMd2ozifEUAP8S4GaS2Gw7A3YDXB 6qvPIfQavO9gMFJN1afnx90sX/2hGpRWblvVdWUS9mLn7TI5S9hv9Ojy+YjuFebR5L 5lMpEHqfFvhrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2VNQ3d9hz6tsb; Sun, 24 Mar 2024 09:58:46 +0100 (CET) From: Ihor Radchenko To: Max Nikulin , Timothy , Karthik Chikmagalur Cc: mherstine@pobox.com, emacs-orgmode@gnu.org Subject: Re: [PATCH] Run latex more than once for LaTeX src block evaluation In-Reply-To: <886756d2-1428-4117-8ab4-3f4e6b01326b@gmail.com> References: <868r2bw5qh.fsf@runbox.com> <886756d2-1428-4117-8ab4-3f4e6b01326b@gmail.com> Date: Sun, 24 Mar 2024 08:58:54 +0000 Message-ID: <87msqof1kh.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_H4=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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.83 X-Migadu-Queue-Id: 54CA623400 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.83 X-TUID: F4yMedjbWIOz Max Nikulin writes: > On 22/03/2024 05:55, Michael wrote: >> 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). > > I suspect it may make the LaTeX preview feature unacceptably slow for > documents heavily loaded with math snippets. There was a proposal to use > LuaLaTeX instead of PdfLaTeX to provide better Unicode coverage, but it > was discarded due to significant slowdown. > > If it is true then it should not be active by default. It makes sense as > a user option, but I am unsure concerning required efforts. Then, we may instead use latexmk - it will run latex as many times as necessary. Also, performance will be less problematic after Timothy and Karthik merge their latex preview branch. (they may want to do measurements though). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at