ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using Asymptote in ConTeXt
       [not found] <3FFD8942-E01F-4C83-A2F2-A1E0FAF25230@fa.uni-tuebingen.de>
@ 2017-01-19 12:09 ` Mathias Schickel
  0 siblings, 0 replies; only message in thread
From: Mathias Schickel @ 2017-01-19 12:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 987 bytes --]

Dear ConTeXt users,

presently I try to use asymptote to render a graphic in a ConTeXt document using the module filter. I have found some suggestions on this mailing list how this can be done:

https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html <https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html>

I replaced the asymptote code with my own one and everything works fine. But if I use LaTeX together with the asymptote package I get an interactive 3D graphic (if I open the output with Adobe Acrobat). To do this I compile my attached file LuaLaTeX-asymptote.tex and then I compile the asymptote code via the command

asy LuaLaTeX-asymptote-*.asy

in the console. If I compile the LaTeX document again the result is the attached pdf LuaLaTeX-asymptote.pdf that contains the interactive graphic.

Can I achieve the same using ConTeXt if I modify the attached code example I used? What do I have to modify?

Best regards
Mathias Schickel







[-- Attachment #1.2.1: Type: text/html, Size: 1781 bytes --]

[-- Attachment #1.2.2: LuaLaTeX-asymptote.tex --]
[-- Type: application/x-tex, Size: 1350 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 470 bytes --]

[-- Attachment #1.2.4: LuaLaTeX-asymptote.pdf --]
[-- Type: application/pdf, Size: 241044 bytes --]

[-- Attachment #1.2.5: Type: text/html, Size: 470 bytes --]

[-- Attachment #1.2.6: ConTeXt-abstract.tmp --]
[-- Type: application/octet-stream, Size: 16 bytes --]

  % no abstract

[-- Attachment #1.2.7: Type: text/html, Size: 470 bytes --]

[-- Attachment #1.2.8: ConTeXt-Asymptote.pdf --]
[-- Type: application/pdf, Size: 44782 bytes --]

[-- Attachment #1.2.9: Type: text/html, Size: 471 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-19 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3FFD8942-E01F-4C83-A2F2-A1E0FAF25230@fa.uni-tuebingen.de>
2017-01-19 12:09 ` Using Asymptote in ConTeXt Mathias Schickel

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).