From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oHgJBv82WmT4bAEASxT56A (envelope-from ) for ; Tue, 09 May 2023 14:05:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qDO6Bf82WmTsIAAAauVa8A (envelope-from ) for ; Tue, 09 May 2023 14:05:19 +0200 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 EC67F3AD98 for ; Tue, 9 May 2023 14:05:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwM54-0003Lp-EU; Tue, 09 May 2023 08:04:34 -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 1pwM50-0003E1-Vu for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:04:31 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwM4y-0006h1-Uk for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:04:30 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 17A593200944; Tue, 9 May 2023 08:04:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 09 May 2023 08:04:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1683633861; x=1683720261; bh=9B UTUWHo+rd4vMfoQwfuiY0QKcGoPtZitAHNeoCFlYE=; b=akjmJQTbzaXdwRc/OX tThuJy0rnXuTRAefGb0w40R5sK1aRFQUGbhmBmLlvqWbi1L1IeZ8OJSgG1qeBUK6 arsiKVBco1WW4W6zTRzBXfd0hXUWph+mmj4jYHc+gUANNvOKSdTrJ2v12fVT/O7x B/qy6a9nzL0afHGPaityHgHpDeJZTOS6NDLpV4HdLk5LGHgeVPbJxWpmgmD+jKUa 69I/NV9NBse5MwTA2R/ZxTSdCJQSRY/o54+fKYniwmR2IboLwd4siT3IBKcYSBJD q3LK84o/ZfW54OjXsrUzHBQzAHVQJrzt6WYjqKtwbbw9u+0iH38y6grHu+dH2EjB c4Uw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683633861; x=1683720261; bh=9BUTUWHo+rd4v MfoQwfuiY0QKcGoPtZitAHNeoCFlYE=; b=d7RTXftQoPoTLHxjtFpaN4XhKCrDU AYhjT7Sqz9hnm1vO9i+uOpNOA1g0GDPyqAgYqbCjKybIBy1GoPcV3g5EeLmysIao Hq9lvxdKqWa50lIwXodLPw5CZMXpH6DI0DOiDcYuoju9kRn7TpidbhdSdThYenev 3nsmwMJDUNaCkw9NGHX/a0vo9R8ByV7j6o6CtAaT/l29jsJDNtbL6NC2+xNgNPkJ KXm2MR68w0NHFyT15n2/NfiXDAjK3bKHmmGdx0PWhPEcFUpoTDLHd3DORCqLyytb bLRj4nZYucvYgA1w/1orcxDhAQhrsFQJDYTVhZnW82L6CxKiHes5ifY6A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegtddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefuffhffggjkfggtgesmhdtreertderjeenucfhrhhomhepvfhimhho thhhhicuoehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurhdrnhgvtheqnecuggftrf grthhtvghrnhepieduvdefkeeffeefgeeiuefhkedvkeffjeejtdfffedtgeelveetffdv tdduheffnecuffhomhgrihhnpehorhhgmhhouggvrdhorhhgpdhlihgsvghrrghprgihrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 May 2023 08:04:20 -0400 (EDT) From: Timothy To: Ihor Radchenko Cc: Karthik Chikmagalur , Konstantinos Chousos , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system Date: Tue, 09 May 2023 20:03:10 +0800 References: <87lek2up0w.fsf@tec.tecosaur.net> <87a5yiveyw.fsf@gmail.com> <875y96y5he.fsf@di.uoa.gr> <875y96v90t.fsf@gmail.com> <87v8h6zdw3.fsf@di.uoa.gr> <871qjuv101.fsf@gmail.com> <87zg6hom0p.fsf@di.uoa.gr> <87pm7ah9ol.fsf@gmail.com> <874jol20xy.fsf@localhost> User-agent: mu4e 1.10.3; emacs 28.2.50 In-reply-to: <874jol20xy.fsf@localhost> Message-ID: <87jzxhvhhc.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=64.147.123.21; envelope-from=orgmode@tec.tecosaur.net; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683633919; a=rsa-sha256; cv=none; b=XUFd/NQDpkKThThBsddFCGXdOGddcKUF4mleT2Lm3XK0ZAocnmU/mYLg4FWJApHRQbqq7L WCIqieJz4iEYKPe/VoD95m6ijDqRTpPxIDu1hykbOOhc4vCV6tdNp3IBGDBlHn4BrKGahm V0fL0K+MptgsuJI+9BT4UoQZhJRxTTrVnXJbuVVWwn6PIpd+QWLvlPFcFYKXEWO5eIFlsa mqHvsTAtkKJsHQjq+yurAh31hOC7Evl1LMBnuazS0WmNXQsLivlEVFDLZ6vmnBnbpYuWAs hhNVkFqbdRhCsxmF1HoC2+83MC/hLVw0yvfINWjqHvG+1Rjh0YNZqZhAgP6OkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=akjmJQTb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=d7RTXftQ; dmarc=none; 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=1683633919; 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=9BUTUWHo+rd4vMfoQwfuiY0QKcGoPtZitAHNeoCFlYE=; b=Br/oVIppR70vowOnRWL4JFsnFdIzI8apOn2ZSv7nE8PEUfSwEAlKg2Tk6k90Sj2BcluvgT 7cLgNY4gsjpAQaMrQFuJExGEC4AHAatcTVgBzDgDIMoWzvbNuyUbjyU7hIHcdfCaQGif6Z 4U8Ct1Rcs2UC8Mo5bL3uw3Bubue2VaspvTBZbgkqz1gp3TkoPSJ3WKOB/QsbE/qKnMGLz1 SVhYD7/BQSu2Ifu14p7rLE/zHsUmwDjynFb7c8JVPEp3yWRM9opSRHIoDfMEJeunjrikag D7uENk67bYVbvBmcVMquwGihnCBUjMbg7ONDNi0UrgmqkmT6U+mLWZPxAR+4kQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=akjmJQTb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=d7RTXftQ; dmarc=none; 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" X-Migadu-Spam-Score: 4.92 X-Spam-Score: 4.92 X-Migadu-Queue-Id: EC67F3AD98 X-TUID: k9pj4D7YtTjZ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor, >> As a result of this issue (plus other issues with xelatex), I=E2=80=99m >> considering adding an option to specify different LaTeX compilers for >> previews and exports, with the default option continuing to be >> the value of `org-latex-compiler=E2=80=99. > > I am not sure if it is a good idea. > I can easily see Lualatex-specific preamble simply failing to work on > Latex. Or things being rendered wrongly. > > One option could be trying pdflatex first and falling back to the > default compiler on failure. But only as non-default option. To be clear, the default will be =E2=80=9Cuse the same preview compiler as = document compiler=E2=80=9D, but the hassles we=E2=80=99re currently experiencing wit= h XeLaTeX/LuaLaTeX make us think it could be worth adding an override option. All the best, Timothy --=20 Timothy (=E2=80=98tecosaur=E2=80=99/=E2=80=98TEC=E2=80=99), Org mode contri= butor. Learn more about Org mode at . Support Org development at , or support my work at . --=-=-=--