<div>Hi,</div><div><br></div><div>I have some eps files that I want to include in my latex document. Apparently</div><div>pdflatex runs epstopdf. The problem is that my eps file includes some</div><div>libraries that are eps file as well and my gs doesn't allow them to be run</div>
<div>unless you set the '-dNOSAFER' option.</div><div><br></div><div>For this reason I tried to convert one file with:</div><div>$ /usr/bin/epstopdf --nogs --gscmd='gs -dNOSAFER' -o=pics/triangles-eps-converted-to.pdf pics/triangles.eps</div>
<div><br></div><div>But then my pfdlatex gives the following message:</div><div><br></div><div><use ./pics/heptagons-eps-converted-to.pdf>Syntax Warning: May not be a PDF file (continuing anyway)</div><div>Syntax Error: Couldn't find trailer dictionary</div>
<div>Syntax Error: Couldn't read xref table</div><div><br></div><div>$ epstopdf --version</div><div>epstopdf ($Id: <a href="http://epstopdf.pl">epstopdf.pl</a> 26570 2012-05-22 16:14:37Z karl $) 2.18</div><div><br></div>
<div>$ gs --version</div><div>9.06</div><div><br></div><div>I tried to look in the archive (using NOSAFER, but it didn't give me so much)</div><div><br></div><div>Thanks for any help, regards,</div><div>Marcel</div><div>
<br></div><div>ps Please reply to all, since I am not a subscriber to the list.</div>