From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 4M92Fe+QEWTAZQEASxT56A (envelope-from ) for ; Wed, 15 Mar 2023 10:33:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UJmJFO+QEWRFLgAAG6o9tA (envelope-from ) for ; Wed, 15 Mar 2023 10:33:35 +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 98D0115292 for ; Wed, 15 Mar 2023 10:33:34 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=An31ynNJ; 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=1678872815; 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=jsMJf/ZZgVISb2mKKv3sl4xaZ9ykoXBpqLg6kXFyrs8=; b=EaAGGuga7KpgkbXbVs87CP1E4esbFQVHTwqFD+pffARVi1sx4qljG4+dQJpDgOZvUUzx2F 1LjPbhjHEjW7PLfC09QVrSWf/+VCkrEJ7/L1CiVC3cJ4KfCA41gppJaPb4hDnvUcCSt6Ce S70pKuUcjoDP1vq9gaatTsWaCR/+MJX1NDNYGGENA9SWnkDGZOHI+vQzolltVGCYS56EMC AgWK/fsnpSWk3qJJEgjACh0dNMrbnXl3TxIkCIEUHb74ozZtLbN/kH84LRRt9Zma198i+A SKnUsd6COGcoIYkoqO7ZpObAzWg6TFKtP+RGZlKxSaxEWeZEalCddLFjurRE4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=An31ynNJ; 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-Seal: i=1; s=key1; d=yhetil.org; t=1678872815; a=rsa-sha256; cv=none; b=tPcZwZ9G9f7P74vVABQw/Gfu3kQqNu6PBZtH92WaBkQE88J+5XZadb+SJWMdMJQ6t0SS0C 622YxIlFZGddRWGK66EH1W7iCtVTLTnWQ4rDf+Ttspmi43j5Wo5tQQyjAHy5DsVAsyNmEZ dKgQge9nYeKigNgK9Qtxz8RzWFB86Vy6jOMLIAUw4+AlfiQ+OpyaFJ6Hdnp9y4CgRIQnCQ KgbhQa0cGHnJ++JOOP1AFBeVcx+B5X8fpmAAu2H3BmFw+loo3fXERc1l0oc38nUDsIThDq D372stNVd7doGkrre8VTsXUzNeFxpjMdSy3bXY43IXZ+evw1sUEGXvnDL+we2A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcNV8-0006Lj-ER; Wed, 15 Mar 2023 05:32: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 1pcNV6-0006Je-L6 for emacs-orgmode@gnu.org; Wed, 15 Mar 2023 05:32:52 -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 1pcNV4-0004MP-6E for emacs-orgmode@gnu.org; Wed, 15 Mar 2023 05:32:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 268452404CC for ; Wed, 15 Mar 2023 10:32:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678872768; bh=EjSGeeKsyvPzwHP+eKHk3q+r1EKb8yDh+/sFbsjeVOg=; h=From:To:Cc:Subject:Date:From; b=An31ynNJQphfyZVBwIFtvY+/7k6KbGeMk5EukhMX0GiwIaVw5l88aT3lxrP3umhoX DUHOxcFx1JwdC8Uumk8tKeVWSdGtRv1xH7iIaPuh8Vi2FOupQbcfOpDxipV2a8aYWF jxjo3CzCsbs53F9Yo9ZoInOEmjG1FN9tATozHNqnTeGiVT+xWcHItdG4LthfcWpe/h TLvAGrJldJFpK3bFMv7OUcij1inJ2jPhZGfr35xXBKa3/8RwkcfA8YwTjeWX1rWIHJ bCCOAdK6FJJP21i+mQTbhukmI1y5nsaD7+XnbbmtLs1J/ZW8VvE9ucyqEYMxCt+br+ fiaZuaQNCFB4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pc4tl2M1Nz6tmP; Wed, 15 Mar 2023 10:32:47 +0100 (CET) From: Ihor Radchenko To: Timothy Cc: emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <87cz5buxgr.fsf@tec.tecosaur.net> References: <87lek2up0w.fsf@tec.tecosaur.net> <87o7owrg5h.fsf@localhost> <87cz5buxgr.fsf@tec.tecosaur.net> Date: Wed, 15 Mar 2023 09:34:36 +0000 Message-ID: <871qlqs6hf.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 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: X-Migadu-Queue-Id: 98D0115292 X-Spam-Score: -11.04 X-Migadu-Spam-Score: -11.04 X-Migadu-Scanner: scn0.migadu.com 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-TUID: P2BMwFGDjLRE --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Timothy writes: >> 3. It took 20+ seconds (!!!) to generate previews in a single section in >> my large notes.org. Profile attached - org-latex-preview parses the >> whole 20Mb buffer to generate the preamble. Why? > > Because of the use of buffer info in generating the preamble, which calls > `org-export--annotate-info'. I=E2=80=99m currently considering introducin= g a variable to > allow for the use of buffer-specific info to be toggled. What if `org-export--annotate-info' could be made async? >> 5. Why triangles? Something resembling =E2=80=9Cwaiting=E2=80=9D would b= e more >> meaningful. > > It has to be a small icon, so that basically means simple geometric shape= s only. > There=E2=80=99s also the =E2=80=9Cgrey text=E2=80=9D indicator, and =E2= =80=9Cno indicator=E2=80=9D option. What about (define-fringe-bitmap 'sand-clock [#b11111111 #b10000001 #b01000010 #b01000010 #b01101110 #b00111100 #b00011000 #b00100100 #b01000010 #b01011010 #b11111111 #b11111111]) --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=sand-clock.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAYgAAAB3CAIAAACWkkAJAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAg AElEQVR4nO2deVxTx/bAJwn7Etk3Adk3WVSKCggFFIUKirhbFNyqVVBb/NV9eWp92Kqtllp91ipS KxaqBhRllUU22YLIIvtOWMIaIhCS/P64793GACGBJEQ73w9/cGdOzjkzd3Iy98zcezFFiloAAoFA RAnsdDsAgUAg7GCYTOZ0+wCBQCDvISZoAxgMZkKZuro6QbsBgUA+IOClHAQCETlgYIJAICIHDEwQ CETkgIEJAoGIHAJPfosgnZ2d586d8/Dw8PDw4EaeSqX+9NNPkpKSgYGBYmL87zFe/eGS3Nzc9PT0 trY2MTExDQ0NDw8PY2PjScgIDUH3Mxsi1faPCb6M548qMJFIpJCQEA4CR48eVVNTm4Ta1tZWAACZ TFZXV5+8f0IkLS3t4cOHxsbG3t7eOByuvr4ei2WfHXMjI0yE2c8i1XYqlcpkMmVlZT8gW4L2+aMK THg8ft26dejhs2fPsFjssmXL0BJ5eflJqNXX19+wYYOEhMSHEpUAAPHx8dra2nv27EG2a9jb209O RpgIs59Fqu1RUVF9fX2BgYEfkC1B+8y3wMTNfiVBIyMj4+DggB6mpqZisVjWksmBwWAWLlw4RSXC hEKhUCgUe3t7DieFGxkhI7R+FrW2U6nUD86WoH3m5/SVOYrRMiYmJiYmJpz1kEgkEonER8fGREQG pSCgUCgAABkZmSnKfKyIWts/ysA0xe8X32ZMTCYTg3nvBhfkkNW/xYsX37p1CwDg7++fmpo6pp6S kpKbN28CAHbt2mVubs4v90YjISFBoVCio6NLS0sZDIaenp6vr6+KigpS29jYeOnSJVZ5SUnJCxcu sClhMBiZmZk5OTlkMhmDwWhpaZmZmS1atEhSUpJXf8TFxWtraxMTE2tra+Xk5MzMzLy8vCQkJJDa pKSkmJiY//u//5s5cyb6kejo6OTk5LNnz6KXqGfPnh0YGBgeHgYA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U5E rkJggg== --=-=-= Content-Type: text/plain >> 6. What will happen if I add/remove #+LATEX_HEADER in the buffer? in >> subtree properties? Are in-buffer latex settings supposed to affect >> anything? I tried to add #+LATEX_HEADER on top of the file, but the >> preview do not appear to be re-generated. > > Currently you need to set `org-latex-preview--preamble-content' to nil, which > currently can be done by doing `C-c C-c' on the header / otherwise running > `org-restart'. It would be better to provide a command. C-c C-c is too dramatic - it will reset much more than just preview cache. (Like org-element-cache). Or better add a new prefix arg to org-latex-preview that will force re-generation. Further, as discussed in the DM, we may need to consider that equation preview may depend on latex export settings: 1. preview might be generic, utilizing "average" common latex preamble 2. preview might try to conform to latex export settings according to full document export 3. preview might use a different latex preamble when the current subtree will not actually be exported - like in commented subtrees. In particular, it matters for equation numbering 4. preview might try to generate preamble according to subtree export settings - some Org workflows involve multiple documents in one Org file, exported separately via subtree export. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--