From: Darren D. <dd...@co...> - 2005-06-03 13:49:12
|
On Thursday 02 June 2005 10:46 pm, Darren Dale wrote: > > > > If someone can come up with a foolproof way to make figures containing > > TeX fonts that are acceptable to scientific journals, I, for one, would > > be very grateful. > > John has gotten us most of the way there. I think the problem I am having > embedding these LaTeX-generated eps files is related to the fact that the > postscript constructs in the image are not isolated from the main documen= t, > dvips is not creative in naming them, and therefore the font properties (= or > encoding, or something) are being corrupted. > > Since I also have limited time, I could use epswrite for now. The resulti= ng > figures are not fantastic on screen, (I already had smooth line art enabl= ed > in Adobe Reader), but marginal improvements can be had by increasing the > viewer's resolution.=20 I have some good news! This morning I discovered the ability to set the=20 resolution during the creation of an eps file with epswrite: gs -dBATCH -dNOPAUSE -dSAFER -q -r6000 -sDEVICE=3Depswrite -dLanguageLevel= =3D3 \=20 =2DdEPSFitPage -sOutputFile=3Dfoo.eps foo.ps This file can be embedded in a new latex document and it has no font=20 information so the text is rendered properly. The final output looks great= =20 when printed or viewed with Adobe Reader. I think this is the way to go. As= =20 for file size, the eps output from examples/tex_demo.py is about 50KB.=20 Sorry for all the recent noise (this discussion seems to have wandered thro= ugh=20 several threads), but I was really starting to get worried about meeting my= =20 deadlines! I'll try to commit the changes today. Darren |