[texhax] Package error

Donald Arseneau asnd at triumf.ca
Wed Feb 10 05:12:17 CET 2010

William Lee Valentine <vip at cnsp.com> writes:

> \usepackage[%            Bring in the package GEOMETRY.
> %
>    paper=letterpaper,%   All of our draft pages will be centered hereon.
>    twoside=true,%        Books are printed on both sides of the page.
>    portrait=true,%       Books are normally printed in portrait mode.
>    lines=true,%          Calculate text height as an integral # of lines
>    headsep=1ex]%         Separate running hdrs from the body by one line
>       {geometry}         Finally we specify the package itself.
> ! Missing number, treated as zero.
> <to be read again> 
>                    t
> l.818 \ProcessOptionsKV[p]{Gm}
>                               %
> ? e

The "lines" option should be the number of regular lines per
page.  Not "true" or any other word.

The error message is pretty useless!  If the term "lines" appeared anywhere 
there it might have helped clarify.

If you set \errorcontextlines=9999 you get the one useful piece
of context in the middle of an unintelligible (to the user) dump:

<argument> ...oside=true,portrait=true,lines=true,

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list