Wednesday, November 10, 2010

LaTeX on Windows Vista SP2: Usage

To test the implementation I used an old report written in LaTeX about 14 years ago while at the UW.

> cd /d "E:\XX\XXX_XX\Athena\gk_texed\gk_Report#1"

> latex Root.tex

LaTeX 01

So far so good. The file Root.dvi (dvi = device independent) was created successfully and it contains the 7 page report. The .dvi file must be converted to a .ps (postscript) file using the command dvips.

> dvips Root.dvi

Now there should be a file called Root.ps in the appropriate directory. The postscript file can be opened with GSView.

Latex 02

Nice!!

GSView can convert the file in PDF which would solve portability issues. The reality is that postscript is a somewhat esoteric format used by… select few!! To convert:

  • Click File and select Convert…
  • Select the device pdfwrite and click OK.
  • Enter a filename (e.g. test.pdf) in the Output Filename window and click ‘Save.’
  • Done!

No comments:

Post a Comment