From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 oFLSKzAvWmTDVwEASxT56A (envelope-from ) for ; Tue, 09 May 2023 13:32:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mH69KzAvWmRTaQAA9RJhRA (envelope-from ) for ; Tue, 09 May 2023 13:32:00 +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 74F57399F8 for ; Tue, 9 May 2023 13:32:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwLYm-00086D-DD; Tue, 09 May 2023 07:31:12 -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 1pwLYj-000863-9L for emacs-orgmode@gnu.org; Tue, 09 May 2023 07:31:09 -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 1pwLYc-0000J7-Rc for emacs-orgmode@gnu.org; Tue, 09 May 2023 07:31:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0C10D24025D for ; Tue, 9 May 2023 13:30:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683631860; bh=2vcetZqqxAGdjEZn3zjie+aqA4haWtV6LqgKOFl78Qw=; h=From:To:Cc:Subject:Date:From; b=A4RCbZCG7Y+QxCvTmCdy1YPbHfOiSZ+hW3R7Y4IK9P1VNYQeuM/65s2VLC278ERma 7bS0Ii9pJpmvsPj/m3agjrpdK47ZWqylhkTm6EO0Lpkt7YKP5AeLWUlv349cpyguuT BF4oVeJxZKcJW6t5Y+lu8ZEkGcfK+DRb1fcZYGva26xMZuTsyrMj4t93PogsYAVyy4 dwhj74/oD0RYg/2y8fPaLkSfMU80pxtU8S+kGb5fh1zB+EzPyrHBbhCmmLcNyAodkp tqLywZ68ZLQUJyYfmK6M0/NrBDmi9SILNfRv2kUaFuK/39GkKrrvq9XpCu9ViOrumB cpkIGpT/9AwBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QFwvl24wrz9rxL; Tue, 9 May 2023 13:30:59 +0200 (CEST) From: Ihor Radchenko To: Karthik Chikmagalur Cc: Konstantinos Chousos , Timothy , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <87pm7ah9ol.fsf@gmail.com> 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> Date: Tue, 09 May 2023 11:34:17 +0000 Message-ID: <874jol20xy.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_H2=-0.001, 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: , 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=1683631920; a=rsa-sha256; cv=none; b=SkJDsnjFear2HCbPrUMopymI0Ee2WwBr6GUbY9yfzEzDHlL8Aq5JyPHHKq8xJvf//102Mr FQJej+nGL8sRnXiehIIek2CG0TSLjg2FpIMsB47fWC7TabHOQrnW6Qkn5mlroaYuzvntVl 1siE2xifARZyxafRP8vWZ/uxXkzbHqJIz2EEsqS4COrRWKboIRe7A+ZzyW4K5iQAamjRtT xUNPYfvTIxGr3nwSfkDtcYwYs3QMBdJ90X/M/vNilc08RjULEvbjYwMRcMIitY5GuB2oLD QZwds16kl6wZe7Zvs+5nVXy0R7PEGp7TiMOz+FpHQD6ZX2JhWBmM7iqoqUstbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=A4RCbZCG; 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=1683631920; 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=6E/egeOZ8D+Rt5pY0wO+j0jO1X9F/6kP6bQ3dftLpr4=; b=qtMlGT2S+H5qqBRcJVzxe/PbFHIenJsMylCpyq8VyuvWCXLePFKQs4avGBDtC9n8+WDQsL GkB7deHIIWaUBCHoPjmxKPfcGdZoBVbcB0OpNsdlHUgkbq7A0Lu9EBXWweNQ2cnPey3w1o i6CF2kCotAucnX83nHOWbRvtjgjiAUQwGm5glHbKM3lx684RgTIQtyKyK1TXqwau3ssBGW VLi1FCicUL3llbKcor2ZPtcjZfXA+7w5f0Rh+hjMaIZuOPb3Qd91aJ8EUgu9XNg16GgBRX +d6ICZxhd8uYBlEWhTHVwGz79yaLd6YgxwftNnMlNtF4A3j4yHbxmyFPPX0r8Q== X-Migadu-Spam-Score: -6.38 X-Spam-Score: -6.38 X-Migadu-Queue-Id: 74F57399F8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=A4RCbZCG; 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" X-TUID: cSS4FZn+jXpy Karthik Chikmagalur writes: > As a result of this issue (plus other issues with xelatex), I'm > 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'. 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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at