Drutex in Drupal

I am having a few problems with using the Drutex module for Drupal. Drutex uses the latex command to generate png. I think the problem I am having is that the server ‘apache’ user cannot call the latex command.

I get a log message saying temp folders for storing the png files are created, but I can’t find image files in there.

Has anyone else had problems with this?