asy
which arranges that its contents are available for
processing, and will therefore be typeset (after “enough” runs, in
the ‘usual’ LaTeX way).
Basically, you write
\
begin{asy}
\latexhtml{\hspace*{1em}}{ }<asymptote code>
\
end{asy}
and then execute
latex document asy document-*.asy latex document
This answer was added: 2011-03-16
This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inlgrphapp