[texhax] \input command under Linux

Uwe Lueck uwe.lueck at web.de
Tue May 4 19:34:42 CEST 2010

Heiko Oberdiek <heiko.oberdiek at googlemail.com> wrote at 04.05.2010 15:56:07
>* It's easy to make a package (assuming you are working with LaTeX):

With plain TeX, package management can be established with ctan.org/pkg/miniltx, 
only ...

>\ProvidesPackage{AAMacros}[2010/05/04 Private macros]
>% contents of AAMacros follows
>  With the name `AAMacros.sty' then it can be loaded via

\RequirePackage{AAMacros} with miniltx

HTH -- Uwe.

>  Benefits:
>  * Version information
>  * Possibility to use options. For example, options
>    can be added for draft or print settings.
>  * Via \RequirePackage{AAMacros} the package can be used
>    in other classes or packages. LaTeX takes care that the
>    package is loaded once only.

More information about the texhax mailing list