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 ms5.migadu.com with LMTPS id sKZQNS35+GMcbAEAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 18:51:41 +0100 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 eG1oNC35+GOwuQAAG6o9tA (envelope-from ) for ; Fri, 24 Feb 2023 18:51:41 +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 1B7B73F709 for ; Fri, 24 Feb 2023 18:51:41 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=TWMxSM4M; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="ijRyPLv/"; 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=1677261101; a=rsa-sha256; cv=none; b=b0kUUKVBD6f8DFgQM8WvFRobXqUg3TLT7/em1x2ih0JJWvY86X+Y4JlrlTx9WsMpYYMOxv hLKcx1osK1hVurPGmVnFU3yZxL2hTRvsY9AK1J/+4eHVI15c22CnIOu2ir8VNjPsHEFg98 GrxRD9yYHZijD872DEv+ia9iew3ffMgctO98lHe8hZd99YZ5ZZ15QCSJQeA/UM4RUBq7D9 l4/8J66LjjPl5Yg+6UvyHioP0irh3JpZrMxY0ddBpaX04cGnNaTmnaCtSAPCo00FOnqeBO pX0nKHySlNH8VeHUE/TtfyawFSP56IWvX3ye+BJ7tf86E1mBT+kaFLwvWH7z+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=TWMxSM4M; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="ijRyPLv/"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677261101; 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=lKEfDnw2WqR7qF89ocsGNjYBJctC4XHzC6/4fBbuFI8=; b=nnjwdiKMVB6maUWZeNn34tr41/67QCbHMqJh4Nk5HcHKxWjP/qsr2aZk0Xza71lYsZ7lFm UnTg0Wn65Geq8GCPczbDZQLoE6hwtjXvqNy2r7+BsadEwXy+VNKwosVX3zbS8uOMR1+M1o SYo/GsFkgokP4ycTyNru0O+5rE0Th0pwYdW3CqAf00N3zdMcYwf6spocjppajKYEsq1SXO 0sYrW69ZOYQ8UsDUdYZ6pOt+KK1jCzO/gyqSNIq5VhV3fnaZhj8totNGMog2NRTo/mHMNq OLchMinvVp3/5LiRPZU4HTE1GmonIGFnvDFQH7M0EpLTopYYmNrQjOT+hhG/SA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVcDu-00075V-DA; Fri, 24 Feb 2023 12:51:10 -0500 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 1pVcDs-00075K-D3 for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 12:51:09 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVcDn-0006SW-RQ for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 12:51:08 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 651585C00F2; Fri, 24 Feb 2023 12:51:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 24 Feb 2023 12:51:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1677261061; x=1677347461; bh=lKEfDnw2Wq R7qF89ocsGNjYBJctC4XHzC6/4fBbuFI8=; b=TWMxSM4MDl940C0/kWl5Iz/Vmy T/CZ4JuXaHXHA7r+03v84t90fy/ALOlHyU8km7XE2uPP/Cc2ABXdnxs9HSRz2k5j fFQXvxlOjadPOAu0Tgapq1LiKnGipcp3wEhQF2L9iZSCGNtGdcazSypHdNE2XlJS oz1z303J/FBMnANx9rCA0PwU/F3JC1d7MvxA8wuuJ1OVnWn/2dBXwIb2LeBp8S0Q V18SK/kAWW1WegugRi4Y3gAsXJDJS+MiB8Q3Q0CPezg0H+QaehWkDW7lUqoQ4C+x 6QGmrW47rYZLD9wLa78/Q6mlwOiiEMUNE3Z0kC4cs7OnRmHz3sxqtyozd59g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1677261061; x=1677347461; bh=lKEfDnw2WqR7qF89ocsGNjYBJctC 4XHzC6/4fBbuFI8=; b=ijRyPLv/F2M+wzCfvwlEgXUXQfZuR2ZkDLngw3VR/nZK DyG0xmRgQprbA6n4oqhyWRX+kRacikPpizN/dwvpHKvHWRH55YgZLgQ1N26yk9SZ CWASFunystWvkTeYL4QuxA107+HbQlL6QM9kX3Jp5kdfyin89mKWs443rrG6XgJy 2gHht6NoHQHlVi+S6Y859HWz+2MC3uaWcfGceq3/pPr6bBjhw2dtQ1FiQZ6km2lm 8KJ7PZFg+Kc8qnUpEp2pO0vBvmdC0+iJbCYsb9DAuT8T1+1apOlmHYYmNK4iCHr3 7+E1CtV8yvC9icm50jHZS42YL8j+SGwyfyyGJa27Ww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekfedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefuffhffggjkfggtgesmh dtreertderjeenucfhrhhomhepvfhimhhothhhhicuoehorhhgmhhouggvsehtvggtrdht vggtohhsrghurhdrnhgvtheqnecuggftrfgrthhtvghrnhepieduvdefkeeffeefgeeiue fhkedvkeffjeejtdfffedtgeelveetffdvtdduheffnecuffhomhgrihhnpehorhhgmhho uggvrdhorhhgpdhlihgsvghrrghprgihrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepohhrghhmohguvgesthgvtgdrthgvtghoshgr uhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Feb 2023 12:50:59 -0500 (EST) From: Timothy To: chris Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-latex-preview with custom sty file Date: Sat, 25 Feb 2023 01:49:10 +0800 References: <3485389.iIbC2pHGDl@pluto> User-agent: mu4e 1.8.13; emacs 28.2.50 In-reply-to: <3485389.iIbC2pHGDl@pluto> Message-ID: <87edqfne9t.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=66.111.4.27; envelope-from=orgmode@tec.tecosaur.net; helo=out3-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_H2=-0.001, 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: X-Migadu-Queue-Id: 1B7B73F709 X-Spam-Score: -0.58 X-Migadu-Spam-Score: -0.58 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-Flow: FLOW_IN X-Migadu-Country: US X-TUID: xKDlbPOFbVQW --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Chris, > Note: I haven=E2=80=99t been able to compute the return value of the hash= function for > my latex expression, because I can=E2=80=99t figure out what the argument= s actually are, > specifically `forbuffer`, `fg` and `bg`, but the above reasoning seems so= und. > Note: Removing specifically the images looking like the image associated = with > the latex expression that refuses to be regenerated, using some file mana= ger, > and then invoking `org-latex-preview`, does the trick, but it=E2=80=99s i= mpractical. Yea, `org-format-latex' is a bit of a nightmare. I=E2=80=99ve got a WIP ove= rhaul of the entire LaTeX preview system which is currently 95% of the way done. The new system will still not notice changes in package source files, but it will be easy to clear the cache and regenerate. 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 . --=-=-=--