Hi Hans and list members, some time ago I asked Hans if he could implement a context analogon to the LaTeX asymptote package. This resulted in the context module asymptote. It would be a nice addition (if this is not implemented yet) if the following functionality could be implemented in this module: Writing a LaTeX file like the one attached using the asymptote package LaTeX and asymptote produce a pdf that contains a rendered version of the asymptote graphic and an interactive version of it as well. Both are embedded in the pdf file. The usually visible rendered pdf version can be made active (using Adobe Acrobat) if one clicks it – then the embedded interactive version gets visible and can be manipulated by the reader. The LaTeX user does not need to specify anything, all is simply done by the asymptote package. Could something like that be possible in ConTeXt, too? That would be really great! I suppose that asymptote is required to run twice to achieve that, one time to render the pdf version and a second time to render the prc file that contains the interactive version of the graphic. ConTeXt should then embed the interactive version of the graphic and the static one as well and should display the rendered pdf version until the reader clicks the static pdf version to make it active. Then the interactive graphic should get active and replace the static preview. You can see the desired behaviour in the attached pdf output of the LaTeX file. To compile the attached file using LaTeX and asymptote you can write in a terminal (after having navigated into the folder that contains the example file) pdflatex latex-asymptote asy latex-asymptote-*.asy pdflatex latex-asymptote Kind regards, Mathias Schickel
Am 04.12.2018 um 18:03 schrieb Hans Hagen
: Hi,
As most mechanism are reasonable okay now we can look into what future versions of ConteXt should provide in terms of functionality. The (luatex) engine is also more of less finished or at least stable in terms of functionality.
One possible area of further development is graphics so I'd like to know if there are (reasonable) demands for more graphics support using metapost. Alan and I are on-and-off working on some extensions and one of the things we discuss is visualization of data. The question is of course what should be done in the lua/mp/tex combination and what externally but the combination has some advantages. There has been presentations and discussions at the last meeting and graphics is always a nice topic, and also kind of rewarding in terms of development.
Of course other demands can be formulated too, but these then need to come with well defined descriptions (or mockup examples).
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________