try to include an eps figure in the pdf
:error unknown graphics extension .eps
version design 0.1r40-1 linux amd64
This errror is due to compilation with pdflatex, suggest adding the option
to compile with the slightly slower latex, -> dvips, -> pstopdf
something like
#compilation with latex > dvi2ps > ps2pdf
os.popen2( 'latex -interaction=nonstopmode "%s"'% (self.tex_file) )
os.popen2( 'dvips -o "%s".ps "%s".dvi '% (self.project_name,
self.project_name) )
os.popen2( 'ps2pdf "%s".ps "%s".pdf ' % (self.project_name,
self.project_name) )
however I cant quite get this to work in with the temporary directory set
up, it would be much easier to create the temporary tex file as
filename.tex~ as in most gnome applications do and then compile in the
working directory.
can anyone help with this my python is not very good
Original issue reported on code.google.com by mathmys...@gmail.com on 1 Aug 2009 at 5:44
Original issue reported on code.google.com by
mathmys...@gmail.com
on 1 Aug 2009 at 5:44