From: Vladimir Y. <vo...@po...> - 2007-01-08 12:47:59
|
gn...@gm... wrote: > On 1/8/07, Ulrike Fischer <li...@ni...> wrote: > > >> am Montag, 8. Januar 2007 um 00:37 schrieb Vladimir Yurovsky: >> >> >>> Yap can't show some eps figure, even when render method is dvips. Yap >>> 2.4 does not have these problems. I found that GhostScript 8.54, which >>> is used in Yap 2.5, don't show these figures, although GhostScript 8.15 >>> (used in Yap 2.4) works fine. How can I change version of GhostScript in >>> Yap? >>> >> You can't. Repair the eps. >> > > You can sometimes repair an EPS file by creating PDF and saving as > EPS, but you also have the option of switching to a PDF workflow > (convert all "EPS" to "PDF" and use pdflatex). > > There are several reasons a file that worked in older GS versions will > fail in a current version: > > 1. missing or changed font (e.g., newer font uses different names for > certain glyphs) > 2. changes in the way GS is called (e.g., -dSAFER) > 3. changes in GS -- whle there may be bugs, most changes are done > with the realization that there are tradeoffs such as problems with > legacy files. Security considerations, in particular, often require > stricter adherence to PS standards to block the use of malicious PS > files. > > Many files with .EPS extensions, including some generated by certain > well-known, expensive, graphics packages, do not meet the definition > of EPS (and the package authors seem unwilling to fix problems even > when presented with examples of bad files together with verbatim > quotes from the relevant section of the PostScript ref. Manual (Red > Book) showing that their output breaks the rules. Unless you have a > tightly controlled and trusted method for creating EPS files, PDF is > much more robust. You can create valid PDF from all sorts of files > that aren't valid EPS. You can use different tools and setting for > each figure rather than depending on one tool and global settings for > every image in a document. > > Thank you very much. It works. I created pdf by GSVIEW with GhostScript 8.15 (unlike Yap, it allows to choose GhostScript version), and converted it to ps using pdf2ps from MIkTeX 2.5. |