From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sP1jJbCKEmZIZAAAe85BDQ:P1 (envelope-from ) for ; Sun, 07 Apr 2024 13:59:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sP1jJbCKEmZIZAAAe85BDQ (envelope-from ) for ; Sun, 07 Apr 2024 13:59:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gKOrJEkX; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712491184; 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=T76janwDHB9EPyAT3EoSBtvtdZOTqMADTp6zQ7G3DDA=; b=boT13mUFW4vPDfhRdMXQP/MtYT3ta8LExStT36EJi9lRA5hoc2AhdGo/kEKup6r2c/x3bj OGyzHX6uL8U02mm+UAJimRskhp7Z13G4afNzduRD6p3QhJoPVpSyNEP4r2U3JKuXr1wFhr 1FGxPdPnfM0lgCnBgEUFdrr7uQ9ddR61Sn6d1KJ0crUVcecFbiFhtZwDMfcVxXUvgT20/F oHaCUfyelopMfpOJr6lneg6DY2mTpYGjJyEnfzs8k/L1+welPd+7ojBH+d76M0pqC14dA3 QnpwicQMhTzHgzRCcW8g/w8qsl/hyGPyY48LE5wCiVLCte9T074jErB5k4to1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712491184; a=rsa-sha256; cv=none; b=dpkCyLlOXtehY89Zy2+pkHwHZFYvPKfS6M4gFsiKO75hjrRaSZXJmLw50HsbVabgRg+jRh 4WmO01DzHJQgMlk1GYQkIaK3EtnuqUl142BWqL2vrPfAJ9Bt08FwsODMW+hANh/cTAAteV TsoFR/K1hH2eVN5Sv/3DRx17O2KLANVF1Vk/6QGjTLAoEEGHSLbCZV7GErgy1Dw99oWT0u dwzfQqvPN0EhGYotu8Jc4QoRRfj5ph+DWZ3Qul5UCO7vd/lOSKfA7rGxAkUR/7+YvXCzWH rCDAB2Bax2+FE5UOAcjjjDkOrEdw7N47N8qjTa8jrxiWmRdHHboLh+rgLIyAtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gKOrJEkX; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 64E1E5072F for ; Sun, 7 Apr 2024 13:59:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtRAk-0006K2-1c; Sun, 07 Apr 2024 07:58:54 -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 1rtRAi-0006Jt-Pd for emacs-orgmode@gnu.org; Sun, 07 Apr 2024 07:58:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtRAd-0002bS-5X for emacs-orgmode@gnu.org; Sun, 07 Apr 2024 07:58:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 675CF240101 for ; Sun, 7 Apr 2024 13:58:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712491124; bh=71K8dxfYZBQjGDVFCOux7uM6Nag5lc2wRuBSJu742sw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=gKOrJEkXlh/X6pXMfM/KasE/xr0nyZCDWZJYTyOP6vGc+dMq55XQNPRpxf3BQ9rYA u5kB2MEKceASStFt87ntOQnh6QvUDbmzHRrngDux3PD3lU3GxHOU+36aTRgJ0sv59G mxlnxhZAWUY9H7kphKAvZn/7JzaSaIAvYslMfXXetxr5Hels7/KR6DLlCHnxSHbMyf gcv+1jNiUbtXkhVoha+4oK+Q5nfr3SMpdkvCREwhHDh9xFw8zFpSYyywqLD9ydGv9r tTp81pKavSt0Czru5RdVY4I6beGFQHX4/anSPIEu1Ub7Je3yMAKXjgv7Lmq9MtN2Ex Z+tzHZYF9VaZA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VC9jb3vZjz9rxK; Sun, 7 Apr 2024 13:58:43 +0200 (CEST) From: Ihor Radchenko To: Tony Zorman Cc: emacs-orgmode@gnu.org, karthikchikmagalur@gmail.com Subject: Re: Using org-latex-preview in other major modes In-Reply-To: <87edbhljr7.fsf@hyperspace> References: <87edbhljr7.fsf@hyperspace> Date: Sun, 07 Apr 2024 11:59:04 +0000 Message-ID: <87msq5o03b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=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 X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-Migadu-Queue-Id: 64E1E5072F X-Migadu-Scanner: mx13.migadu.com X-TUID: 5lc5CqL2bJMI Tony Zorman writes: > I'm interested in adjusting org-latex-preview to work in other major > modes (most notably LaTeX-mode itself, so one can get rid of preview.el). > On the advice of Karthik (Cc'd) I'll move the discussion from private > mails to this list, so more people who might be interested can join in. > ... > [1]: https://abode.karthinks.com/org-latex-preview/latex-preview-everywhere.html Abstracting away previews is certainly welcome. RMS explicitly asked Org mode team to work towards this goal: https://list.orgmode.org/E1kIkxv-0007iy-Av@fencepost.gnu.org/ Ideally, we should have Org-independent library that does the previews, and an Org-specific code that re-uses this library. Eventually, we can move the generic library to Emacs core. We may go even further, and extend the previews to be not just for LaTeX. Might as well preview html/image links/pdf links/etc. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at