ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Alexandre Christe via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Status of Asymptote
Date: Tue, 7 Dec 2021 01:29:05 -0500 (EST)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2112070126090.2156027@nqv-guvaxcnq> (raw)
In-Reply-To: <CALC5-U+sNLdLPiByCpii77XbKvYwOofV7iMJL-jGxj7RpEHiuw@mail.gmail.com>

On Mon, 6 Dec 2021, Alexandre Christe via ntg-context wrote:

> Dear all,
> 
> I'd like to know what is the status of Asymptote in Context. To my
> knowledge, metapost/metafun only support 2D (except with the additional
> libraries from Roegel, which would have to be cleaned up a bit).

Depends on the kind of support you want. It is relatively easy to define an environment

\startasymptote
....
\stopasymptote

such that the content of the environment is processed by asympotote and read back as an image (using the filter module). With some effort, it is also possible to pass variables from context to asymptote. The reverse communication is more complicated but not really needed for 3D drawing.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-12-07  6:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06  8:43 Alexandre Christe via ntg-context
2021-12-06 15:11 ` Gavin via ntg-context
2021-12-06 17:33   ` Fabrice L via ntg-context
2021-12-07  6:29 ` Aditya Mahajan via ntg-context [this message]
2021-12-07  8:42   ` Hans Hagen via ntg-context
2023-12-30 19:04     ` [NTG-context] " Shiv Shankar Dayal
2023-12-30 20:33       ` Gavin via ntg-context
2023-12-30 20:44       ` Alan Braslau via ntg-context
2023-12-30 21:48       ` Hans Hagen
2023-12-30 23:33       ` Aditya Mahajan
2024-01-03 11:39         ` Jeroen
2024-01-11  6:00           ` shivshankar.dayal

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=nycvar.YAK.7.78.908.2112070126090.2156027@nqv-guvaxcnq \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /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).