> > No. You should write a python script that generates both the pstex and the
> > pstex_t files automatically (in the example above, the suffix of the
> > Postscript file should be changed from pstex to eps).
>
> By now, it would come as no surprise that I'd like to ask Dekel to submit
> a patch that improves the XFig external inset ;-)
>
I've written the script, taking pic2png_eps.py as the base script.
However I did find two problems with that script:
1. The "import os.path" command causes an error on my machine (python 1.5.1)
It works fine without it.
2. The handling of optional arguments was wrong
Now, I have two complaints about the inset:
1. The UpdateCommand is always called, even if we already generated the
product files.
2. When use_tempdir is true, the inset generates the files in the directory
of the source file and not in the temp. directory (this may be intentional,
as the generation process make be costly in some cases).
patch.gz
fig2psfig.py.gz