From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id EB7A624D67 for ; Wed, 24 Jan 2024 17:54:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BA9F3484148 for ; Wed, 24 Jan 2024 17:52:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mKl4lMwKlsZ5 for ; Wed, 24 Jan 2024 17:52:10 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CA14A483F5A for ; Wed, 24 Jan 2024 17:51:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3EAEA483A1B for ; Wed, 24 Jan 2024 17:50:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ROk8vlDSOQo for ; Wed, 24 Jan 2024 17:50:24 +0100 (CET) Received: from forward2-smtp.messagingengine.com (forward2-smtp.messagingengine.com [66.111.4.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 752174839DF for ; Wed, 24 Jan 2024 17:50:24 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.nyi.internal (Postfix) with ESMTP id 9AE4E19404C6 for ; Wed, 24 Jan 2024 11:50:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 24 Jan 2024 11:50:23 -0500 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:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706115023; x=1706201423; bh=nTWdHwZYhzfEXyxzQKRbNx9l9P5E hAN2C6+H/UiU48c=; b=PtO0zb39yLWfGP2R3hZtPDBSpflbu57IWUmU1p2lj80U CJwQGUxvWLIMtqBITQ0/AIxspVU5uZDtq9ymV6QU1qAvsQ2vwqPI0f/5KgvbG7JA GNNaJGlRZeJvqeaOi/q2nwld0G39XvmDRSUFpAZPPqedUO4l3uQshILZQDdcP4aQ KVy5D5RBFW8KwTf83vcg2zWmKmHQEjez+aQjS0ksl3mNVAC9CTPZxpnDpHXN0pFL S6D6NL7yJXV0aOiUbRtpRnSZ1+CphR9TNyJ6OGbDn1o6OgPJQ/oCdeTjJLQM74gA anu6lBEgTGb4dHkMdHv4wha8u+yziNp9rEOggKDuxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeluddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffujgfkfhggtgesthdtredttddtvdenucfhrhhomhepteguihhthigr ucforghhrghjrghnuceorgguihhthigrmhesuhhmihgthhdrvgguuheqnecuggftrfgrth htvghrnhepfeejvdetgfeutdeileeiiefhgeefkedujeettefgheeggeevtdeiieeiveeh leffnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpvhhimhdqrhgvrggumhgvrdhmug enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughi thihrghmsehumhhitghhrdgvughu X-ME-Proxy: Feedback-ID: i00d8410d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 24 Jan 2024 11:50:23 -0500 (EST) Date: Wed, 24 Jan 2024 17:50:20 +0100 (CET) From: Aditya Mahajan X-X-Sender: adityam@carbonpad.cim.mcgill.ca To: mailing list for ConTeXt users In-Reply-To: Message-ID: <3n5n370p-ors0-22ps-4p82-1o59942nr7p5@hzvpu.rqh> References: MIME-Version: 1.0 Message-ID-Hash: 2CUOKO2ZSSIGUDJ5X3IHBZJYA7TYFVZG X-Message-ID-Hash: 2CUOKO2ZSSIGUDJ5X3IHBZJYA7TYFVZG X-MailFrom: adityam@umich.edu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Caching Metafun images and VIM Syntax highlighted code List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, 24 Jan 2024, Shiv Shankar Dayal wrote: > Perhaps Aditya Mahajan can tell me how can I cache code snippets. Invoking > VIM will have heavy penalty on highlighting the code otherwise. Have you tried the vim module: https://github.com/adityam/filter/blob/dev/vim-README.md Caching is enabled out of the box, so you don't need to configure anything. > Other than that, how can I cache Metafun images so that they are not > recomputed on every processing of file. There used to a command for caching metafun images in MkII, but I don't know if that is really needed in LMTX. In most cases, metapost processing does not have a significant processing delay. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________