[texhax] asymptote in latex - how?

Philip TAYLOR (Ret'd) chaa006 at gmail.com
Wed Sep 16 13:13:24 CEST 2009


This now works for me, /IFF/

(a) I first install Asymptote
(b) I next install Ghostscript V8.70
(c) I use the three-line sequence

 >> pdflatex document
 >> asy document
 >> pdflatex document

The "[pdftex]" at line.~2 appears to be redundant,
but I will not swear to this.

Philip Taylor
--------
\documentclass[10pt]{article}
\usepackage[pdftex]{graphicx}
\usepackage{asymptote}

\begin{document}

\begin{figure}
\centering
\begin{asy}
size (3cm);
draw (unitcircle);
\end{asy}
\caption{This is a test.  Let's see if it works...}
\label{fig:1}
\end{figure}
\end{document}


More information about the texhax mailing list