rssunt.gif (12308 bytes)


Question:

How to convert a LaTex file into other formats?

Answer:

LaTex files are commonly used among scientists who need to put in equations, formulas and graphics in the documents.  These files usually come with an extension .tex.    To convert this into other formats, some UNIX utilities are available to perform such conversion.

1.  Upload the files to sol (UNIX) and put them in the scratch area (/scratch/usernamedir/).

2. Type:

latex

Note that UNIX is case-sensitive.

3. At the following prompt:

sol /scratch/kho % latex
This is TeX, Version 3.14159 (C version 6.1)
**

type in the input file name.

4. The UNIX program will turn the LaTex file into several files, one of which with .dvi extension.

5. For postscript conversion, use the dvips program under   /usr/local/teTeX/bin/sparc-solaris2.5/  e.g.

/usr/local/teTeX/bin/sparc-solaris2.5/dvips filename.dvi

6. A file with the same filename and a .ps will be created.

 

For other programs that perform similar conversion, check the following links:

TeX Users Group Home Page

Comparison aps - magicfilter - tops

tops convert anything to PostScript

For a program to view or print out the postscript files, Ghostview is recommended.

Last updated: 01/18/06 by Karl Ho