Issue 9 in desigle: EPS file inclusion

0 views
Skip to first unread message

codesite...@google.com

unread,
Aug 1, 2009, 1:45:30 PM8/1/09
to desigle...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 9 by mathmyster: EPS file inclusion
http://code.google.com/p/desigle/issues/detail?id=9

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

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages