Thread View: comp.lang.postscript
2 messages
2 total messages
Started by B. Ravi Shankar
Thu, 05 Nov 1992 01:58
Converting ps files to eps (FAQ)
Author: B. Ravi Shankar
Date: Thu, 05 Nov 1992 01:58
Date: Thu, 05 Nov 1992 01:58
23 lines
1004 bytes
1004 bytes
Greetings, Sorry if this is an FAQ, but I'm at my wit's end with this problem. I have files in CGM format which I am able to convert into postscript. I need to make eps files out of either the cgm files or the postscript files so that I can include them into my latex sources files. The CGM/postscript files are basically figures/graphs etc. Could somebody suggest how I can do this and if not could you tell me where I might find the FAQ list of this newsgroup. Any other solution to convert CGM files to eps files would be very welcome. Thank you very much in advance Ravishankar Dept of Aerospace and Ocean Engg. VPI&SU Blacksburg, VA 24060
Re: Converting ps to eps
Author: Scott Cunningham
Date: Thu, 05 Nov 1992 05:04
Date: Thu, 05 Nov 1992 05:04
33 lines
1807 bytes
1807 bytes
In article <9136@vtserf.cc.vt.edu> ravi@vttcf.cc.vt.edu (B. Ravi Shankar)
writes:
"I have files in CGM format which I am able to convert into
"postscript. I need to make eps files out of either the
"cgm files or the postscript files so that I can include
"them into my latex sources files. The CGM/postscript files
"are basically figures/graphs etc.
"
"Could somebody suggest how I can do this and if not could you
"tell me where I might find the FAQ list of this newsgroup.
The answers you seek are in the 'Red Book' (aka 'PostScript Language
Reference Manual') You need to modify the header of your file to include the
EPS File header. Here is the example given in the book:
%!PS-Adobe-3.0 EPSF-3.0
%% BoundingBox: 5 5 105 105 <---This is the important line
10 setlinewidth
10 10 moveto
0 90 rlineto 90 0 rlineto 0 -90 rlineto closepath
stroke
The command setting the BoundingBox is probably missing from your code.
This sets the coordinates which surround your image.
--
________________________________________________________________________
Scott Cunningham \ We're the NSA \
Username: flagg \ So your the ones I hear on the other end of my phone \
\ No, that's the FBI \
-------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads