> You have to avoid tabs in python sources. Yes, sorry I've fixed that.
> No reason to split this statement, keep it on a single line. Ooook :) > Why the check for \" ? Dvipng looks for 'ps:' or '"', so I think they have the same meaning. >From dvipng source (special.c): if (special[0]=='"' || strncmp(special,"ps:",3)==0) { /* Literal PostScript */ > I wonder whether there is a way to avoid a double call to latex in case the > legacy route is taken. I tried replacing the above two lines with simply > return legacy_conversion_step2(latex_file, dpi, output_format) > but it did not work. Could you investigate? Yes, I tought that too but didn't rember to check. Thanks for the suggestions! @Pavel: sure, np! Ignore my last e-mail, I wrote it while I was offline, so I didn't receive your suggestions. Have a nice day! venom00