[Tex/LaTex] Paper size incorrect when using latex instead of pdflatex

geometrypaper-size

Somewhat opposite to other problems I found, my document size is correct when compiling with pdflatex but is not right when compiling with latex.

I'm using a custom documentclass for a conference but I don't think that is the problem. The document template provided is defining the paper size precisely with the {geometry} package.

This is my preamble:

\documentclass[runningheads]{llncs}
\usepackage{graphicx}
\usepackage{amsmath,amssymb} % define this before the line numbering.
\usepackage{ruler}
\usepackage{color}
\usepackage[width=122mm,left=12mm,paperwidth=146mm,height=193mm,top=12mm,paperheight=217mm]
{geometry}

When I compile it with pdflatex, I get the correct document (much smaller than A4). However, I would like to compile it with latex (and then do dvi->ps, ps->pdf conversion) in order to be albe to use .eps images.

But, when compiling with latex I get a smaller page embedded in an A4 with big lower and right margins. Could anybody please suggest a solution?

Best Answer

Too long for a comment.

With the files you have provided I get:

  • pdflatex: 413.858bp = 5.748in = 146mm × 615.118bp = 8.5433in = 217mm
  • latex/dvips/ps2pdf: 413.86bp x 615.12bp

The only difference I see is the rounding of two decimal digits instead of three that pdflatex has used.

As expected the pages are neither in A4 or letter size, because you have specified:

\usepackage[width=122mm,left=12mm,paperwidth=146mm,height=193mm,top=12mm,paperheight=217mm] {geometry}

The result, checked with pdfinfo is indeed 146mm × 217mm. Thus package geometry has done its job.

BTW, is eccv2014kit an ancient file, its producer entry:

Producer:       GNU Ghostscript 6.51

I found a release date for 6.60: 2000-12-31
The current version is 9.10!

Is the TeX distribution has the same age, then update, then it should work, if the correct option settings are given to geometry, and the question can be closed as "off topic because of old software".

Related Question