home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15541 < prev    next >
Encoding:
Text File  |  1993-01-28  |  11.9 KB  |  315 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!emory!sol.ctr.columbia.edu!destroyer!wsu-cs!nova!seeta
  3. From: seeta@eng.wayne.edu (Seetamraju UdayaBhaskar Sarma)
  4. Subject: Re: Pictures in LaTeX in the 90's
  5. Message-ID: <1993Jan27.015232.18834@cs.wayne.edu>
  6. Sender: usenet@cs.wayne.edu (Usenet News)
  7. Reply-To: seeta@eng.wayne.edu
  8. Organization: College of Engineering, Wayne State University, Detroit Michigan, USA
  9. References: <1993Jan26.215454.12499@cs.wayne.edu>
  10. Date: Wed, 27 Jan 1993 01:52:32 GMT
  11. Lines: 302
  12.  
  13. spiff@math.wayne.edu (Jason Leigh) writes:
  14. -+>    I haven't used LaTeX in a while now and I was wondering,
  15. -+>what is the latest on getting diagrams into LaTeX?  I remember using
  16. -+>figs before and converting them using fig2latex.  Is fig2latex still
  17. -+>around ftp-able from somewhere?  Is including postscript files inside
  18. -+>LaTeX documents now more reliable?  
  19. -+>
  20. -+>Any info would b e greatly appreciated.
  21.  
  22. My collections to such a question of mine (few months ago)...
  23.  
  24.  
  25. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  26.  
  27. you can pick up dvips from
  28. labrea.stanford.edu, pub/dvips5495.tar.Z and pub/dvips5493lib.tar.Z.
  29.  
  30. at labrea.stanford.edu, in the pub directory.
  31.  
  32. the commands `ls -ltr' gives a listing according to date, you'll see
  33. the most recent version at or near the end of the list.
  34.  
  35. I think it's called dvips5495.tar.Z
  36.     cd /pub
  37.     bin
  38.     get dvips5495.tar.Z
  39.     get dvipslib5490.tar.Z
  40.     bye
  41. _______________________________________________________________
  42. You need dvipslib if you don't want to build the fonts yourself.
  43. _______________________________________________________________
  44.  
  45.  
  46.  
  47. From lwilson%sparcplug.mcc.com@mcc.com Mon Nov  9 09:18:06 1992
  48.  
  49. Test dvi2ps on a simple file that does not include figures to
  50. make sure you have everything you need.  In our dvi2ps directory,
  51. we have the following files:
  52.  
  53.   basic.pro               dvi2ps_psfig.pro
  54.   bb.ps                   mac.pro
  55.   builtin.pro             psfig.pro
  56.   dvi2ps.pro              psfonts.map
  57.  
  58. Linda Wilson
  59. lwilson@mcc.com
  60.  
  61.  
  62. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  63.  
  64. Several colleagues and I use "psfig/tex 1.9" with Rokicki's "dvips"
  65. (now at 5.495 for both unix and DOS) for PS file inclusion, and we're
  66. very satisfied.  They're free, easy to instal (firstly, we read the
  67. instructions!), and don't require much memory, disk space, or speed.
  68. I use them on a 286 with 640 K only, DOS 4.1 and a 20 MB HD (or a 40
  69. MB removable disk) with about 1 MB free disk space.  Plenty of room.
  70.  
  71. See the attached comp.text.tex October 1992 FAQ, questions 2 and 3.
  72.  
  73. All the Best!
  74. Geoffrey Tobin    ecsgrt@luxor.latrobe.edu.au
  75.  
  76. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  77.  
  78. From kenbrn@ysidro.econ.uiuc.edu Mon Nov  9 01:59:17 1992
  79. Ken Brown
  80.  
  81. The old versions of psfig do not work with dvi2ps.  Only the new version,
  82. 1.8, allows the use of dvi2ps and then only with an unsupported version
  83. of the program called psfig-li.  You can obtain the program via anonymous
  84. ftp from whitechapel.media.mit.edu and you CAN install it directly in
  85. your home directory and call it from there in your TeX files.  The included
  86. documentation is quite clear on how to use the program (actually a set of
  87. TeX macros).  
  88.  
  89. I hope this helps.  If you have any questions, please write me.
  90.  
  91. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  92. I suggest you install (or have your systems administrators install)
  93. dvips by Tomas Rokicki from labrea.stanford.edu instead.
  94.  
  95. For the followin reasons:
  96.  
  97.     Thins have happened since 1990 that dvips has taken into
  98.     account (i.e. dvips produces more up-to-date PostScript)
  99.  
  100.     dvips is endorsed by Knuth and is becoming the 
  101.     standard dvi driver for PostScript
  102.  
  103.     etc.
  104.  
  105.     And, I can help you if you use this package.
  106.  
  107. There exists a package for including PostScript files into TeX
  108. that is customaizable according to which driver you use. If you
  109. can't install dvips, I'll see if I can find it.
  110.  
  111.  
  112. I posted a solution a couple of weeks ago.  The package I am using now
  113. is DVIPS.  The error you got ("\special...") indicated that the
  114. DVI-->PS package you are using now can not handle PS figures.  In
  115. fact, even an older version of DVIPS, which is currently installed on
  116. our computer, can not handle that either (I got the same error that
  117. you got).  I am using the new (well, got it quite a while ago) DVIPS
  118. on my PC; it works fine even though the package is intended for a Unix
  119. machine.  Your sample document looks ok to me.  So, get the DVIPS!
  120.  
  121. Chuan Lee
  122. U of Washington, Seattle.  (Sucks! the Dawgs lost to the 'Cats.)
  123.  
  124. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  125.  
  126.  
  127. 2) Where can I get a DVI to PostScript conversion program?
  128.  
  129.    Two very nice DVI to PostScript conversion programs that run
  130.    under Unix are:
  131.      dvips - by Tomas Rokicki. This driver is very nice and
  132.        has the ability to deal with virtual fonts. Available 
  133.        via anonymous ftp from labrea.stanford.edu (36.8.0.47) 
  134.        in ./pub. Dvips ports easily to other operating systems.
  135.        It is available for VMS via anonymous ftp from 
  136.        ymir.claremont.edu (134.173.4.23) in [.tex.drivers.dvips_new] 
  137.        and also through the DECUS library (see question 22). A
  138.        precompiled version for MSDOS is available from 
  139.        monu1.cc.monash.edu.au (130.194.1.101) in ./pub/dvips54.zip
  140.        or from shape.mps.ohio-state.edu (128.146.7.200) in
  141.        ./pub/msdos/dvips/dvips54.zip. If you wish to use postscript
  142.        fonts, get dvipslib.zip as well. Documentation is available
  143.        in dvips.ps.Z.
  144.      dvitops - by James Clark. Available via anonymous ftp from
  145.        ymir.claremont.edu (134.173.4.23) in [anonymous.tex.drivers.dvitops]. 
  146.        Dvitops will compile under Unix, MSDOS, VMS, and Primos.
  147.  
  148. 3) How can I include a PostScript figure in LaTeX?
  149.  
  150.    Perhaps the best way to do this is to use the psfig macros written
  151.    by Trevor Darrell. They are available via anonymous ftp from
  152.    whitechapel.media.mit.edu (18.85.0.125) in ./pub/psfig. You 
  153.    will also need a dvi to PostScript conversion program that supports
  154.    \specials. The ones mentioned in question 2 do, and the first two
  155.    drivers come with a version of psfig ready to use with them. The psfig 
  156.    macros work best with Encapsulated PostScript Files (EPS). In
  157.    particular, psfig will need the file to have a BoundingBox (see
  158.    Appendix C of the _PostScript Language Reference Manual_). If you 
  159.    don't have an EPS file, life can be difficult. For people who don't
  160.    have ftp access or can't deal with tar files, the files are also
  161.    available from ymir.claremont.edu (134.173.4.23) in
  162.    [anonymous.tex.graphics.psfig].
  163.  
  164.    One further note about including PostScript figures is that they
  165.    are not part of the dvi file, but are included when you use a dvi
  166.    to PostScript conversion program. As a result, most dvi previewers
  167.    will simply show the blank space TeX has reserved for your figure,
  168.    not the figure itself.
  169.  
  170.  
  171. 8) What is Fig and where can I get it?
  172.  
  173.    Fig is a menu driven tool similar to MacDraw that allows you to 
  174.    draw objects on the screen of a Sun Workstation running SunView.
  175.    TransFig is a set of tools which translate the code fig produces
  176.    to other graphics languages including PostScript and the LaTeX
  177.    picture environment. Both are available via anonymous ftp from
  178.    ftp.cs.cornell.edu (128.84.218.75) in ./pub/fig. Both Fig and
  179.    TransFig are also available from the Clarkson archive server at 
  180.    sun.soe.clarkson.edu (see question 22). Both Fig and TransFig 
  181.    are supported by Micah Beck (beck@cs.cornell.edu).
  182.  
  183.    XFig is essentially the same program except it runs under the
  184.    X Window System. It is available via anonymous ftp from 
  185.    export.lcs.mit.edu (18.24.0.12) in 
  186.    ./contrib/R5fixes/xfig-patches/xfig-2.1.*.Z. It was written by 
  187.    Brian Smith.
  188.  
  189.  
  190.  
  191. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  192.  
  193.  
  194. Is dvi2ps the same as dvit[o]ps? You might consider psbox:
  195. From: orloff@surya4.cern.ch (Jean Orloff)
  196. Subject: PSBOX 1.31 release: universal figure-inclusion tools+ARCHIVE
  197. Date: Fri, 4 Sep 1992 10:28:51 GMT
  198.  
  199.  
  200. Here comes a new release of PSBOX. On top of previous utilities (
  201. -universal postscript figure inclusion in Plain-, La- or AMS-TeX on
  202.  virtually all machines able to print out PostScript;
  203. -universal figure rescaling and offsetting
  204. -figure annotation by TeX-formatted text
  205. -framing of figures and other boxes
  206. -figure environment for Plain-based macro-packages)
  207. I have added ARCHIVE-like commands that allow for easier multiple file
  208. management and e-mailing.
  209.  
  210. Get DM Jones' tex-index for help in finding macro packages.
  211.  
  212. -- 
  213. --Darrel Hankerson hank@ducvax.auburn.edu
  214.  
  215.  
  216. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  217.  
  218.             Framemaker to LaTeX ps-file inclusion
  219.  
  220. Subject: Solution: FrameMaker graphics --> LaTeX figures
  221.  
  222. Hi everyone,
  223.  
  224. Here is the SOLUTION to put a FrameMaker graphics into a LaTeX doc
  225. as figures.
  226.  
  227. 1) Print the FrameMaker file or page to a PostScript file (e.g. fig.ps).
  228. 2) Follow the sample below.  Actually there is nothing new except adding
  229.    the 'psfig' at the \documentstyle command.
  230. 3) latex sample.tex, which gives sample.dvi.
  231. 3) do 'dvips sample.dvi', which gives sample.ps.
  232. 4) That's it!  Print sample.ps.
  233.  
  234. - sample.tex --------------------------------------------------------
  235.  
  236. \documentstyle[psfig]{article}
  237. % notice ------^^^^^
  238. \begin{document}
  239.     .
  240.     .
  241.  
  242. \begin{figure}
  243. \vspace{-1.0in}    %might need to play with this a little bit
  244. \psfig{figure=fig.ps}
  245. \caption[...]{...}
  246. \label{...}
  247. \end{figure}
  248.     .
  249.     .
  250.  
  251. \end{document}
  252.  
  253. ---------------------------------------------------------------------
  254.  
  255. Of course in order to make this work, you need the PSFIG package,
  256. which is available at many anonymous ftp sites.  The package is
  257. intended for Unix because its sample file uses file names like
  258. loooooog.names and figure.ps.Z (compressed).  I use it on my PC
  259. anyway as long as I don't use compressed files.  I do have a
  260. Unix-compatible 'un/compress' but it uses file name like
  261. figure.ps <--> figure.psZ.  It is easy to fix the PSFIG to 
  262. accommodate 'psZ' extension as well.  But I just didn't bother
  263. to use compressed files.
  264.  
  265. I uses DVIPS package to convert DVI format to PS format, which then
  266. can be reviewed using the GhostScript (GS) package.  Since I don't
  267. have a printer at home, I copied the 'sample.ps' from PC to a Unix
  268. machine and printed it from there.  It worked great.
  269.  
  270. ftp sites for the packages I mentioned above:
  271.  
  272. (IP address name unknown)    18.85.0.125    PSFIG*.tar.Z
  273. shape.mps.ohio-state.edu    128.146.7.200    DVIPS*.zip, DVIPSLIB*.zip
  274. wsmr-simtel20.army.mil        192.88.110.20    emTeX (LaTeX for DOS),
  275.                         gs*.zip (GhostScript)
  276.  
  277. Chuan Lee
  278.  
  279.  
  280. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  281.  
  282.             Precompiled DVIPS (dvips) for DOS & UNIX
  283.  
  284. >Do U know of a place, where dvips is already compiled either for UNIX or PC-DOS ?
  285.  
  286. For Unix:
  287. Host athene.uni-paderborn.de
  288.   Location: /pcsoft/msdos/emtex30/drivers/dvips/*
  289.   Location: /unix/tex-utils/dvips5487.tar.Z (606669 bytes)
  290. Host ftp.uu.net
  291.   Location: /pub/text-processing/TeX/misc/dvi/dvips5487.tar.Z (427285 bytes)
  292.                                               dvips5487lib.tar.Z (154964 bytes)
  293. For DOS:
  294. Host OAK.oakland.edu (141.210.10.117)
  295.   Location: /pub/msdos/postscript/
  296. dvips386.zip  B  174932  921028  Convert a TeX DVI file to PostScript on 386
  297. dvips549.zip  B  538179  921014  Convert a TeX DVI file to PostScript, v5.495
  298. dvipslib.zip  B  197587  921014  Resident fonts for use with DVIPS v5.495
  299.  
  300. Two other sites:
  301. labrea.stanford.edu        36.8.0.47    DVIPS
  302. shape.mps.ohio-state.edu    128.146.7.200    DVIPS, DVIPSLIB
  303.  
  304. I think I got mine (dvips386.zip and dvipslib.zip) from OAK.  The executable
  305. dvips386.exe was already built.
  306.  
  307. And I think, again, I got the Unix version from ohio-state.  However,
  308. the system admin. in my school lab is so busy and I don't want to bother
  309. him by asking him to install it on the Unix.
  310.  
  311.  
  312. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  313.  
  314.  
  315.