ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Asymptote in Context
@ 2014-12-24 21:41 Context NTG
  2014-12-28  7:21 ` Aditya Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: Context NTG @ 2014-12-24 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Could anybody explain how to use Asymptote in ConTeXt with the filter
module.

Thanks
Jeroen

[-- Attachment #1.2: Type: text/html, Size: 159 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Asymptote in Context
@ 2014-12-07 17:50 context context
  0 siblings, 0 replies; 11+ messages in thread
From: context context @ 2014-12-07 17:50 UTC (permalink / raw)
  To: ntg-context


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

I have been trying to put Asymptote graphs in Context with the filter
example below. The Asymptote graph is written in a separate PDF file, but
is not included in the final completed PDF document. Is there a simple way
to achieve this?


\usemodule[filter]


\defineexternalfilter

[ASY]

[filtercommand={asy -tex "context" -View -outformat pdf -outname
\externalfilteroutputfile\space \externalfilterinputfile},

output=\externalfilterbasefile.out,

readcommand=\typefile,

cache=force,

location=text,

continue=yes]


\starttext

\startASY[myplot]

draw((1,1)--(2,4));

\stopASY


\externalfigure[myplot]

\stoptext


Thanks

Jeroen

[-- Attachment #1.2: Type: text/html, Size: 944 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-01-20  3:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-24 21:41 Asymptote in Context Context NTG
2014-12-28  7:21 ` Aditya Mahajan
2014-12-28 11:04   ` Mojca Miklavec
2014-12-28 16:51     ` OT: " Alan BRASLAU
2014-12-28 17:07       ` luigi scarso
2014-12-29 15:03         ` Alan BRASLAU
2014-12-29 15:27           ` Arthur Reutenauer
2014-12-28 18:44       ` Mojca Miklavec
2015-01-02 22:14     ` Context NTG
2015-01-20  3:39       ` Aditya Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2014-12-07 17:50 context context

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