David Kastrup | 13 Apr 09:20
Picon
Picon

Re: dvi output with tetex 3.0

Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:

> However, I proposed \input instead of \usepackage to allow inserting
> it at the very top of a file, i.e. before \documentclass.

That's a bad idea since it will not set the right catcodes for @ and
not record stuff properly and the option parsing does not work, and
you'll have \ProvidesPackage barf.

> \usepackage will issue the following error massage in this case:
>
>    ! LaTeX Error: \usepackage before \documentclass.

So use \RequirePackage instead.  That's for "internal use" and works
before \documentclass.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


Gmane