I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  ---------------------------------------------
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
    []
  There has now been an attempt to load it with options
    [dvips]
  Adding the global options:
    ,dvips
  to your \documentclass declaration may fix this...
  ---------------------------------------------

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout->Document or
the Edit->Preferences dialogs to set this particular option.

How can I put "\usepackage[dvips]{geometry}" in an article?

TIA,

Jim

Reply via email to