From: seeta@eng.wayne.edu (Seetamraju UdayaBhaskar Sarma)
Subject: Re: Pictures in LaTeX in the 90's
Reply-To: seeta@eng.wayne.edu
Organization: College of Engineering, Wayne State University, Detroit Michigan, USA
Date: Wed, 27 Jan 1993 01:52:32 GMT

spiff@math.wayne.edu (Jason Leigh) writes:
-+>	I haven't used LaTeX in a while now and I was wondering,
-+>what is the latest on getting diagrams into LaTeX?  I remember using
-+>figs before and converting them using fig2latex.  Is fig2latex still
-+>around ftp-able from somewhere?  Is including postscript files inside
-+>LaTeX documents now more reliable?  
-+>
-+>Any info would b e greatly appreciated.

My collections to such a question of mine (few months ago)...


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

you can pick up dvips from
labrea.stanford.edu, pub/dvips5495.tar.Z and pub/dvips5493lib.tar.Z.

at labrea.stanford.edu, in the pub directory.

the commands `ls -ltr' gives a listing according to date, you'll see
the most recent version at or near the end of the list.

I think it's called dvips5495.tar.Z
	cd /pub
	bin
	get dvips5495.tar.Z
	get dvipslib5490.tar.Z
	bye
_______________________________________________________________
You need dvipslib if you don't want to build the fonts yourself.
_______________________________________________________________



From lwilson%sparcplug.mcc.com@mcc.com Mon Nov  9 09:18:06 1992

Test dvi2ps on a simple file that does not include figures to
make sure you have everything you need.  In our dvi2ps directory,
we have the following files:

  basic.pro               dvi2ps_psfig.pro
  bb.ps                   mac.pro
  builtin.pro             psfig.pro
  dvi2ps.pro              psfonts.map

Linda Wilson
lwilson@mcc.com


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Several colleagues and I use "psfig/tex 1.9" with Rokicki's "dvips"
(now at 5.495 for both unix and DOS) for PS file inclusion, and we're
very satisfied.  They're free, easy to instal (firstly, we read the
instructions!), and don't require much memory, disk space, or speed.
I use them on a 286 with 640 K only, DOS 4.1 and a 20 MB HD (or a 40
MB removable disk) with about 1 MB free disk space.  Plenty of room.

See the attached comp.text.tex October 1992 FAQ, questions 2 and 3.

All the Best!
Geoffrey Tobin    ecsgrt@luxor.latrobe.edu.au

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

From kenbrn@ysidro.econ.uiuc.edu Mon Nov  9 01:59:17 1992
Ken Brown

The old versions of psfig do not work with dvi2ps.  Only the new version,
1.8, allows the use of dvi2ps and then only with an unsupported version
of the program called psfig-li.  You can obtain the program via anonymous
ftp from whitechapel.media.mit.edu and you CAN install it directly in
your home directory and call it from there in your TeX files.  The included
documentation is quite clear on how to use the program (actually a set of
TeX macros).  

I hope this helps.  If you have any questions, please write me.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I suggest you install (or have your systems administrators install)
dvips by Tomas Rokicki from labrea.stanford.edu instead.

For the followin reasons:

	Thins have happened since 1990 that dvips has taken into
	account (i.e. dvips produces more up-to-date PostScript)

	dvips is endorsed by Knuth and is becoming the 
	standard dvi driver for PostScript

	etc.

	And, I can help you if you use this package.

There exists a package for including PostScript files into TeX
that is customaizable according to which driver you use. If you
can't install dvips, I'll see if I can find it.


I posted a solution a couple of weeks ago.  The package I am using now
is DVIPS.  The error you got ("\special...") indicated that the
DVI-->PS package you are using now can not handle PS figures.  In
fact, even an older version of DVIPS, which is currently installed on
our computer, can not handle that either (I got the same error that
you got).  I am using the new (well, got it quite a while ago) DVIPS
on my PC; it works fine even though the package is intended for a Unix
machine.  Your sample document looks ok to me.  So, get the DVIPS!

Chuan Lee
U of Washington, Seattle.  (Sucks! the Dawgs lost to the 'Cats.)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


2) Where can I get a DVI to PostScript conversion program?

   Two very nice DVI to PostScript conversion programs that run
   under Unix are:
     dvips - by Tomas Rokicki. This driver is very nice and
       has the ability to deal with virtual fonts. Available 
       via anonymous ftp from labrea.stanford.edu (36.8.0.47) 
       in ./pub. Dvips ports easily to other operating systems.
       It is available for VMS via anonymous ftp from 
       ymir.claremont.edu (134.173.4.23) in [.tex.drivers.dvips_new] 
       and also through the DECUS library (see question 22). A
       precompiled version for MSDOS is available from 
       monu1.cc.monash.edu.au (130.194.1.101) in ./pub/dvips54.zip
       or from shape.mps.ohio-state.edu (128.146.7.200) in
       ./pub/msdos/dvips/dvips54.zip. If you wish to use postscript
       fonts, get dvipslib.zip as well. Documentation is available
       in dvips.ps.Z.
     dvitops - by James Clark. Available via anonymous ftp from
       ymir.claremont.edu (134.173.4.23) in [anonymous.tex.drivers.dvitops]. 
       Dvitops will compile under Unix, MSDOS, VMS, and Primos.

3) How can I include a PostScript figure in LaTeX?

   Perhaps the best way to do this is to use the psfig macros written
   by Trevor Darrell. They are available via anonymous ftp from
   whitechapel.media.mit.edu (18.85.0.125) in ./pub/psfig. You 
   will also need a dvi to PostScript conversion program that supports
   \specials. The ones mentioned in question 2 do, and the first two
   drivers come with a version of psfig ready to use with them. The psfig 
   macros work best with Encapsulated PostScript Files (EPS). In
   particular, psfig will need the file to have a BoundingBox (see
   Appendix C of the _PostScript Language Reference Manual_). If you 
   don't have an EPS file, life can be difficult. For people who don't
   have ftp access or can't deal with tar files, the files are also
   available from ymir.claremont.edu (134.173.4.23) in
   [anonymous.tex.graphics.psfig].

   One further note about including PostScript figures is that they
   are not part of the dvi file, but are included when you use a dvi
   to PostScript conversion program. As a result, most dvi previewers
   will simply show the blank space TeX has reserved for your figure,
   not the figure itself.

 
8) What is Fig and where can I get it?

   Fig is a menu driven tool similar to MacDraw that allows you to 
   draw objects on the screen of a Sun Workstation running SunView.
   TransFig is a set of tools which translate the code fig produces
   to other graphics languages including PostScript and the LaTeX
   picture environment. Both are available via anonymous ftp from
   ftp.cs.cornell.edu (128.84.218.75) in ./pub/fig. Both Fig and
   TransFig are also available from the Clarkson archive server at 
   sun.soe.clarkson.edu (see question 22). Both Fig and TransFig 
   are supported by Micah Beck (beck@cs.cornell.edu).

   XFig is essentially the same program except it runs under the
   X Window System. It is available via anonymous ftp from 
   export.lcs.mit.edu (18.24.0.12) in 
   ./contrib/R5fixes/xfig-patches/xfig-2.1.*.Z. It was written by 
   Brian Smith.



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Is dvi2ps the same as dvit[o]ps? You might consider psbox:
From: orloff@surya4.cern.ch (Jean Orloff)
Subject: PSBOX 1.31 release: universal figure-inclusion tools+ARCHIVE
Date: Fri, 4 Sep 1992 10:28:51 GMT


Here comes a new release of PSBOX. On top of previous utilities (
-universal postscript figure inclusion in Plain-, La- or AMS-TeX on
 virtually all machines able to print out PostScript;
-universal figure rescaling and offsetting
-figure annotation by TeX-formatted text
-framing of figures and other boxes
-figure environment for Plain-based macro-packages)
I have added ARCHIVE-like commands that allow for easier multiple file
management and e-mailing.

Get DM Jones' tex-index for help in finding macro packages.

-- 
--Darrel Hankerson hank@ducvax.auburn.edu


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

			Framemaker to LaTeX ps-file inclusion

Subject: Solution: FrameMaker graphics --> LaTeX figures

Hi everyone,

Here is the SOLUTION to put a FrameMaker graphics into a LaTeX doc
as figures.

1) Print the FrameMaker file or page to a PostScript file (e.g. fig.ps).
2) Follow the sample below.  Actually there is nothing new except adding
   the 'psfig' at the \documentstyle command.
3) latex sample.tex, which gives sample.dvi.
3) do 'dvips sample.dvi', which gives sample.ps.
4) That's it!  Print sample.ps.

- sample.tex --------------------------------------------------------

\documentstyle[psfig]{article}
% notice ------^^^^^
\begin{document}
	.
	.

\begin{figure}
\vspace{-1.0in}	%might need to play with this a little bit
\psfig{figure=fig.ps}
\caption[...]{...}
\label{...}
\end{figure}
	.
	.

\end{document}

---------------------------------------------------------------------

Of course in order to make this work, you need the PSFIG package,
which is available at many anonymous ftp sites.  The package is
intended for Unix because its sample file uses file names like
loooooog.names and figure.ps.Z (compressed).  I use it on my PC
anyway as long as I don't use compressed files.  I do have a
Unix-compatible 'un/compress' but it uses file name like
figure.ps <--> figure.psZ.  It is easy to fix the PSFIG to 
accommodate 'psZ' extension as well.  But I just didn't bother
to use compressed files.

I uses DVIPS package to convert DVI format to PS format, which then
can be reviewed using the GhostScript (GS) package.  Since I don't
have a printer at home, I copied the 'sample.ps' from PC to a Unix
machine and printed it from there.  It worked great.

ftp sites for the packages I mentioned above:

(IP address name unknown)	18.85.0.125	PSFIG*.tar.Z
shape.mps.ohio-state.edu	128.146.7.200	DVIPS*.zip, DVIPSLIB*.zip
wsmr-simtel20.army.mil		192.88.110.20	emTeX (LaTeX for DOS),
						gs*.zip (GhostScript)

Chuan Lee


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

			Precompiled DVIPS (dvips) for DOS & UNIX

>Do U know of a place, where dvips is already compiled either for UNIX or PC-DOS ?

For Unix:
Host athene.uni-paderborn.de
  Location: /pcsoft/msdos/emtex30/drivers/dvips/*
  Location: /unix/tex-utils/dvips5487.tar.Z (606669 bytes)
Host ftp.uu.net
  Location: /pub/text-processing/TeX/misc/dvi/dvips5487.tar.Z (427285 bytes)
                                              dvips5487lib.tar.Z (154964 bytes)
For DOS:
Host OAK.oakland.edu (141.210.10.117)
  Location: /pub/msdos/postscript/
dvips386.zip  B  174932  921028  Convert a TeX DVI file to PostScript on 386
dvips549.zip  B  538179  921014  Convert a TeX DVI file to PostScript, v5.495
dvipslib.zip  B  197587  921014  Resident fonts for use with DVIPS v5.495

Two other sites:
labrea.stanford.edu		36.8.0.47	DVIPS
shape.mps.ohio-state.edu	128.146.7.200	DVIPS, DVIPSLIB

I think I got mine (dvips386.zip and dvipslib.zip) from OAK.  The executable
dvips386.exe was already built.

And I think, again, I got the Unix version from ohio-state.  However,
the system admin. in my school lab is so busy and I don't want to bother
him by asking him to install it on the Unix.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++