[comp.text] Can I find a program which converts PS->DVI ? If so, where? Thanks.

karim@ecsvax.UUCP (Omar A. Karim) (03/31/89)

I use Mathematica , which writes graphs in PostScript. I have a 
LaserJet+ printer where I can process and print DVI files from
TeX (really LaTeX). My (vain?) hope is that there exists a
program whereby I can translate the Mathematica PS output into DVI
and using Beebe's driver then put it out on the LaserJet+.
 
My thanks, once again,
 
Omar A. Karim

iwm@doc.ic.ac.uk (Ian Moor) (04/05/89)

In article <6751@ecsvax.UUCP> karim@ecsvax.UUCP (Omar A. Karim) writes:


>   I use Mathematica , which writes graphs in PostScript. I have a 
>   LaserJet+ printer where I can process and print DVI files from
>   TeX (really LaTeX). My (vain?) hope is that there exists a
>   program whereby I can translate the Mathematica PS output into DVI
>   and using Beebe's driver then put it out on the LaserJet+.

It would depend on what use Mathematica makes of the Postscript; Postscript is
a programming language (remember the PS program to calculate fibonacci numbers
on a LaserWriter?) but DVI is not. If the PS contains no more than font
definitions and pen movement etc then you probably could do it; its my guess
that Mathematica would produce simple-minded PS unless the authors like
stack-based languages... You might have to use a macroprocessor to expand
any local definitions at the top of the file.

--
Ian W Moor
  UUCP: uunet!mcvax!ukc!icdoc!iwm     
  ARPA: iwm@doc.ic.ac.uk
  JANET: iwm@uk.ac.ic.doc
           
 Department of Computing   We don't need no documentation,
 Imperial College.         We don't need no source control,
 180 Queensgate            No dark sarcasm in the boardroom,
 London SW7 UK.            Manager! leave those programmers alone!