From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oAHpH6U4WmR54AAASxT56A (envelope-from ) for ; Tue, 09 May 2023 14:12:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OIrcH6U4WmSjNQEA9RJhRA (envelope-from ) for ; Tue, 09 May 2023 14:12:21 +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 4B9423048 for ; Tue, 9 May 2023 14:12:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwMCD-00077k-KJ; Tue, 09 May 2023 08:11:57 -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 1pwMCB-000778-9A for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:11:55 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwMC9-0008Rl-GC for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:11:54 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 5ae498e5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 9 May 2023 12:11:50 +0000 (UTC) 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> <87jzxhvhhc.fsf@tec.tecosaur.net> User-agent: mu4e 1.11.3; emacs 30.0.50 To: Timothy Cc: Ihor Radchenko , Karthik Chikmagalur , Konstantinos Chousos , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system Date: Tue, 09 May 2023 20:10:12 +0800 In-reply-to: <87jzxhvhhc.fsf@tec.tecosaur.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683634341; a=rsa-sha256; cv=none; b=s7IX2+lVm1kau2Av+rbHtcMoip8ln/Wu7t0i5Gj39OzZbGnmw2SWiBR43D7OpnR46fMI+x eGlmMs/2kJmCU5LH85nIfU1gysBqZW2mZfj30Jj2xo+Haoo/pGibm/jp+hRQx4Tf1iDmrV /0uz2fCqWMR5eqds4w6ANUbOXR1urQ8y2ccPu6PQyyvPd4XuQ3lfaU/AShKiNrmuO+AAeH uFnLJnrCKdEoJUNrZoDJxla3cUTjaFMC390VhnJDHEPleRL7GNDjHEGuMIuxHDnFqWHWmb h8moUUmeCkI5511ibJ9X4bzaDmOTUxApGNxMOVLanuzooSPqD9Q0ePrjv9qrhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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=1683634341; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=30fjOsWkntQghQGkmGnRIZxD8aYtpR6jsinv43R3U8o=; b=F8Ce6CWFWVNzdM+XBTtPfis+gTC9MYAIZUqUIGLn0OYDIDTAK1Vp3EER4uIDrRIU9ZAWWc 6FOMWInj9cNZ9lQbgQxn/ZtPXwb9IGdgOxZaC+ewWpA+dc8abTrDdAvwGvret3ySd24HPi 8nt34nBTlOrgcwMIuLt5Aq7nNxL5LBjTBQC/mPe667zbOshmpuQdBhCt88FH0EbyL2e11l DaFpKTt7ovJueHrJK55QsUUfV2qmYyT2KnB+zv8fqrSfXlQTkq+eBOmAVS2IJxMrKTODBh BXDer+QTDE5SwsfcI8lf3r6UKW62/HtWXclHCgYdhQxzt8ZolAQ2lNWYaiLZAQ== X-Migadu-Spam-Score: 0.09 X-Spam-Score: 0.09 X-Migadu-Queue-Id: 4B9423048 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-TUID: MHtfoYBNZMqD Timothy writes: > 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 a= s document > compiler=E2=80=9D, but the hassles we=E2=80=99re currently experiencing w= ith XeLaTeX/LuaLaTeX > make us think it could be worth adding an override option. Since we had been talking only about LuaLaTeX being slow, can we also establish whether XeLaTeX is slow? I don't think we have confirmed this yet. Thanks. > All the best, > Timothy --=20 Best, RY