Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
TeXing

4. TeXing

TeX and LaTeX are identical to their VMS counterparts---only quicker :-), but the tools to handle the .dvi and .ps files are superior:

  • to run a TeX file through TeX, do as usual: tex file.tex;

  • to turn a .dvi file into a .ps file, type dvips -o filename.ps filename.dvi;

  • to visualize a .dvi file, type within an X session: xdvi filename.dvi &. Click on the page to magnify. This program is smart: if you edit and run TeX producing newer versions of the .dvi file, xdvi will update it automatically;

  • to visualize a .ps file, type within an X session: ghostview filename.ps &. Click on the page to magnify. The whole document or selected pages can be printed. A newer and better program is gv.

  • to print the .ps: usually the command lpr mypaper.ps will do, but if the PostScript printer is called, say, `ps' (ask your sysadm) you'll do: lpr -Pps mypaper.ps. For more information about print queues, go to Section Section 8.4.