From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 sKItNItCWmRrYAAASxT56A (envelope-from ) for ; Tue, 09 May 2023 14:54:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ILYKM4tCWmQa1wAAG6o9tA (envelope-from ) for ; Tue, 09 May 2023 14:54:35 +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 8BC403C748 for ; Tue, 9 May 2023 14:54:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwMqh-00077H-Um; Tue, 09 May 2023 08:53:47 -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 1pwMqg-00072i-AM for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:53:46 -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 1pwMqe-0001BX-Gd for emacs-orgmode@gnu.org; Tue, 09 May 2023 08:53:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6E21B240275 for ; Tue, 9 May 2023 14:53:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683636822; bh=CDERqQB15JC7dR3E1WXJMK0ksHo6q8M6MP1Ow3FXPHk=; h=From:To:Cc:Subject:Date:From; b=KRcr13c5ih1eJbn/NvWFsOECDnQke2RTCMCyXZ3+c9ViJLKGWRhDVvJthS9TfAPkV ZVhqiNcjJwfzWoAONrUSv4BI788IrpKtizyV1d6alhmY5BxP1iEAXWfSZuuwHfov0L eHAa/oMTcmXAU2G/EcB/ZnfvCKbkgXOAeGqqhy4oNEU17tKsHAa5imyUsD+lcg7TNp EXWolE3YbJT8mDu13x99+FLuQiV9CvHr7/R7lLeJbugETs68bvUvKUkzBizY5xjyW3 9HPTUx16RBRx9lavnSKSyd/kJsMpeh5StlQAzAxzs/FEqYG7IC9q3f6pTGaJ5Utd84 p34QRST06DTGg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QFyl96Z0yz9rxN; Tue, 9 May 2023 14:53:41 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: 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> Date: Tue, 09 May 2023 12:57:00 +0000 Message-ID: <87bkitu0gz.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=1683636875; a=rsa-sha256; cv=none; b=RPpC9kHICztwJhutyzYej85Woc6ev6ASjX/0GbmYq/FqS9SEj5UT7dDMAnMNgMn+QpRwTS 81bH1pEqrY8mZ9vUj+QbzPPpdY60Bp38vMnmL4KpI6WZOwexAZczpQAfM5XhAvXoolJ/Xq Xhm03KM7OcXz5P8TwD9ow9ytxPh3oJ9/evS0lw5UW3UC7oqJ3OmLTNE+ORKR8OG0L1bk/g d7Ox3GpOCy0Z+nUoTRcPikqabb4Xy88VeTnBdq9xPnbFt3eSoYxWWJByE07dQs4ScheT80 CwL3BPGJVjhZe8zLKhyZf4H7iGCLWNLilKhoQKowtAuAI5SwMv1dU+BWcJ//QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KRcr13c5; 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=1683636875; 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=iIEAxt7OGq09crBMPRlbMhcIDk7t6hziItQ0HI19Yf4=; b=LkcE0ZYv+GrqglUYvs7GCQMek4V2qSXQjcDEmceQm3DqgdvURS0LcKStV7YrPspJnpFAJG SNh5DTGqI4pL16jq8ZyqXOywYgfaxIvRTEeGnUkwb82Tvu2M1uBbkDGNNKO7mCMnukIqZG vmI9znDXiIjXRhKRx/A0sbmDBNaGSQQFY44beT/ZDVZqne8z+KHew6eM5krkZSiuHDc+Ek RVx9C9HgH7r+8h5fBNscYIfzJZ866ioHEOHMnLLXtKmC2hFdjrmRhfB3LByn0DEZ39CvMD v6x7dk4NigMZCg3LI1kvIf3d8ZLaDG+YiMNJ9lXMbVyIxfrpp9nEzEkAeumcvA== X-Migadu-Spam-Score: -8.38 X-Spam-Score: -8.38 X-Migadu-Queue-Id: 8BC403C748 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KRcr13c5; 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: IZHu++bTaQWi Max Nikulin writes: > On 09/05/2023 18:34, Ihor Radchenko wrote: >> I can easily see Lualatex-specific preamble simply failing to work on >> Latex. Or things being rendered wrongly. > > iftex.sty has \ifpdftex and \iftutex (XeTeX, LuaTeX, LuaHBTeX) commands, > so it is possible to create universal preamble with some additional efforts. Sure. I mostly had user-specified #+LATEX_HEADER options in mind. They are unlikely to be universal. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at