On Wed, Jun 28, 2006 at 10:44:55PM -0500, Bo Peng wrote:
> Attached. Please test.
> 
> Method:
> python fig2pstex.py file.fig file.pstex
> python fig2pdftex.py file1.fig file1.pdftex
> 
> You should get valid file.eps, file.pstex, file1.pdf, file1.pdftex.

Here is the result of my tests.

1) When the extension of the output file is missing, both scripts fail,
   i.e.,

   python fig2pstex.py input.fig output
   python fig2pdftex.py input.fig output
   
   both fail, but
   
   sh fig2pstex.sh input.fig output
   sh fig2pdftex.sh input.fig output
   
   both succeed.

2) The fig2pdftex.py script does not respect the name of the output file,
   i.e.,
   
   python fig2pdftex.py input.fig output.pdft
   
   generates "output.pdftex_t" instead of "output.pdft"
   ("output.pdf" is correctly generated, though).
   
   "python fig2pstex.py input.fig output.pst" does the right thing,
   i.e., it generates "output.eps" and "output.pst".

3) When working, both .py scripts produce the same result as the
   .sh scripts.

-- 
Enrico

Reply via email to