Making PDFs

PSU Thesis Links

Grads Links

Validation

Valid HTML 4.01 Strict

Valid CSS

NOTE: I work on a linux computer, so I know these techniques work for the department's linux computers. I tried compiling on a unix computer and the following works for me, but since I don't work on them regularly, I can't guarantee these directions will always work on the department's unix computers.

On a department linux computer

  1. Run LaTeX to get a dvi file
  2. Run dvips as follows:
    • dvips -t letter -Ppdf thesis.dvi -o
  3. To get the final PDF, run: ps2pdf

Reasoning:

Linux's default paper size is A4, not letter. The -t letter option tells dvips to use letter paper (8.5x11 inches) rather than A4 for your document (if you don't use this, then the top and bottom margins will be really wacky when you try to print it: the top margin will be basically non-existent and the bottom margin will be gigantic).

The -Ppdf option tells dvips to include the pdf fonts (if you don't include this then you'll get a pdf file that prints out fine, but is really nasty looking, grainy, and barely readable when you display it on a computer screen).

Be sure to make the pdf using these steps, if you try to bi-pass by using dvipdf then there is no way to specify these two options, so you'll get a really wacky-margined, ugly-looking pdf file.

Examples:

One Final Note: I noticed that the font problems are *much* less noticeable when viewed on later versions of Acrobat Reader (namely v6.0 and later, which I have on my home computer), they are still there but your really have to look for them. For example, in v6.0 zoom into something like 600% magnification and the "bad fonts" look all jagged, where as the "good fonts" look nice and smooth - this effect is *MUCH* worse on older Acrobat versions, like v5.0 which we have on the department computers. So, it is probably worth taking the time to make sure you get the nice fonts, especially if you are planning to submit an eTD.

On a department unix computer

  1. Run LaTeX to get a dvi file
  2. Run dvips or dvipdf (no special options required)
  3. If you ran dvips, then to get the final PDF, run: ps2pdf on your postscript file

Reasoning:

As far as I can tell the final pdf produced by either dvipdf or dvips/ps2pdf look and are formated just fine. (But remember, I don't normally work on a unix machine, so there could be something I'm missing.)

LaTeX on a PC

Yes, you can write LaTeX on a PC (in fact I've been doing most of my thesis writing on my PC laptop). My advice if you want to run latex on a PC is to look into the following programs (which are the ones I use):

If you should choose to install these programs, then you'll have to remember to also install the class, style, and bibliography style files you routinely use (you can place them in the MiKTeX directory with default classes and rehash TeX so you can always access them, regardless of the current working directory -- this goes for the psuthesis.cls too).

The CTAN (Comprehensive TeX Archive Network) is a great place to download LaTeX class and style files.

Also, AASTeX class and styles (don't forget apj.bst!).

Caveat for WinEdt and MiKTeX:

The default paper size for the dvipdf converter is A4! There are two options you can take in WinEdt/MiKTeX to make a letter-sized pdf with normal margins:

And that should should be it to change the default paper size to letter when you run dvipdf.

These files were assembled in Fall 2005 by M. Stark (original files written by Stephen G. Simpson, Math Dept., and are available to download from http://cac.psu.edu/etd/howto/tex/index.html). Some of the files in this tared version were modified from the original versions specifically for Astronomy Dept. use, and others were modified to include new Thesis Office requirements (i.e., inclusion of a "Committee Page" in the eTD in place of a "Signature Page", but keeping the "Signature Page" around to be printed, signed, and turned into the Thesis Office to keep on record).