ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Shiv Shankar Dayal <shivshankar.dayal@gmail.com>
Subject: [NTG-context] Re: Caching Metafun images and VIM Syntax highlighted code
Date: Wed, 24 Jan 2024 23:02:07 +0100	[thread overview]
Message-ID: <95800b15-7a92-e0e2-5fe0-97ae6542f826@gmail.com> (raw)
In-Reply-To: <CALJ_jGQnCOyF3rPT=nSiiVY3TH+UT9-R-56ufHGgOYbFY57B3Q@mail.gmail.com>

Shiv Shankar Dayal schrieb am 24.01.2024 um 17:06:
> I am writing two books. One is on Rust programming and another is on 
> geometry, so I have syntax highlighted code and in second has lost of 
> diagrams.
>
> Perhaps Aditya Mahajan can tell me how can I cache code snippets. 
> Invoking VIM will have heavy penalty on highlighting the code otherwise.

You can also try to extend ConTeXt's syntax highlighter (or the scite 
module) to support Rust which solves the cache problem.

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2024-01-24 22:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 16:06 [NTG-context] " Shiv Shankar Dayal
2024-01-24 16:50 ` [NTG-context] " Aditya Mahajan
2024-01-24 17:00   ` Hans Hagen
2024-01-24 17:13     ` Shiv Shankar Dayal
2024-01-24 22:02 ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95800b15-7a92-e0e2-5fe0-97ae6542f826@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=shivshankar.dayal@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).