Re: eps-files in MikTex 2.9

"Hans Block" <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <6CB244685EE242FC9BCC8F12D0C0C4F8@HansDator>
I am using Windows 7 Home Premium 64 bit, Service Pack 1.

I had the enclosed Excel file

poly.xls.

I printed the figure by a Post Script driver to the file:

figthree.eps.

Then I opened the file in GSview, chose PS to EPS, and removed white space 
outside the figure by changing the bounding box automatically, and saved the 
file as

figthreezeros.eps.

Although my new version of GSview did not recognize that, it was really 
done, as I saw when I opened the files in Photoshop, and when I used MikTex 
2.8.

Then I used the file:

mysterious_eps.tex

with the following contents:

\documentclass [12pt,twoside,a4paper,fleqn]  {article}

\usepackage {graphicx}
\usepackage {latexsym}
\usepackage {float}

\begin {document}
I try to typeset this page:

\begin {figure} [htb]
\centering
\includegraphics [width=\textwidth] {figthreezeros}
{\label {threezeros}
This polynomial has three zeros.
}
\end {figure}

\end {document}

When typeset by MikTex 2.8, using  XeLaTex, it gave the correct result as 
shown in the file:

mysterious eps_2.8.pdf.

When typeset by MikTex 2.9, again using  XeLaTex, the figure disappeared 
completly, as shown in

mysterious.eps_2.9.pdf.

If I forced the figure to by smaller by writing [width=.2\textwidth], the 
curve showed up again, byt very small and in the wrong place, as shown in 
the file

mysterious.eps_2.9_narrow.pdf.

It seems rather difficult do get these illustrations, but I have made many 
figures in this way for several years, and I am afraid that MikTex 2.8 might 
be unavailable to  my next computer.

Regards,

Hans Block


-----Ursprungligt meddelande----- 
From: Ulrike Fischer
Sent: Thursday, October 31, 2013 3:55 PM
To: [email protected]
Subject: Re: [MiKTeX] eps-files in MikTex 2.9

Am Thu, 31 Oct 2013 15:08:58 +0100 schrieb Hans Block:

> I have used eps-files many times extensively during many years.
> (They come from figures in Excel, printed to files by a driver
> for some Postscript printer.)



> By GSview, going from PS to EPS, a bounding box has been found
> which excludes white space outside the picture. With MikTex 2.8
> using the compiler XeLaTex, the bounded graphics was included and
> the pictures became correct after typesetting.


> Now I tested MikTex 2.9 with the same EPS-files. Now the size of
> the pictures was not recognized, but MikTex 2.9 seemed to believe
> that they had size A4.

>
> Now I ask:
> ·        Could I change parameters and get correct results in MikTex 2.9?
>
> ·        Does MikTex not accept EPS-files any longer?
>
> ·        Is this a bug in Miktex 2.9?

It impossible to answer your question without a minimal example and
one of the problematic eps-files.

But in my experience such problems are due in most cases to faulty
eps-files. ps to eps from ghostscript does not create in all cases
correct eps files:
http://pages.cs.wisc.edu/~ghost/gsview/gsviewen.htm#PS_to_EPS


-- 
Ulrike Fischer
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
MiKTeX-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/miktex-users

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk

_______________________________________________
MiKTeX-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/miktex-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.