From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBP+CZzXtWD6BQEAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 08:45:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8NdzBZzXtWCaRwAAB5/wlQ (envelope-from ) for ; Tue, 01 Jun 2021 06:45:48 +0000 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 0142912C82 for ; Tue, 1 Jun 2021 08:45:43 +0200 (CEST) Received: from localhost ([::1]:54996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lny9l-00027U-VD for larch@yhetil.org; Tue, 01 Jun 2021 02:45:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lny95-00024D-9j for emacs-orgmode@gnu.org; Tue, 01 Jun 2021 02:44:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lny93-0005rf-6u for emacs-orgmode@gnu.org; Tue, 01 Jun 2021 02:44:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E5F112400FE for ; Tue, 1 Jun 2021 08:44:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1622529893; bh=Dwej5qpIXhHy2auDlR4ftxShaZAABvNgL+gmuJ8Dia0=; h=Subject:To:From:Date:From; b=XJv4K3GWXcexhwfyrcASht+y0DCR2FAyjGw7fZg+yWVBSCWLULzSilXXj4/WwJGUA MeS6KGh8TbZrb41+8w9NGBuKtrfCFHV4SXIifh/HUpISqJTg7qgteXi9Onq2WCcAcc z5KpXOd4QfAsldCU4oDEw2UVeMfyD5huz0ceAi+a3XWdUIdgHZw4d07glmhQKffduM 3Hxn35XQs87oOKiSDHN7Xj5KT+foOopvZz8RmL9xHj7k+UI5W32yZCZQRH2wF6nzWx eJS0lzEJ0Aw7kBNdny/O2Yo3aM23ia4FeBbjTxXe53gkfQxEfeg1J7vsZgZeqII05e pRviyJLv/aURw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FvN1x2Xk5z9rxM; Tue, 1 Jun 2021 08:44:53 +0200 (CEST) Subject: Re: An org-latex face To: =?UTF-8?Q?L=c3=a9o_Ackermann?= , emacs-orgmode@gnu.org References: From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: <4f8fa58c-25f3-585c-53a4-7c2945f4a66b@posteo.eu> Date: Tue, 1 Jun 2021 06:44:52 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sebastien.miquel@posteo.eu Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622529943; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=GWz/iGfkGk7xguw6ayZA0KNrs5qbmshQWd2NYNPF4ls=; b=nP09homk7oRIsYw8CZml/adBfpxKSGRMARA5NAWnd9CL6pZly8w3zC/4o5TWH1guzg46vO ddQsuuGfXN/b4clwmOacVuwNO06i2ITdFwQi2szDE2s1NQi6i6Ldj1WYlIuI0MMEGCISDl kIiFjnNPOZJ9U5Bf1rKV8j2BwrMkCxwGIYAYZEdGx5udsCEi2dXJVpWhPJ+mlv6zNMOfdT hZdh5oucD+OJVuB979q3OMESEMkJCIyedg2s1iFCFCR0wzF8rnRj+qH1qRVf8Y4veo0TIM 9qJz3eLRvuYWG7EqmujK9elAppXcPRqp5dRL2+WDgESes6oX02xy9b02VU6Gkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622529943; a=rsa-sha256; cv=none; b=Tk0xkcO1DfNRsdDLRMaZYDdNztteekaNOjCc+N5o8HqAmHUUqbyaWoN4wsffCbX5z0cpn1 MtkwIbpuKg2LrWayyIQImZdK8zK6Ak0vyWrsY6OTnwb+yTbbr7obq+fMwFDkDr+yYeYEZ4 qfk6d+d2tx5amxX9x1RJFrG5KJTXmkc70EzROP/3XR6kONMnsrOGh08vRjtHJ0KIrmzmrL xLHvXIWJ1/7xotZLZYuzciI5VmZNF1Yonw+FrA+mHS5dLV1TKBHHPXpBUna92WysOZ9gSQ Rme9Kk4eYuoj9wSA+EmU2yMks1zhe1XWvDK8iDZ2GsJ1OSQTWQDdupjM3jkrfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=XJv4K3GW; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=XJv4K3GW; dmarc=pass (policy=none) header.from=posteo.eu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 0142912C82 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: gai+G8nWke75 Hi Léo, Léo Ackermann writes: > When it comes to preview inline LaTeX fragments within org-mode, the > org package applies the `org-block` face. It would be nice to *treat > inline latex block specially*, to make integration of the those > preview-block easier when surrounded by plaintext. This feature would > allow to have a theme that highlight blocks (source code, examples) > without the background artifact you can see in attachment when > previewing latex fragments. There's already an `org-latex-and-relatex` regexp, that will be used if you set `org-highlight-latex-and-related` to `'(latex)` instead of `'(native)`. The org-block face won't be applied anymore. Regards, -- Sébastien Miquel