FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-16-2007, 03:08 AM
Kamaraju Kusumanchi
 
Default problems with eps from grace

On Thu, 15 Nov 2007 16:48:23 -0200, Marcelo Chiapparini wrote:

> Hello,
>
> I am using etch and grace for plotting. With the version of grace in
> etch, I am having problems when I save my graphs in eps format. Other
> applications doesn't recognize this eps: Latex (texlive) and oo impress
> are two examples. This two programas does recognize eps files from other
> applications. Does anyone know about a fix or where can I find another
> version of grace?

What is the output of

file file_produced_from_grace.eps

Can you see your eps file using a eps viewer like gv without any problem?


hth
raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-16-2007, 11:52 AM
Marcelo Chiapparini
 
Default problems with eps from grace

On Fri, 2007-11-16 at 04:08 +0000, Kamaraju Kusumanchi wrote:
> On Thu, 15 Nov 2007 16:48:23 -0200, Marcelo Chiapparini wrote:
>
> > Hello,
> >
> > I am using etch and grace for plotting. With the version of grace in
> > etch, I am having problems when I save my graphs in eps format. Other
> > applications doesn't recognize this eps: Latex (texlive) and oo impress
> > are two examples. This two programas does recognize eps files from other
> > applications. Does anyone know about a fix or where can I find another
> > version of grace?
>
> What is the output of
>
> file file_produced_from_grace.eps
>
> Can you see your eps file using a eps viewer like gv without any problem?

Yes! I can see the eps file with gv, evince and acroread. But in Latex,
the epsfig package doesn't recognize the figure, and doesn't scale it.
And oo impress give the "unknown file format" message when I try to
include the file in a presentation. The problem is really annoying,
mostly with Latex, because I use Latex in work...

Thanks!

Marcelo






--
Marcelo Chiapparini
chiappa@oi.com.br


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-16-2007, 12:04 PM
Florian Kulzer
 
Default problems with eps from grace

On Fri, Nov 16, 2007 at 10:52:10 -0200, Marcelo Chiapparini wrote:
> On Fri, 2007-11-16 at 04:08 +0000, Kamaraju Kusumanchi wrote:
> > On Thu, 15 Nov 2007 16:48:23 -0200, Marcelo Chiapparini wrote:
> >
> > > Hello,
> > >
> > > I am using etch and grace for plotting. With the version of grace in
> > > etch, I am having problems when I save my graphs in eps format. Other
> > > applications doesn't recognize this eps: Latex (texlive) and oo impress
> > > are two examples. This two programas does recognize eps files from other
> > > applications. Does anyone know about a fix or where can I find another
> > > version of grace?
> >
> > What is the output of
> >
> > file file_produced_from_grace.eps
> >
> > Can you see your eps file using a eps viewer like gv without any problem?
>
> Yes! I can see the eps file with gv, evince and acroread. But in Latex,
> the epsfig package doesn't recognize the figure, and doesn't scale it.
> And oo impress give the "unknown file format" message when I try to
> include the file in a presentation. The problem is really annoying,
> mostly with Latex, because I use Latex in work...

If gv can display the problematic EPS file then maybe ghostscript can
"distil" it into something that is usable by latex and OOo:

eps2eps old.eps new.eps

Sometimes I find that the best result (i.e. smallest file size while
preserving high print quality) can be achieved by going to pdf and back:

pstopdf old.eps
pdftops -eps old.pdf new.eps

(Eps2eps is part of ghostscript itself; I use pstopdf from package "context" and
pdftops from "poppler-utils".)

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-16-2007, 05:18 PM
Jon Leonard
 
Default problems with eps from grace

On Fri, Nov 16, 2007 at 10:52:10AM -0200, Marcelo Chiapparini wrote:
> On Fri, 2007-11-16 at 04:08 +0000, Kamaraju Kusumanchi wrote:
> > On Thu, 15 Nov 2007 16:48:23 -0200, Marcelo Chiapparini wrote:
> >
> > > Hello,
> > >
> > > I am using etch and grace for plotting. With the version of grace in
> > > etch, I am having problems when I save my graphs in eps format. Other
> > > applications doesn't recognize this eps: Latex (texlive) and oo impress
> > > are two examples. This two programas does recognize eps files from other
> > > applications. Does anyone know about a fix or where can I find another
> > > version of grace?
> >
> > What is the output of
> >
> > file file_produced_from_grace.eps
> >
> > Can you see your eps file using a eps viewer like gv without any problem?
>
> Yes! I can see the eps file with gv, evince and acroread. But in Latex,
> the epsfig package doesn't recognize the figure, and doesn't scale it.
> And oo impress give the "unknown file format" message when I try to
> include the file in a presentation. The problem is really annoying,
> mostly with Latex, because I use Latex in work...

What do the first few lines of the .eps file look like? There should be
a few lines at the top that start with %, indicating what sort of
PostScript file it is.

A minimal set looks something like this:

%!PS-Adobe-3.0 ESPF-3.0
%%BoundingBox: 0 0 72 72

Based on the observed behavior it sounds like it's something else, which
is presumably due to a bug in grace.

The actual rules for what the headers can look like are complicated,
so it's probably best to just paste them verbatim.

Jon Leonard


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 11:34 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org