Postscript and MikTeX 2.5 [message #50949] |
Fri, 27 October 2006 08:49  |
Benjamin Hornberger
Messages: 258 Registered: March 2004
|
Senior Member |
|
|
Hi Postscript experts,
this is more about MikTeX and Postscript than IDL, but I'll ask anyway
... I just upgraded my MikTeX (LaTeX implementation for Windows) to
version 2.5 and I'm suddenly having trouble with IDL-generated EPS files.
If I include EPS files into a LaTeX document (created in IDL with direct
graphics or exported from iTools), the MikTeX-provided DVI viewer (Yap)
chokes on those. The new Yap (2.5) has two different render methods
(Dvips and Pk fonts). The latter doesn't display any EPS files at all,
the former displays some EPS files but crashes when it's supposed to
display the IDL-generated ones. Also, when creating a PDF from the DVI
with dvipdfm, those (IDL-generated) graphics are missing.
If I open those EPS files in Illustrator and re-save them, I can fix the
problem. For iTools-exported ones, and direct graphics with font=0, I
have to include the fonts into the file (in the Illustrator EPS save
dialog). For direct graphics with font = +/- 1, I don't have to include
the fonts, but still have to open and re-save with Illustrator.
If I do that, Yap can display the graphics when using the Dvips render
method. The Pk fonts method never displays any graphics.
All this has worked before with MikTeX 2.4 without problems. Not to
mention the fact that opening an IDL-created EPS file with Illustrator
and re-saving it increases the file size by a factor of 8 or so, for
reasons beyond my understanding.
Any clues? Does anybody know a magic ghostscript command which could
replace the tedious conversion in Illustrator?
Thanks,
Benjamin
|
|
|
Re: Postscript and MikTeX 2.5 [message #51122 is a reply to message #50949] |
Sat, 28 October 2006 13:52  |
Benjamin Hornberger
Messages: 258 Registered: March 2004
|
Senior Member |
|
|
Benjamin Hornberger wrote:
> Hi Postscript experts,
>
> this is more about MikTeX and Postscript than IDL, but I'll ask anyway
> ... I just upgraded my MikTeX (LaTeX implementation for Windows) to
> version 2.5 and I'm suddenly having trouble with IDL-generated EPS files.
>
> If I include EPS files into a LaTeX document (created in IDL with direct
> graphics or exported from iTools), the MikTeX-provided DVI viewer (Yap)
> chokes on those. The new Yap (2.5) has two different render methods
> (Dvips and Pk fonts). The latter doesn't display any EPS files at all,
> the former displays some EPS files but crashes when it's supposed to
> display the IDL-generated ones. Also, when creating a PDF from the DVI
> with dvipdfm, those (IDL-generated) graphics are missing.
>
> If I open those EPS files in Illustrator and re-save them, I can fix the
> problem. For iTools-exported ones, and direct graphics with font=0, I
> have to include the fonts into the file (in the Illustrator EPS save
> dialog). For direct graphics with font = +/- 1, I don't have to include
> the fonts, but still have to open and re-save with Illustrator.
>
> If I do that, Yap can display the graphics when using the Dvips render
> method. The Pk fonts method never displays any graphics.
>
> All this has worked before with MikTeX 2.4 without problems. Not to
> mention the fact that opening an IDL-created EPS file with Illustrator
> and re-saving it increases the file size by a factor of 8 or so, for
> reasons beyond my understanding.
>
> Any clues? Does anybody know a magic ghostscript command which could
> replace the tedious conversion in Illustrator?
>
> Thanks,
> Benjamin
As a follow-up for your information, the problem was solved by
reinstalling Ghostscript 8.54 at c:\gs, where MiKTeX tries to find it
(its fonts, to be precise). Thanks to George N. White III for his help
on the MiKTeX mailing list!
Benjamin
|
|
|