Hi Mike,
Thanks. The TeX output includes, verbatim, the code I reproduced above.
It appears (to me, for whatever that's worth) that the image() macro
isn't being correctly translated into some sort of \includegraphics TeX
command in the TeX output. It does, however, appear to deal fine with
an included image using insertGraph. That is, something like
$gr = init_graph(...) ... BEGIN_TEXT \{ image( insertGraph($gr), 'tex_size'=>450 ) \} END_TEXT
works fine. Replacing $gr with a static graph, however, results in the TeX page not including any reference to an image.
Interestingly, with the static image, if I put the image() call outside
of the BEGIN_TEXT/END_TEXT structure, the hardcopy generator fails with
an error about not being able to generate a png file. I don't know if
this is related or not to the other error, but in any event we were
using the same problem last semester and didn't see any errors of this
type.
Thanks,
Gavin
<| Post or View Comments |>
|