From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 kH3pFxbHDWTrMwAASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 13:35:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uJbBFxbHDWQ0XgEAauVa8A (envelope-from ) for ; Sun, 12 Mar 2023 13:35:34 +0100 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 8A62FEF8B for ; Sun, 12 Mar 2023 13:35:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbKuI-0002yP-VF; Sun, 12 Mar 2023 08:34:34 -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 1pbKuH-0002y1-DY for emacs-orgmode@gnu.org; Sun, 12 Mar 2023 08:34:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbKuF-0006rL-GG for emacs-orgmode@gnu.org; Sun, 12 Mar 2023 08:34:33 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ABF065C0100 for ; Sun, 12 Mar 2023 08:34:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 12 Mar 2023 08:34:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1678624469; x=1678710869; bh=uIB74JiuUlUn+ctCncV1fr+El 9ZjKh6V0UVtBIeoQPs=; b=HfYToS6Ns9Lory8dD5DV50op6qoDfo2Lne7+IKzIf hZnKghPO4vqKzgI34rpLmvM+SQ72ywQuPlzYrSg7wDBdvih6+obsAQaIoPtjYgKE R1xIU7jhEaiWJkBvea3Pet68yrjHzrZy+jNZsQLsdeVmXo1FNmIAdKtmQhHMM7Y9 uXlRPvUwl27bvm4gF4u0ruacataAuWciAC18EGq40okZb8nTioBEfw/GYZouhaUY M1UaMZDov4ytYVK29Tpdre4s1qYIV6BwqfJE112iFak0b6/W4Ye0OsTYCv8tbt9j 2MxToJY0i7dQ/7AG8qD4HRgOi3/vtxXdY6C2Xsr32gfzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1678624469; x=1678710869; bh=uIB74JiuUlUn+ctCncV1fr+El9ZjKh6V0UV tBIeoQPs=; b=G2UkGsGTmA5MzVGffP4O6+zWUZe8ms4mPx14zyc4ZGXoCgXXFR9 5YOq+5+P9DgWrDtG4WgFEP9jNMOTof+1+sd9g9S0hEpsayX1tpgwgs98zEW+2z1O Tla5CPPV1+/70F/KQExlpBTUKIjLLGzKSUnw3dbLbHYC5dzhEQ4it6lLmfku1a0g H2dy+rf1TVpU6AIG4NdVK5gaj+4P/xUvKs+fCD8mRP7lr6K/InmWtr42n1izYp3r gC54uRt97mKAZSoqe1qLtQwoHP3T59sH+KUdDlB+L3RxgYBOTPiya/ceksoj//a3 m/ULxb8hhPckqzG50addFKeNDlrDSI0/ivA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvvddggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuffgfkfggtgesmhdtreertd erjeenucfhrhhomhepvfhimhhothhhhicuoehorhhgmhhouggvsehtvggtrdhtvggtohhs rghurhdrnhgvtheqnecuggftrfgrthhtvghrnhepkeevteegheduvefgjeeuhfdvjefghe evfffhveefueehudffgeduhfffleduhffgnecuffhomhgrihhnpehtvggtohhsrghurhdr nhgvthdpphhoshhithhiohhnrdhorhhgpdhonhgvshdrohhrghdpghhithhhuhgsrdgtoh hmpdihohhuthhusggvrdgtohhmpdhorhhgmhhouggvrdhorhhgpdhlihgsvghrrghprgih rdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 12 Mar 2023 08:34:28 -0400 (EDT) From: Timothy To: emacs-orgmode@gnu.org Subject: [Pre-PATCH] Overhaul of the LaTeX preview system Date: Sun, 12 Mar 2023 20:23:21 +0800 User-agent: mu4e 1.8.13; emacs 28.2.50 Message-ID: <87lek2up0w.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=66.111.4.25; envelope-from=orgmode@tec.tecosaur.net; helo=out1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b=HfYToS6N; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=G2UkGsGT; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678624534; a=rsa-sha256; cv=none; b=JNwcWfpCNq9pULM0PsAQQ7fAJBJd9wLfOC0ax/o0gene/ph4IhdpGy2peQe7m9tpf8LtL3 42vPYHC0YK4INAs3XTm77/AE3jPd1Qkbbq6moHD1RGWmkOwKbaKmMiD19A/0yTkFxniYOb PUD7aqtWzBcWf6GKiBqtUt9OkXAyQ1FyW4DsHxufyPOgwmZyJWFwFXe2J8iF7mgqvdt2If ss2ZYy1iB19rln78GG0788SMrMRl/bVVC0yVb8pcGPhheNvRhJBZbmVi4JiChP+8CUqXte wzpW/9oqIDMqcR3UL62o9a+l4bsIl+qmML1C5BDl68p53a8l4/bk0UuImxjRyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678624534; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uIB74JiuUlUn+ctCncV1fr+El9ZjKh6V0UVtBIeoQPs=; b=A2IwKE2uXNZOnqaaQSTruGk09zwP+LWXVdLEblEgg1tsRs83dNA0C9rAdDZltWWhE+Ii5w jPCMNqwr7J6j8sOB/wzxkqHouWrjI6+/ARcqTguB80nSSZRcxjvtrUHERoI4CieNJN+Fps +d1LreJsDmTDw96hEGMoh5Ry7ggT/4ksu4WwayNrYJLQkJdQykqxuyv8jrs4YcAtE212rU cGRwJ3uyWFllap/EliUfhTAQTt/RpXCrnbf2EDGoCMNVILerOOs8k9WjzHDzC3KJpvwf+2 L02SMyX90yo6rG/mm+eRFjustgnQQytmdIyC++5FnM4tq0PzkvGsNWkYCgUBmQ== X-Migadu-Spam-Score: -1.11 X-Spam-Score: -1.11 X-Migadu-Queue-Id: 8A62FEF8B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b=HfYToS6N; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=G2UkGsGT; 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=none X-TUID: MOPRTA8DF0nc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi All, After months of work, Karthink and I have prepared a rather large patch-set completely overhauling the LaTeX preview system. I hope to have a patch set shortly, but in the mean time it would be good to get some more people test= ing this. To test this feature, please check out the `dev' branch of (it=E2=80=99s the default branc= h). There are also some other changes there currently, but I don=E2=80=99t think anything= is broken. You can view the almost-ready path set/diff here: , see the ORG-NEWS and org-manual entries to get a bit more of an idea of what=E2=80= =99s changed. The short version is that now: =E2=80=A2 Previews are generated in bulk, and hundreds of LaTeX fragments c= an be processed per second. =E2=80=A2 Images are placed continuously as they are generated. =E2=80=A2 Preview generation is asynchronous and will not block Emacs. =E2=80=A2 Inline previews are aligned and scaled to match the font baseline= and size. =E2=80=A2 Previews scale along with text when the text scale is changed. =E2=80=A2 Previews are coloured to match surrounding text and the active th= eme. =E2=80=A2 SVG previews automatically change colors when the active theme ch= anges. =E2=80=A2 Error encountered when compiling LaTeX fragments can be accessed = by mousing over preview images. =E2=80=A2 Preview overlays can hide and show themselves dynamically based o= n cursor position. =E2=80=A2 Org mode can auto-generate LaTeX previews as you type or edit the= text of existing ones. =E2=80=A2 Org mode can keep equation numbering consistent by regenerating p= reviews as needed. If you do come across any issues, please let me know either in a reply here= or the org-mode matrix room. If you could also run and sha= re the diagnostic info, that would be quite helpful. Lastly, Karthink has prepared a video giving an overview of the new capabilities, you can give it a watch here: All the best, Timothy --=20 Timothy (=E2=80=98tecosaur=E2=80=99/=E2=80=98TEC=E2=80=99), Org mode contri= butor. Learn more about Org mode at . Support Org development at , or support my work at . --=-=-=--