I use a style file that specifies page margins. I cannot understand the style file, but I guess it specifies bottom margins by using commands such as \vspace, \vskip, \vfil.
When I compile the tex document with pdflatex the margins, especially the bottom ones, change. When I compile the document first to ps then to pdf, the margins are good.
Do you have any idea, what the reason might be?
The contents of the style file can be accessed from http://tinypaste.com/c53d1
Probably because something is defaulting to a page size of ‘Letter’ and the other path is defaulting to a page size of ‘A4’ (or vice-versa). You might see if the
\documentclassdirective in your document allows you to specify page size. If you’re using ps2pdf you may also have to specify the output page size. Also, don’t forget to specify the destination device (-PIIRC) when using dvips so it renders computer modern fonts correctly in the PDF.