Hi,
Tomasz Wegrzanowski wrote:
Try absolute paths. Because latex is extremely
stupid and tries
to create files in *current* directory, texvc has to switch current directory
to tmp and then switch back. It seems to be passing full path to latex
after that, what works with absolute paths but doesn't with relative ones
(that's probably bug in texvc, it should pass filename without dirname to latex
and filenames with dirname to everything else)
Okay, no I tried
$ ./texvc `pwd`/tmp `pwd`/out 'x \not\in \Sigma' iso-8859-1
The results are somewhat odd. I only get output in tmp, when I do this
within strace. Then I get a tex, aux, log, and a dvi file. So it
appears, that the LaTeX call succeeds, but then nothing happens. There
is still nothing in out.
I checked it some more. This is a bug in either new ImageMagick or new GhostScript.
It doesn't like arguments from command line any more.
I attach render.ml that fixes both problems - it runs dvips and convert
separately (producing one more temporary file), and works correctly with
relative paths. - just drop this file into math/ and run make.
I'll commit it to CVS too.